TPTP 4.4.0 Monitoring Tools Project
Internal API Specification

org.eclipse.tptp.wsdm.tooling.editor.dde.dialogs.internal
Class ResourceTypeInitParamDialog

java.lang.Object
  extended byorg.eclipse.tptp.wsdm.tooling.editor.dde.dialogs.internal.ResourceTypeInitParamDialog

public class ResourceTypeInitParamDialog
extends java.lang.Object

This class forms the UI component for adding or editing a initialization parameters.


Constructor Summary
ResourceTypeInitParamDialog(DescriptorEditor editor, int dialogType)
          This constructor takes a DescriptorEditor object and int value which specifies the type of dialog.
 
Method Summary
 org.eclipse.swt.widgets.Button getBtnCancel()
           
 org.eclipse.swt.widgets.Button getBtnOk()
           
 org.apache.ws.muse.descriptor.impl.InitParamTypeImpl getData()
           
 DescriptorEditor getEditor()
           
 org.eclipse.swt.widgets.Label getLblParamName()
           
 org.eclipse.swt.widgets.Label getLblParamVal()
           
 org.eclipse.swt.widgets.Shell getParent()
           
 org.eclipse.swt.widgets.Text getTxtParamName()
           
 org.eclipse.swt.widgets.Text getTxtParamVal()
           
 void setData(org.apache.ws.muse.descriptor.impl.InitParamTypeImpl data)
           
 org.apache.ws.muse.descriptor.impl.InitParamTypeImpl showDialog()
          Method that opens and displays the dialog on the screen.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceTypeInitParamDialog

public ResourceTypeInitParamDialog(DescriptorEditor editor,
                                   int dialogType)
This constructor takes a DescriptorEditor object and int value which specifies the type of dialog.
e.g if dialogType = 1, then it is for adding an initialization parameter
else if dialogType = 2, then it is for editing an initialization parameter

Parameters:
editor - - DescriptorEditor object
dialogType - - int value representing the type of dialog
Method Detail

getBtnCancel

public org.eclipse.swt.widgets.Button getBtnCancel()

getBtnOk

public org.eclipse.swt.widgets.Button getBtnOk()

getEditor

public DescriptorEditor getEditor()

getLblParamName

public org.eclipse.swt.widgets.Label getLblParamName()

getLblParamVal

public org.eclipse.swt.widgets.Label getLblParamVal()

getTxtParamName

public org.eclipse.swt.widgets.Text getTxtParamName()

getTxtParamVal

public org.eclipse.swt.widgets.Text getTxtParamVal()

showDialog

public org.apache.ws.muse.descriptor.impl.InitParamTypeImpl showDialog()
Method that opens and displays the dialog on the screen.

Returns:
the InitParamType object after the Ok button is clicked.
null if the operation is cancelled.

getParent

public org.eclipse.swt.widgets.Shell getParent()

getData

public org.apache.ws.muse.descriptor.impl.InitParamTypeImpl getData()

setData

public void setData(org.apache.ws.muse.descriptor.impl.InitParamTypeImpl data)

TPTP 4.4.0 Monitoring Tools Project
Internal API Specification