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, newContainerEvent
activate, checkActive, checkArg, checkArg, checkInactive, checkNull, checkState, checkState, deactivate, deferredActivate, doAfterActivate, doBeforeActivate, doBeforeDeactivate, doDeactivate, dump, getLifecycleState, isActive, isDeferredActivation, toString
addListener, fireEvent, fireEvent, fireThrowable, firstListenerAdded, getListeners, getNotificationService, hasListeners, lastListenerRemoved, removeListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addListener, getListeners, hasListeners, removeListener
public 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 Lifecycle
Exception
public void readExtensions()
Copyright (c) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html