public static class CDOEditorOpener.Registry extends Container<CDOEditorOpener>
| Modifier and Type | Class and Description |
|---|---|
static class |
CDOEditorOpener.Registry.EditorOpenerDescriptor |
IContainer.Modifiable<E>, IContainer.Persistable<E>, IContainer.Persistence<E>ILifecycle.DeferrableActivation| Modifier and Type | Field and Description |
|---|---|
static CDOEditorOpener.Registry |
INSTANCE |
| Constructor and Description |
|---|
Registry() |
| Modifier and Type | Method and Description |
|---|---|
void |
addEditorOpener(CDOEditorOpener editorOpener) |
protected void |
doActivate() |
CDOEditorOpener |
getEditorOpener(String id) |
CDOEditorOpener[] |
getEditorOpeners(URI uri) |
CDOEditorOpener[] |
getElements() |
boolean |
isEmpty() |
IEditorPart |
openEditor(IWorkbenchPage page,
URI uri) |
void |
readExtensions() |
void |
removeEditorOpener(CDOEditorOpener editorOpener) |
fireContainerEvent, fireContainerEvent, fireContainerEvent, fireElementAddedEvent, fireElementRemovedEvent, fireElementsAddedEvent, fireElementsRemovedEvent, fireEvent, newContainerEvent, newContainerEventactivate, checkActive, checkArg, checkArg, checkInactive, checkNull, checkState, checkState, deactivate, deferredActivate, doAfterActivate, doBeforeActivate, doBeforeDeactivate, doDeactivate, dump, getLifecycleState, isActive, isDeferredActivation, toStringaddListener, fireEvent, fireEvent, fireThrowable, firstListenerAdded, getListeners, getNotificationService, hasListeners, lastListenerRemoved, removeListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddListener, getListeners, hasListeners, removeListenerpublic static final CDOEditorOpener.Registry INSTANCE
public IEditorPart openEditor(IWorkbenchPage page, URI uri)
public CDOEditorOpener getEditorOpener(String id)
public CDOEditorOpener[] getEditorOpeners(URI uri)
public void addEditorOpener(CDOEditorOpener editorOpener)
public void removeEditorOpener(CDOEditorOpener editorOpener)
public CDOEditorOpener[] getElements()
public boolean isEmpty()
isEmpty in interface IContainer<CDOEditorOpener>isEmpty in class Container<CDOEditorOpener>protected void doActivate()
throws Exception
doActivate in class LifecycleExceptionpublic void readExtensions()
Copyright (c) 2011-2015 Eike Stepper (Berlin, Germany) and others.