Class VariablesPage

java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.ui.part.WorkbenchPart
org.eclipse.ui.part.EditorPart
org.eclipse.ui.forms.editor.FormPage
org.eclipse.ease.lang.unittest.ui.editor.AbstractEditorPage
org.eclipse.ease.lang.unittest.ui.editor.VariablesPage
All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable, org.eclipse.core.runtime.IExecutableExtension, org.eclipse.ui.forms.editor.IFormPage, org.eclipse.ui.IEditorPart, org.eclipse.ui.ISaveablePart, org.eclipse.ui.IWorkbenchPart, org.eclipse.ui.IWorkbenchPart2, org.eclipse.ui.IWorkbenchPart3, org.eclipse.ui.part.IWorkbenchPartOrientation

public class VariablesPage extends AbstractEditorPage
Represents the Variables component in the Test Suite Editor. This class implements the Variables component in Test Suite Editor with a tree structure allowing to classify variables in groups.
  • Field Summary

    Fields inherited from interface org.eclipse.ui.IEditorPart

    PROP_DIRTY, PROP_INPUT

    Fields inherited from interface org.eclipse.ui.IWorkbenchPart

    PROP_TITLE
  • Constructor Summary

    Constructors
    Constructor
    Description
    VariablesPage(org.eclipse.ui.forms.editor.FormEditor editor, String id, String title)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addPath(org.eclipse.core.runtime.IPath path)
     
    boolean
    containsPath(org.eclipse.core.runtime.IPath path)
     
    org.eclipse.swt.graphics.Image
     
    boolean
    Verify that a variables name is unique.
    void
    removePath(org.eclipse.core.runtime.IPath path)
     

    Methods inherited from class org.eclipse.ease.lang.unittest.ui.editor.AbstractEditorPage

    getEditor, getEditorInput

    Methods inherited from class org.eclipse.ui.forms.editor.FormPage

    canLeaveThePage, createPartControl, dispose, doSave, doSaveAs, getId, getIndex, getManagedForm, getPartControl, init, initialize, isActive, isDirty, isEditor, isSaveAsAllowed, selectReveal, setActive, setFocus, setIndex

    Methods inherited from class org.eclipse.ui.part.EditorPart

    getEditorSite, getTitleToolTip, isSaveOnCloseNeeded, setInitializationData

    Methods inherited from class org.eclipse.ui.part.WorkbenchPart

    addPartPropertyListener, addPropertyListener, getAdapter, getContentDescription, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, removePartPropertyListener, removePropertyListener, setPartProperty, showBusy

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.eclipse.core.runtime.IAdaptable

    getAdapter

    Methods inherited from interface org.eclipse.ui.IEditorPart

    getEditorSite

    Methods inherited from interface org.eclipse.ui.ISaveablePart

    isSaveOnCloseNeeded

    Methods inherited from interface org.eclipse.ui.IWorkbenchPart

    addPropertyListener, getSite, getTitle, getTitleToolTip, removePropertyListener
  • Constructor Details

    • VariablesPage

      public VariablesPage(org.eclipse.ui.forms.editor.FormEditor editor, String id, String title)
  • Method Details

    • isUniqueName

      public boolean isUniqueName(String name)
      Verify that a variables name is unique.
      Parameters:
      name - name to be used
      Returns:
      true when name is unique (= currently not used)
    • addPath

      public void addPath(org.eclipse.core.runtime.IPath path)
    • removePath

      public void removePath(org.eclipse.core.runtime.IPath path)
    • containsPath

      public boolean containsPath(org.eclipse.core.runtime.IPath path)
    • getTitleImage

      public org.eclipse.swt.graphics.Image getTitleImage()
      Specified by:
      getTitleImage in interface org.eclipse.ui.IWorkbenchPart
      Overrides:
      getTitleImage in class org.eclipse.ui.forms.editor.FormPage