Package org.eclipse.emf.cdo.ui
Class CDOEditorOpener.Default
- java.lang.Object
- 
- org.eclipse.emf.cdo.ui.CDOEditorOpener.Default
 
- 
- All Implemented Interfaces:
- CDOEditorOpener
 - Direct Known Subclasses:
- CDOEditorOpener.Registry.EditorOpenerDescriptor
 - Enclosing interface:
- CDOEditorOpener
 
 public abstract static class CDOEditorOpener.Default extends java.lang.Object implements CDOEditorOpener - Author:
- Eike Stepper
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface org.eclipse.emf.cdo.ui.CDOEditorOpenerCDOEditorOpener.Default, CDOEditorOpener.Registry
 
- 
 - 
Field Summary- 
Fields inherited from interface org.eclipse.emf.cdo.ui.CDOEditorOpenerDEFAULT_PRIORITY
 
- 
 - 
Constructor SummaryConstructors Constructor Description Default()Default(java.lang.String id, java.lang.String name, ImageDescriptor icon, java.lang.String regex, int priority)
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract IEditorPartdoOpenEditor(IWorkbenchPage page, org.eclipse.emf.common.util.URI uri)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)java.lang.StringtoString()
 
- 
- 
- 
Constructor Detail- 
Defaultpublic Default() 
 - 
Defaultpublic Default(java.lang.String id, java.lang.String name, ImageDescriptor icon, java.lang.String regex, int priority)
 
- 
 - 
Method Detail- 
getIDpublic java.lang.String getID() - Specified by:
- getIDin interface- CDOEditorOpener
 
 - 
getNamepublic java.lang.String getName() - Specified by:
- getNamein interface- CDOEditorOpener
 
 - 
getIconpublic ImageDescriptor getIcon() - Specified by:
- getIconin interface- CDOEditorOpener
 
 - 
getPrioritypublic final int getPriority() Description copied from interface:CDOEditorOpenerReturns the priority of this editor opener. Usually used to choose between several editor openers that match the same repository URI.- Specified by:
- getPriorityin interface- CDOEditorOpener
 
 - 
getRegexpublic final java.lang.String getRegex() Description copied from interface:CDOEditorOpenerReturns the regular expression that determines if the editor opener can open a certain URI.- Specified by:
- getRegexin interface- CDOEditorOpener
 
 - 
matchesRegexpublic final boolean matchesRegex(org.eclipse.emf.common.util.URI uri) Description copied from interface:CDOEditorOpenerChecks if the URI matches the regular expression of this editor opener.- Specified by:
- matchesRegexin interface- CDOEditorOpener
 
 - 
openEditorpublic IEditorPart openEditor(IWorkbenchPage page, org.eclipse.emf.common.util.URI uri) - Specified by:
- openEditorin interface- CDOEditorOpener
 
 - 
doOpenEditorprotected abstract IEditorPart doOpenEditor(IWorkbenchPage page, org.eclipse.emf.common.util.URI uri) 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 
- 
 
-