|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.refractions.udig.catalog.ui.workflow.Workflow.State
net.refractions.udig.catalog.ui.workflow.DataSourceSelectionState
public class DataSourceSelectionState
First state in the data import worklow. This state chooses a data source based on the context of the workflow.
Constructor Summary | |
---|---|
DataSourceSelectionState(boolean validateServices)
Create new Instance |
Method Summary | |
---|---|
UDIGConnectionFactoryDescriptor |
getDescriptor()
|
java.lang.String |
getName()
|
boolean |
hasNext()
Determines if the state can dynamically create a new state to be the next active state of the workflow. |
void |
init(IProgressMonitor monitor)
Initialize the state. |
Workflow.State |
next()
The final method in the lifecycle of the state. |
boolean |
run(IProgressMonitor monitor)
Performs any "hard" work. |
void |
setDescriptor(UDIGConnectionFactoryDescriptor descriptor)
|
Methods inherited from class net.refractions.udig.catalog.ui.workflow.Workflow.State |
---|
getPreviousState, getWorkflow, setPrevious, setWorkflow |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DataSourceSelectionState(boolean validateServices)
validateServices
- indicates whether the service should be probed for its members and metadata.Method Detail |
---|
public void init(IProgressMonitor monitor) throws java.io.IOException
Workflow.State
init
in class Workflow.State
java.io.IOException
public boolean run(IProgressMonitor monitor) throws java.io.IOException
Workflow.State
run
in class Workflow.State
monitor
- A progress monitor.
java.io.IOException
public boolean hasNext()
Workflow.State
next() != null
. However some
implemtnations require that next() be called only once, as it is a
lifecycle event.
hasNext
in class Workflow.State
public Workflow.State next()
Workflow.State
next
in class Workflow.State
public UDIGConnectionFactoryDescriptor getDescriptor()
public void setDescriptor(UDIGConnectionFactoryDescriptor descriptor)
public java.lang.String getName()
getName
in class Workflow.State
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |