g-Eclipse
Release 1.0.0

eu.geclipse.jsdl.ui.adapters.posix
Class PosixApplicationTypeAdapter

java.lang.Object
  extended by AdapterFactoryImpl
      extended by eu.geclipse.jsdl.model.posix.util.PosixAdapterFactory
          extended by eu.geclipse.jsdl.ui.adapters.posix.PosixAdaptersFactory
              extended by eu.geclipse.jsdl.ui.adapters.posix.PosixApplicationTypeAdapter

public class PosixApplicationTypeAdapter
extends PosixAdaptersFactory

PosixApplicationTypeAdapter Class This class provides adapters for manipulating POSIXApplication elements through the Application Page of the JSDL editor.


Constructor Summary
PosixApplicationTypeAdapter(EObject jobDefinitionRoot)
          Constructs a new PosixApplicationTypeAdapter
 
Method Summary
 void attachPosixApplicationError(Text widget)
          The attach point that handles the Text widget which is responsible for the PosixApplication Error element.
 void attachPosixApplicationExecutable(Text widget)
          The attach point that handles the Text widget which is responsible for the PosixApplication Executable element.
 void attachPosixApplicationInput(Text widget)
          The attach point that handles the Text widget which is responsible for the PosixApplication Input element.
 void attachPosixApplicationName(Text widget)
          The attach point that handles the Text widget which is responsible for the PosixApplication Name element.
 void attachPosixApplicationOutput(Text widget)
          The attach point that handles the Text widget which is responsible for the PosixApplication Output element.
 void attachToCoreDumpLimit(Text text)
          The attach point that handles the Text widget which is responsible for the PosixApplication CoreDumpLimit element.
 void attachToCPUTimeLimit(Text text)
          The attach point that handles the Text widget which is responsible for the PosixApplication CPUTimeLimit element.
 void attachToDataSegmentLimit(Text text)
          The attach point that handles the Text widget which is responsible for the PosixApplication DataSegmentLimit element.
 void attachToDelete(Button button, TableViewer viewer)
          Adapter interface to attach to the PosixApplication Delete button widget.
 void attachToFileSizeLimit(Text text)
          The attach point that handles the Text widget which is responsible for the PosixApplication FileSizeLimit element.
 void attachToGroupName(Text text)
          The attach point that handles the Text widget which is responsible for the PosixApplication GroupName element.
 void attachToLockedMemoryLimit(Text text)
          The attach point that handles the Text widget which is responsible for the PosixApplication LockedMemoryLimit element.
 void attachToMemoryLimit(Text text)
          The attach point that handles the Text widget which is responsible for the PosixApplication MemoryLimit element.
 void attachToOpenDesciptorsLimit(Text text)
          The attach point that handles the Text widget which is responsible for the PosixApplication OpenDescriptorsLimit element.
 void attachToPipeSizeLimit(Text text)
          The attach point that handles the Text widget which is responsible for the PosixApplication PipeSizeLimit element.
 void attachToPosixApplicationArgument(TableViewer widget)
          The attach point that handles the TableViewer widget which is responsible for the PosixApplication Argument element.
 void attachToPosixApplicationEnvironment(TableViewer widget)
          The attach point that handles the TableViewer widget which is responsible for the PosixApplication Environment element.
 void attachToProcessCountLimit(Text text)
          The attach point that handles the Text widget which is responsible for the PosixApplication ProcessCountLimit element.
 void attachToStackSizeLimit(Text text)
          The attach point that handles the Text widget which is responsible for the PosixApplication StackSizeLimit element.
 void attachToThreadCountLimit(Text text)
          The attach point that handles the Text widget which is responsible for the PosixApplication ThreadCountLimit element.
 void attachToUserName(Text text)
          The attach point that handles the Text widget which is responsible for the PosixApplication UserName element.
 void attachToVirtualMemoryLimit(Text text)
          The attach point that handles the Text widget which is responsible for the PosixApplication VirtualMemoryLimit element.
 void attachToWallTimeLimit(Text text)
          The attach point that handles the Text widget which is responsible for the PosixApplication WallTimeLimit element.
 void attachToWorkingDirectory(Text widget)
          The attach point that handles the Text widget which is responsible for the PosixApplication Working Directory element.
 void load()
          Method which populates the content of the underlying model to the widgets that are attached to this adapter.
 void performAdd(TableViewer tableViewer, java.lang.String name, java.lang.Object value)
          Add an element to a Table Viewers input.
 void performEdit(TableViewer tableViewer, java.lang.Object value)
          Edit an element that appears in a Table Viewers.
 void setContent(EObject jobDefinitionRoot)
          Allows to set the adapter's content on demand and not through the constructor.
 
Methods inherited from class eu.geclipse.jsdl.ui.adapters.posix.PosixAdaptersFactory
addListener, dispose, fireNotifyChanged, getRootAdapterFactory, removeListener, setParentAdapterFactory
 
