TPTP 4.4.0 Monitoring Tools Project
Internal API Specification

org.eclipse.tptp.wsdm.tooling.editor.mrt.internal
Class MrtPrototypeForm

java.lang.Object
  extended byorg.eclipse.tptp.wsdm.tooling.editor.mrt.internal.GridFormGenerator
      extended byorg.eclipse.tptp.wsdm.tooling.editor.mrt.internal.MrtPrototypeForm
All Implemented Interfaces:
org.eclipse.ui.IPropertyListener

public class MrtPrototypeForm
extends GridFormGenerator
implements org.eclipse.ui.IPropertyListener

Create an prototype form for an MRT. This shows the capabilities the MRT implements along with a hookup link to capability wizard


Field Summary
protected  org.eclipse.tptp.wsdm.tooling.model.capabilities.Capability[] _selectedCapForDelete
           
 
Constructor Summary
MrtPrototypeForm(org.eclipse.swt.widgets.Composite parent, java.lang.String formTitle, org.eclipse.emf.edit.domain.EditingDomain editingDomain, MrtEditor editor)
          Creates the Manageable Resource Type Definition page to implement specified capabilities
 
Method Summary
protected  void changedIdentifier()
          Capture the changed value for MRT name.
protected  void changedNamespace()
          Capture the changed value for MRT namespace.
 boolean hasRelationShips()
           
 boolean isServiceGroup()
           
 void propertyChanged(java.lang.Object source, int propId)
           
protected  void selectCaps()
          Dialog which brings up workspace capabilities as a JFace CheckboxTableViewer.
 void updateErrorMessage()
           
 
Methods inherited from class org.eclipse.tptp.wsdm.tooling.editor.mrt.internal.GridFormGenerator
createSection, createSection, getForm, getTitle, getToolkit, showOkDialog, showOkDialog, showUnimplementedDialog
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_selectedCapForDelete

protected org.eclipse.tptp.wsdm.tooling.model.capabilities.Capability[] _selectedCapForDelete
Constructor Detail

MrtPrototypeForm

public MrtPrototypeForm(org.eclipse.swt.widgets.Composite parent,
                        java.lang.String formTitle,
                        org.eclipse.emf.edit.domain.EditingDomain editingDomain,
                        MrtEditor editor)
Creates the Manageable Resource Type Definition page to implement specified capabilities

Parameters:
parent - - UI Composite to be used
formTitle - - Title of the page
editingDomain - - Handle to the context of the editor
editor - - Handle to the editor
Method Detail

changedIdentifier

protected void changedIdentifier()
Capture the changed value for MRT name.


changedNamespace

protected void changedNamespace()
Capture the changed value for MRT namespace.


selectCaps

protected void selectCaps()
Dialog which brings up workspace capabilities as a JFace CheckboxTableViewer.


propertyChanged

public void propertyChanged(java.lang.Object source,
                            int propId)
Specified by:
propertyChanged in interface org.eclipse.ui.IPropertyListener

updateErrorMessage

public void updateErrorMessage()

isServiceGroup

public boolean isServiceGroup()

hasRelationShips

public boolean hasRelationShips()

TPTP 4.4.0 Monitoring Tools Project
Internal API Specification