|
g-Eclipse Release 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectAdapterImpl
eu.geclipse.jsdl.ui.adapters.jsdl.JsdlAdaptersFactory
eu.geclipse.jsdl.ui.adapters.jsdl.DataStageTypeAdapter
public class DataStageTypeAdapter
DataStageTypeAdapter Class
This class provides adapters for manipulating Data Staging elements through the Data Staging Page of the JSDL editor. Supported DataStaging elements are:
- FileName
- FileSystemName
- CreationFlag
- DeleteOnTermination
- Source
- Target
| Constructor Summary | |
|---|---|
DataStageTypeAdapter(JobDefinitionType jobDefinitionRoot)
Constructs a new |
|
| Method Summary | |
|---|---|
void |
attachToDelete(Button button,
TableViewer viewer)
Adapter interface to attach to the DataStage Delete button widget. |
void |
attachToStageIn(TableViewer widget)
Adapter interface to attach to the DataStaging Stage-In Table Viewer widget |
void |
attachToStageOut(TableViewer widget)
Adapter interface to attach to the DataStaging Stage-Out Table Viewer widget |
void |
load()
This method populates the model content to the widgets registered with the DataStageType adapter. |
void |
performAdd(TableViewer tableViewer,
java.util.ArrayList<DataStagingType> dataStageList)
Add's a new DataStaging element in the JSDL model. |
void |
performEdit(TableViewer tableViewer,
java.util.ArrayList<DataStagingType> dataStageList)
Edit the attributes of the selected object in the TableViewer. |
void |
setContent(JobDefinitionType jobDefinitionRoot)
Allows to set the adapter's content on demand and not through the constructor. |
| Methods inherited from class eu.geclipse.jsdl.ui.adapters.jsdl.JsdlAdaptersFactory |
|---|
adapt, adaptAllNew, adaptNew, addListener, dispose, fireNotifyChanged, getRootAdapterFactory, isFactoryForType, notifyChanged, removeListener, setParentAdapterFactory |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DataStageTypeAdapter(JobDefinitionType jobDefinitionRoot)
DataStageTypeAdapter
jobDefinitionRoot - . The root element of a JSDL document (JobDefinitionType).| Method Detail |
|---|
public void setContent(JobDefinitionType jobDefinitionRoot)
jobDefinitionRoot - The root element of a JSDL document.public void attachToStageIn(TableViewer widget)
widget - The TableViewer in which all the Stage-In elements are
displayed. The Stage-In elements are those elements that contain only the
Source URI. The Target URI on these elements is null. Elements which
contain Stage-In and Stage-Out are also shown in this table viewer.
This method add's a filter to the table viewer so as to show only DataStage
elements that contain a Source URI.public void attachToStageOut(TableViewer widget)
widget - The TableViewer in which all the Stage-In elements are
displayed. The Stage-Out elements are those elements that contain only the
Target location. The Source location on these elements is null. Elements which
contain Stage-In and Stage-Out are also shown in this table viewer.
This method add's a filter to the table viewer so as to show only DataStage
elements that contain a Target URI.
public void attachToDelete(Button button,
TableViewer viewer)
button - The SWT Button that triggered the Delete event.viewer - The org.eclipse.jface.viewers.TableViewer
containing the element to be deleted.
public void performAdd(TableViewer tableViewer,
java.util.ArrayList<DataStagingType> dataStageList)
tableViewer - The TableViewer to add the new DataStaging element.
If the new DataStaging element is a Stage-In element, then the table viewer
responsible for such elements should be passed here. The opposite is valid
for Stage-Out elements.dataStageList - The list containing the new DataStaqe elements which were
retrieved from the respective Stage-In or Stage-Out dialogs
public void performEdit(TableViewer tableViewer,
java.util.ArrayList<DataStagingType> dataStageList)
tableViewer - The SWT TableViewer that contains the Structural FeaturesdataStageList - The list containing the selected DataStage elements.public void load()
|
g-Eclipse Release 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||