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_INPUTFields 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 voidaddPath(org.eclipse.core.runtime.IPath path)booleancontainsPath(org.eclipse.core.runtime.IPath path)org.eclipse.swt.graphics.ImagegetTitleImage()booleanisUniqueName(String name)Verify that a variables name is unique.voidremovePath(org.eclipse.core.runtime.IPath path)Methods inherited from class org.eclipse.ease.lang.unittest.ui.editor.AbstractEditorPage
getEditor, getEditorInputMethods 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, setIndexMethods inherited from class org.eclipse.ui.part.EditorPart
getEditorSite, getTitleToolTip, isSaveOnCloseNeeded, setInitializationDataMethods inherited from class org.eclipse.ui.part.WorkbenchPart
addPartPropertyListener, addPropertyListener, getAdapter, getContentDescription, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, removePartPropertyListener, removePropertyListener, setPartProperty, showBusyMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapterMethods inherited from interface org.eclipse.ui.IEditorPart
getEditorSiteMethods inherited from interface org.eclipse.ui.ISaveablePart
isSaveOnCloseNeededMethods inherited from interface org.eclipse.ui.IWorkbenchPart
addPropertyListener, getSite, getTitle, getTitleToolTip, removePropertyListener
-
Constructor Details
-
VariablesPage
-
-
Method Details
-
isUniqueName
Verify that a variables name is unique.- Parameters:
name- name to be used- Returns:
truewhen 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:
getTitleImagein interfaceorg.eclipse.ui.IWorkbenchPart- Overrides:
getTitleImagein classorg.eclipse.ui.forms.editor.FormPage
-