g-Eclipse
Release 1.0.0

eu.geclipse.jsdl.ui.widgets
Class DataStageOutTable

java.lang.Object
  extended by eu.geclipse.jsdl.ui.widgets.DataStageOutTable

public class DataStageOutTable
extends java.lang.Object

Set of controls used to handle presentation of Data Staging Out (see DataStagingType details to user. Information is presented in a table with two columns (name of a file and a target URI). User can add new entry to this table and edit or remove existing ones.


Field Summary
static int BUTTONS_BOTTOM
          This constant is used to inform the class' constructor that buttons (Add, Edit and Remove button) should be placed below the table.
static int BUTTONS_RIGHT
          This constant is used to inform the class' constructor that buttons (Add, Edit and Remove button) should be placed on the right side of the table.
 
Constructor Summary
DataStageOutTable(Composite parent, int buttonsPosition)
           
DataStageOutTable(Composite parent, java.util.List<DataStagingType> input, int buttonsPosition)
          Creates new instance of table, table viewer, buttons (add, edit and remove).
 
Method Summary
 java.util.List<DataStagingType> getDataStagingType()
          Returns data kept in table
 void setInput(java.util.List<DataStagingType> input)
           
 void updateInput(java.util.List<DataStagingType> newInput)
          Updates the table input
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BUTTONS_RIGHT

public static final int BUTTONS_RIGHT
This constant is used to inform the class' constructor that buttons (Add, Edit and Remove button) should be placed on the right side of the table.

See Also:
Constant Field Values

BUTTONS_BOTTOM

public static final int BUTTONS_BOTTOM
This constant is used to inform the class' constructor that buttons (Add, Edit and Remove button) should be placed below the table.

See Also:
Constant Field Values
Constructor Detail

DataStageOutTable

public DataStageOutTable(Composite parent,
                         int buttonsPosition)
Parameters:
parent -
buttonsPosition -

DataStageOutTable

public DataStageOutTable(Composite parent,
                         java.util.List<DataStagingType> input,
                         int buttonsPosition)
Creates new instance of table, table viewer, buttons (add, edit and remove).

Parameters:
parent - controls' parent
input - input for a table
buttonsPosition -
Method Detail

getDataStagingType

public java.util.List<DataStagingType> getDataStagingType()
Returns data kept in table

Returns:
list of DataStagingType objects

setInput

public void setInput(java.util.List<DataStagingType> input)
Parameters:
input -

updateInput

public void updateInput(java.util.List<DataStagingType> newInput)
Updates the table input

Parameters:
newInput - new object that will be used as an input

g-Eclipse
Release 1.0.0