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 SummaryNested Classes Modifier and Type Interface Description static classCDOEditorOpener.Defaultstatic classCDOEditorOpener.Registry
 - 
Field SummaryFields Modifier and Type Field Description static intDEFAULT_PRIORITY
 - 
Method SummaryAll 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(org.eclipse.emf.common.util.URI uri)Checks if the URI matches the regular expression of this editor opener.IEditorPartopenEditor(IWorkbenchPage page, org.eclipse.emf.common.util.URI uri)
 
- 
- 
- 
Field Detail- 
DEFAULT_PRIORITYstatic final int DEFAULT_PRIORITY - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getIDjava.lang.String getID() 
 - 
getNamejava.lang.String getName() 
 - 
getIconImageDescriptor getIcon() 
 - 
getPriorityint getPriority() Returns the priority of this editor opener. Usually used to choose between several editor openers that match the same repository URI.
 - 
getRegexjava.lang.String getRegex() Returns the regular expression that determines if the editor opener can open a certain URI.
 - 
matchesRegexboolean matchesRegex(org.eclipse.emf.common.util.URI uri) Checks if the URI matches the regular expression of this editor opener.
 - 
openEditorIEditorPart openEditor(IWorkbenchPage page, org.eclipse.emf.common.util.URI uri) 
 
- 
 
-