Methods inherited from class eu.geclipse.jsdl.model.posix.util.PosixAdapterFactory
createAdapter, createArgumentTypeAdapter, createDirectoryNameTypeAdapter, createDocumentRootAdapter, createEnvironmentTypeAdapter, createEObjectAdapter, createFileNameTypeAdapter, createGroupNameTypeAdapter, createLimitsTypeAdapter, createPOSIXApplicationTypeAdapter, createUserNameTypeAdapter, isFactoryForType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PosixApplicationTypeAdapter

public PosixApplicationTypeAdapter(EObject jobDefinitionRoot)
Constructs a new PosixApplicationTypeAdapter

Parameters:
jobDefinitionRoot - . The root element of a JSDL document (JobDefinitionType).
Method Detail

setContent

public void setContent(EObject jobDefinitionRoot)
Allows to set the adapter's content on demand and not through the constructor.

Parameters:
jobDefinitionRoot - The root element of a JSDL document.

attachPosixApplicationName

public void attachPosixApplicationName(Text widget)
The attach point that handles the Text widget which is responsible for the PosixApplication Name element. This attach point provides a ModifyListener that listens to changes in the text box and commits this changes to the underlying model.

Parameters:
widget - The Text widget responsible for PosixApplication Name element.

attachPosixApplicationExecutable

public void attachPosixApplicationExecutable(Text widget)
The attach point that handles the Text widget which is responsible for the PosixApplication Executable element. This attach point provides a ModifyListener that listens to changes in the text box and commits this changes to the underlying model.

Parameters:
widget - The Text widget responsible for PosixApplication Executable element.

attachPosixApplicationInput

public void attachPosixApplicationInput(Text widget)
The attach point that handles the Text widget which is responsible for the PosixApplication Input element. This attach point provides a ModifyListener that listens to changes in the text box and commits this changes to the underlying model.

Parameters:
widget - The Text widget responsible for PosixApplication Input element.

attachPosixApplicationOutput

public void attachPosixApplicationOutput(Text widget)
The attach point that handles the Text widget which is responsible for the PosixApplication Output element. This attach point provides a ModifyListener that listens to changes in the text box and commits this changes to the underlying model.

Parameters:
widget - The Text widget responsible for PosixApplication Output element.

attachPosixApplicationError

public void attachPosixApplicationError(Text widget)
The attach point that handles the Text widget which is responsible for the PosixApplication Error element. This attach point provides a ModifyListener that listens to changes in the text box and commits this changes to the underlying model.

Parameters:
widget - The Text widget responsible for PosixApplication Error element.

attachToPosixApplicationArgument

public void attachToPosixApplicationArgument(TableViewer widget)
The attach point that handles the TableViewer widget which is responsible for the PosixApplication Argument element.

Parameters:
widget - The TableViewer widget responsible for PosixApplication Argument element.

attachToPosixApplicationEnvironment

public void attachToPosixApplicationEnvironment(TableViewer widget)
The attach point that handles the TableViewer widget which is responsible for the PosixApplication Environment element.

Parameters:
widget - The TableViewer widget responsible for PosixApplication Environment element.

attachToWorkingDirectory

public void attachToWorkingDirectory(Text widget)
The attach point that handles the Text widget which is responsible for the PosixApplication Working Directory element. This attach point provides a ModifyListener that listens to changes in the text box and commits this changes to the underlying model.

Parameters:
widget - The Text widget responsible for PosixApplication Working Directory element.

attachToWallTimeLimit

public void attachToWallTimeLimit(Text text)
The attach point that handles the Text widget which is responsible for the PosixApplication WallTimeLimit element. This attach point provides a ModifyListener that listens to changes in the text box and commits this changes to the underlying model.

Parameters:
text - The Text widget responsible for PosixApplication WallTimeLimit element.

attachToFileSizeLimit

public void attachToFileSizeLimit(Text text)
The attach point that handles the Text widget which is responsible for the PosixApplication FileSizeLimit element. This attach point provides a ModifyListener that listens to changes in the text box and commits this changes to the underlying model.

Parameters:
text - The Text widget responsible for PosixApplication FileSizeLimit element.

attachToCoreDumpLimit

public void attachToCoreDumpLimit(Text text)
The attach point that handles the Text widget which is responsible for the PosixApplication CoreDumpLimit element. This attach point provides a ModifyListener that listens to changes in the text box and commits this changes to the underlying model.

Parameters:
text - The Text widget responsible for PosixApplication CoreDumpLimit element.

attachToDataSegmentLimit

public void attachToDataSegmentLimit(Text text)
The attach point that handles the Text widget which is responsible for the PosixApplication DataSegmentLimit element. This attach point provides a ModifyListener that listens to changes in the text box and commits this changes to the underlying model.

Parameters:
text - The Text widget responsible for PosixApplication DataSegment element.

