iSeries Remote Systems
v6.0.1

com.ibm.etools.iseries.editor.language.model
Class DdsModelLpexAdapter.ParseDdsModelJob

java.lang.Object
  extended byorg.eclipse.core.runtime.PlatformObject
      extended byorg.eclipse.core.internal.jobs.InternalJob
          extended byorg.eclipse.core.runtime.jobs.Job
              extended bycom.ibm.etools.iseries.editor.language.model.DdsModelLpexAdapter.DdsJob
                  extended bycom.ibm.etools.iseries.editor.language.model.DdsModelLpexAdapter.ParseDdsModelJob
All Implemented Interfaces:
Comparable, IAdaptable
Enclosing class:
DdsModelLpexAdapter

public class DdsModelLpexAdapter.ParseDdsModelJob
extends com.ibm.etools.iseries.editor.language.model.DdsModelLpexAdapter.DdsJob

Asynchronously reparse the DDS file and refresh the outline view This job belongs to the family of jobs that parse the DDS model for this editor.


Field Summary
static int SEQUENCE_RANGE_UNINITIALIZED
           
 
Fields inherited from class org.eclipse.core.runtime.jobs.Job
ASYNC_FINISH, BUILD, DECORATE, INTERACTIVE, LONG, NONE, RUNNING, SHORT, SLEEPING, WAITING
 
Constructor Summary
DdsModelLpexAdapter.ParseDdsModelJob(int rangeBottom, int rangeTop)
           
 
Method Summary
 boolean belongsTo(Object family)
           
 boolean hasStarted()
           
 IStatus run(IProgressMonitor monitor)
          Actually do the parsing and the fix up the range of elements whose sequence numbers may no longer be in order
protected  void setHasStarted()
          Keep track of whether this job has started to run
 String toString()
           
 
Methods inherited from class org.eclipse.core.runtime.jobs.Job
addJobChangeListener, cancel, done, getName, getPriority, getProperty, getResult, getRule, getState, getThread, isBlocking, isSystem, isUser, join, removeJobChangeListener, schedule, schedule, setName, setPriority, setProgressGroup, setProperty, setRule, setSystem, setThread, setUser, shouldRun, shouldSchedule, sleep, wakeUp, wakeUp
 
Methods inherited from class org.eclipse.core.internal.jobs.InternalJob
compareTo
 
Methods inherited from class org.eclipse.core.runtime.PlatformObject
getAdapter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Field Detail

SEQUENCE_RANGE_UNINITIALIZED

public static final int SEQUENCE_RANGE_UNINITIALIZED
See Also:
Constant Field Values
Constructor Detail

DdsModelLpexAdapter.ParseDdsModelJob

public DdsModelLpexAdapter.ParseDdsModelJob(int rangeBottom,
                                            int rangeTop)
Parameters:
rangeBottom - - bottom of range of elements whose sequence numbers may need fixing
rangeTop - - top of range of elements whose sequence numbers may need fixing
Method Detail

toString

public String toString()

run

public IStatus run(IProgressMonitor monitor)
Actually do the parsing and the fix up the range of elements whose sequence numbers may no longer be in order


belongsTo

public boolean belongsTo(Object family)

hasStarted

public boolean hasStarted()

setHasStarted

protected void setHasStarted()
Keep track of whether this job has started to run


iSeries Remote Systems
v6.0.1

Copyright © 2005 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.