Class EditorWebServiceProp

All Implemented Interfaces:
IPropDesigner, IPropUndoContext, IWSPropDesigner, EventListener, IGProp<GProp<?>[]>, IPropCnr, IExecuteWebService, Cloneable, org.eclipse.core.runtime.IAdaptable

public class EditorWebServiceProp extends WebServiceProp implements IWSPropDesigner, IPropUndoContext
Editor version of the Web Service property container holding the definition of a web service transaction.
  • Constructor Details

    • EditorWebServiceProp

      public EditorWebServiceProp()
      Creates the web service property container without a name. The name must be set in all cases using the setPropertyAtom call.
    • EditorWebServiceProp

      public EditorWebServiceProp(Atom propertyAtom)
      Creates the web service property container with the specified name. All system-reserved names for components begins with "$".
      Parameters:
      propertyAtom - the name of the component, unique within it's parent.
  • Method Details

    • getDesigner

      public WebServiceDesignerProp getDesigner()
      Gets the Designer Extension for Properties.
      Specified by:
      getDesigner in interface IPropDesigner
      Returns:
      The instance of the Designer Extension.
    • getPersistentMemento

      public MementoPropCnr getPersistentMemento(boolean doCreate)
      Gets the memento used to save the editor in this property.
      Parameters:
      doCreate - The create flag if it didn't exist before.
      Returns:
      A property container that implements IMemento, or null if this container is disposed of.
    • clone

      public EditorWebServiceProp clone()
      Clone must be overridden.
      Overrides:
      clone in class WebServiceProp
    • getUndoContext

      public org.eclipse.core.commands.operations.IUndoContext getUndoContext()
      Gets the undo context.
      Specified by:
      getUndoContext in interface IPropUndoContext
      Returns:
      The undo context for the Editor part(s) for this container.
    • createOutput

      protected OutputProps createOutput()
      Creates the output properties.
      Overrides:
      createOutput in class WebServiceProp
    • getOutput

      public EditorOutputProps getOutput()
      Gets the output property.
      Overrides:
      getOutput in class WebServiceProp
      Returns:
      The output instance.
    • getCNImage

      public org.eclipse.swt.graphics.Image getCNImage()
      Gets the image for the Common Navigator.
      Specified by:
      getCNImage in interface IWSPropDesigner
      Returns:
      Image or null if there is no image.
    • getCNText

      public String getCNText()
      Gets the label text for the Common Navigator.
      Specified by:
      getCNText in interface IWSPropDesigner
      Returns:
      The text.
    • getCNDescriptionType

      public String getCNDescriptionType()
      Provide a type description for the status bar view, if available.
      Specified by:
      getCNDescriptionType in interface IWSPropDesigner
      Returns:
      A type description for the status bar view, or null if not available.
    • createCNToolTip

      public org.eclipse.swt.widgets.Composite createCNToolTip(org.eclipse.swt.widgets.Composite parent)
      Creates a tooltip for the column data or column name.
      Specified by:
      createCNToolTip in interface IWSPropDesigner
      Parameters:
      parent - The parent composite.
      Returns:
      The created composite in the parent.