Package org.eclipse.emf.cdo.ui
Interface CDOEditorOpener
-
- All Known Implementing Classes:
CDOEditorOpener.Default,CDOEditorOpener.Registry.EditorOpenerDescriptor
public interface CDOEditorOpener- Since:
- 4.4
- Author:
- Eike Stepper
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classCDOEditorOpener.Defaultstatic classCDOEditorOpener.Registry
-
Field Summary
Fields Modifier and Type Field Description static intDEFAULT_PRIORITY
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ImageDescriptorgetIcon()java.lang.StringgetID()java.lang.StringgetName()intgetPriority()Returns the priority of this editor opener.java.lang.StringgetRegex()Returns the regular expression that determines if the editor opener can open a certain URI.booleanmatchesRegex(URI uri)Checks if the URI matches the regular expression of this editor opener.IEditorPartopenEditor(IWorkbenchPage page, URI uri)
-
-
-
Field Detail
-
DEFAULT_PRIORITY
static final int DEFAULT_PRIORITY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getID
java.lang.String getID()
-
getName
java.lang.String getName()
-
getIcon
ImageDescriptor getIcon()
-
getPriority
int getPriority()
Returns the priority of this editor opener. Usually used to choose between several editor openers that match the same repository URI.
-
getRegex
java.lang.String getRegex()
Returns the regular expression that determines if the editor opener can open a certain URI.
-
matchesRegex
boolean matchesRegex(URI uri)
Checks if the URI matches the regular expression of this editor opener.
-
openEditor
IEditorPart openEditor(IWorkbenchPage page, URI uri)
-
-