TPTP 4.3.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

public class MrtPrototypeForm
extends GridFormGenerator

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


Constructor Summary
MrtPrototypeForm(org.eclipse.swt.widgets.Composite parent, java.lang.String formTitle, org.eclipse.emf.edit.domain.EditingDomain editingDomain, org.eclipse.tptp.wsdm.tooling.model.manageableResourceType.ManageableResourceType mrt, java.util.List allCapsPassed, java.util.List mrtCaps1, java.lang.String containerName, NewMrtPageEditor 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.
 void changedWorkspaceCapability(Definition newCap)
          Keep track of changed capabilities.
 java.lang.String getIdentifier()
          Return the Manageable Resource Type Identifier
 java.lang.String getNamespace()
          Return the Manageable Resource Type Namespace
protected  void selectCaps()
          Dialog which brings up workspace capabilities as a JFace CheckboxTableViewer.
 
Methods inherited from class org.eclipse.tptp.wsdm.tooling.editor.mrt.internal.GridFormGenerator
createSection, createSection, getForm, getTitle, getToolkit, showOkDialog, showUnimplementedDialog
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MrtPrototypeForm

public MrtPrototypeForm(org.eclipse.swt.widgets.Composite parent,
                        java.lang.String formTitle,
                        org.eclipse.emf.edit.domain.EditingDomain editingDomain,
                        org.eclipse.tptp.wsdm.tooling.model.manageableResourceType.ManageableResourceType mrt,
                        java.util.List allCapsPassed,
                        java.util.List mrtCaps1,
                        java.lang.String containerName,
                        NewMrtPageEditor 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
mrt - - Manageable Resource Type definition
allCapsPassed - - All capabilities from workspace
mrtCaps1 - - Capabilities implemented by the manageable resource type
containerName - - Containing project for the manageable resource type
editor - - Handle to the editor
Method Detail

getIdentifier

public java.lang.String getIdentifier()
Return the Manageable Resource Type Identifier


getNamespace

public java.lang.String getNamespace()
Return the Manageable Resource Type Namespace


changedIdentifier

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


changedNamespace

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


changedWorkspaceCapability

public void changedWorkspaceCapability(Definition newCap)
Keep track of changed capabilities.


selectCaps

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


TPTP 4.3.0 Monitoring Tools Project
Internal API Specification