attachToLockedMemoryLimit

public void attachToLockedMemoryLimit(Text text)
The attach point that handles the Text widget which is responsible for the PosixApplication LockedMemoryLimit element. This attach point provides a ModifyListener that listens to changes in the text box and commits this changes to the underlying model.

Parameters:
text - The Text widget responsible for PosixApplication LockedMemoryLimit element.

attachToMemoryLimit

public void attachToMemoryLimit(Text text)
The attach point that handles the Text widget which is responsible for the PosixApplication MemoryLimit element. This attach point provides a ModifyListener that listens to changes in the text box and commits this changes to the underlying model.

Parameters:
text - The Text widget responsible for PosixApplication MemoryLimit element.

attachToOpenDesciptorsLimit

public void attachToOpenDesciptorsLimit(Text text)
The attach point that handles the Text widget which is responsible for the PosixApplication OpenDescriptorsLimit element. This attach point provides a ModifyListener that listens to changes in the text box and commits this changes to the underlying model.

Parameters:
text - The Text widget responsible for PosixApplication OpemDescriptorsLimit element.

attachToPipeSizeLimit

public void attachToPipeSizeLimit(Text text)
The attach point that handles the Text widget which is responsible for the PosixApplication PipeSizeLimit element. This attach point provides a ModifyListener that listens to changes in the text box and commits this changes to the underlying model.

Parameters:
text - The Text widget responsible for PosixApplication PipeSizeLimit element.

attachToStackSizeLimit

public void attachToStackSizeLimit(Text text)
The attach point that handles the Text widget which is responsible for the PosixApplication StackSizeLimit element. This attach point provides a ModifyListener that listens to changes in the text box and commits this changes to the underlying model.

Parameters:
text - The Text widget responsible for PosixApplication StackSizeLimit element.

attachToCPUTimeLimit

public void attachToCPUTimeLimit(Text text)
The attach point that handles the Text widget which is responsible for the PosixApplication CPUTimeLimit element. This attach point provides a ModifyListener that listens to changes in the text box and commits this changes to the underlying model.

Parameters:
text - The Text widget responsible for PosixApplication CPUTimeLimit element.

attachToProcessCountLimit

public void attachToProcessCountLimit(Text text)
The attach point that handles the Text widget which is responsible for the PosixApplication ProcessCountLimit element. This attach point provides a ModifyListener that listens to changes in the text box and commits this changes to the underlying model.

Parameters:
text - The Text widget responsible for PosixApplication ProcessCountLimit element.

attachToVirtualMemoryLimit

public void attachToVirtualMemoryLimit(Text text)
The attach point that handles the Text widget which is responsible for the PosixApplication VirtualMemoryLimit element. This attach point provides a ModifyListener that listens to changes in the text box and commits this changes to the underlying model.

Parameters:
text - The Text widget responsible for PosixApplication VirtualMemoryLimit element.

attachToThreadCountLimit

public void attachToThreadCountLimit(Text text)
The attach point that handles the Text widget which is responsible for the PosixApplication ThreadCountLimit element. This attach point provides a ModifyListener that listens to changes in the text box and commits this changes to the underlying model.

Parameters:
text - The Text widget responsible for PosixApplication ThreadCountLimit element.

attachToUserName

public void attachToUserName(Text text)
The attach point that handles the Text widget which is responsible for the PosixApplication UserName element. This attach point provides a ModifyListener that listens to changes in the text box and commits this changes to the underlying model.

Parameters:
text - The Text widget responsible for PosixApplication UserName element.

attachToGroupName

public void attachToGroupName(Text text)
The attach point that handles the Text widget which is responsible for the PosixApplication GroupName element. This attach point provides a ModifyListener that listens to changes in the text box and commits this changes to the underlying model.

Parameters:
text - The Text widget responsible for PosixApplication GroupName element.

attachToDelete

public void attachToDelete(Button button,
                           TableViewer viewer)
Adapter interface to attach to the PosixApplication Delete button widget.

Parameters:
button - The Button that triggered the Delete event.
viewer - The TableViewer containing the element to be deleted.

performAdd

public void performAdd(TableViewer tableViewer,
                       java.lang.String name,
                       java.lang.Object value)
Add an element to a Table Viewers input.

Parameters:
tableViewer - The TableViewer in which the new element will be added.
name - The name of the button that triggered the add operation.
value - The new element that will be added.

performEdit

public void performEdit(TableViewer tableViewer,
                        java.lang.Object value)
Edit an element that appears in a Table Viewers.

Parameters:
tableViewer - The TableViewer in which the new element appears.
value - The new value of the element.

load

public void load()
Method which populates the content of the underlying model to the widgets that are attached to this adapter. The method is called from the JobDefinitionPage when the appropriate widgets are created and also every time the page becomes active.


g-Eclipse
Release 1.0.0