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
Modifier and TypeInterfaceDescriptionstatic class
static class
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetIcon()
getID()
getName()
int
Returns the priority of this editor opener.getRegex()
Returns the regular expression that determines if the editor opener can open a certain URI.boolean
matchesRegex
(URI uri) Checks if the URI matches the regular expression of this editor opener.openEditor
(IWorkbenchPage page, URI uri)
-
Field Details
-
DEFAULT_PRIORITY
static final int DEFAULT_PRIORITY- See Also:
-
-
Method Details
-
getID
String getID() -
getName
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
String getRegex()Returns the regular expression that determines if the editor opener can open a certain URI. -
matchesRegex
Checks if the URI matches the regular expression of this editor opener. -
openEditor
-