jas2.jds.module
Interface LocalJobBuilder
-
public interface LocalJobBuilderThe application will provide a LocalJobBuilder to all LocalDIMs. Those DIMs must use the LocalJobBuilder to create a new local job.- See Also:
LocalDIM
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description voidclearProgressModel()voidcreateJob(java.lang.String dataSourceName)Tells the Job Builder to create a job, which it does by calling the DIM's openDataSet method with the specifieddataSourceName.voidsetEventSource(hepjas.analysis.EventSource source)Allows a LocalDIM to delay setting the EventSource in the case that opening the EventSouce may take a long time.voidsetMessage(java.lang.String message)Puts a message in the message window (e.g.voidsetProgressModel(javax.swing.BoundedRangeModel model)Enables the event source to take control of the progress meter, so the user can be given feedback on what is going on.
-
-
-
Method Detail
-
createJob
void createJob(java.lang.String dataSourceName)
Tells the Job Builder to create a job, which it does by calling the DIM's openDataSet method with the specifieddataSourceName.- See Also:
AbstractDIM.openDataSet(String)
-
setMessage
void setMessage(java.lang.String message)
Puts a message in the message window (e.g. "loading data...")
-
setProgressModel
void setProgressModel(javax.swing.BoundedRangeModel model)
Enables the event source to take control of the progress meter, so the user can be given feedback on what is going on.
-
clearProgressModel
void clearProgressModel()
-
setEventSource
void setEventSource(hepjas.analysis.EventSource source)
Allows a LocalDIM to delay setting the EventSource in the case that opening the EventSouce may take a long time. In this case the LocalDIM may return null from its openDataSet method, and instead call this method later when the EventSource is ready.- Parameters:
source- The newly opened EventSource to be added to the job.- See Also:
AbstractDIM.openDataSet(String)
-
-
DataMelt 3.0 © DataMelt by jWork.ORG