g-Eclipse
Release 1.0.0

eu.geclipse.jsdl.ui.adapters.jsdl
Class JobIdentificationTypeAdapter

java.lang.Object
  extended by AdapterImpl
      extended by eu.geclipse.jsdl.ui.adapters.jsdl.JsdlAdaptersFactory
          extended by eu.geclipse.jsdl.ui.adapters.jsdl.JobIdentificationTypeAdapter

public final class JobIdentificationTypeAdapter
extends JsdlAdaptersFactory

JobIdentificationTypeAdapter Class

This class provides adapters for manipulating Job Identification elements through the Job Definition Page of the JSDL editor. Supported JobIdentification elements are:

- JobName

- JobDescription

- JobAnnotation

- JobProject


Constructor Summary
JobIdentificationTypeAdapter(EObject rootJsdlElement)
          JobIdentificationTypeAdapter Class Constructor
 
Method Summary
 void attachToDelete(Button button, List list)
          Adapter interface to attach to the Delete button.
 void attachToJobAnnotation(List widget)
          Adapter interface to attach to the JobAnnotation list widget.
 void attachToJobDescription(Text widget)
          Adapter interface to attach to the JobDescription text widget.
 void attachToJobName(Text widget)
          Adapter interface to attach to the JobName text widget.
 void attachToJobProject(List widget)
          Adapter interface to attach to the JobProject list widget.
 void load()
          This method populates the model content to the widgets registered with the JobIdentificationType adapter.
 void performAdd(List list, java.lang.String name, java.lang.Object value)
           
 void setContent(EObject rootJsdlElement)
          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

JobIdentificationTypeAdapter

public JobIdentificationTypeAdapter(EObject rootJsdlElement)
JobIdentificationTypeAdapter Class Constructor

Parameters:
rootJsdlElement - The root element of a JSDL document.
Method Detail

setContent

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

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

attachToJobName

public void attachToJobName(Text widget)
Adapter interface to attach to the JobName text widget.

Parameters:
widget - The SWT text widget which is associated with the JobName element of the JSDL document.

attachToJobDescription

public void attachToJobDescription(Text widget)
Adapter interface to attach to the JobDescription text widget.

Parameters:
widget - The SWT text widget which is associated with the JobDescription element of the JSDL document.

attachToJobProject

public void attachToJobProject(List widget)
Adapter interface to attach to the JobProject list widget.

Parameters:
widget - The SWT list widget which is associated with the JobProject element of the JSDL document.

attachToJobAnnotation

public void attachToJobAnnotation(List widget)
Adapter interface to attach to the JobAnnotation list widget.

Parameters:
widget - The SWT list widget which is associated with the JobAnnotation element of the JSDL document.

attachToDelete

public void attachToDelete(Button button,
                           List list)
Adapter interface to attach to the Delete button.

Parameters:
button - The SWT button which is associated with an SWT list on the page and is responsible to delete elements from this list.
list - The SWT list containing the elements to be deleted.

performAdd

public void performAdd(List list,
                       java.lang.String name,
                       java.lang.Object value)
Parameters:
list - The SWT list that contains the Structural Features
name - The name of the SWT list.
value -

load

public void load()
This method populates the model content to the widgets registered with the JobIdentificationType adapter.


g-Eclipse
Release 1.0.0