Class ECPSelectionStatusValidator
- java.lang.Object
-
- org.eclipse.emf.ecp.view.internal.editor.controls.ECPSelectionStatusValidator
-
- All Implemented Interfaces:
org.eclipse.ui.dialogs.ISelectionStatusValidator
public abstract class ECPSelectionStatusValidator extends java.lang.Object implements org.eclipse.ui.dialogs.ISelectionStatusValidator
An ISelectionStatusValidator allowing to get theTreePath
of the current selection.- Author:
- Eugen Neufeld
-
-
Constructor Summary
Constructors Constructor Description ECPSelectionStatusValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.eclipse.jface.viewers.TreePath
getTreePath()
TheTreePath
of the current selection.void
setECPViewEditorTreeSelectionDialog(ECPViewEditorTreeSelectionDialog dialog)
Sets the dialog.
-
-
-
Method Detail
-
setECPViewEditorTreeSelectionDialog
public void setECPViewEditorTreeSelectionDialog(ECPViewEditorTreeSelectionDialog dialog)
Sets the dialog.- Parameters:
dialog
- the dialog
-
getTreePath
protected org.eclipse.jface.viewers.TreePath getTreePath()
TheTreePath
of the current selection.- Returns:
- the
TreePath
-
-