public interface CDOEditorOpener
Modifier and Type | Interface and Description |
---|---|
static class |
CDOEditorOpener.Default |
static class |
CDOEditorOpener.Registry |
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_PRIORITY |
Modifier and Type | Method and Description |
---|---|
ImageDescriptor |
getIcon() |
String |
getID() |
String |
getName() |
int |
getPriority()
Returns the priority of this editor opener.
|
String |
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.
|
IEditorPart |
openEditor(IWorkbenchPage page,
URI uri) |
static final int DEFAULT_PRIORITY
String getID()
String getName()
ImageDescriptor getIcon()
int getPriority()
String getRegex()
boolean matchesRegex(URI uri)
IEditorPart openEditor(IWorkbenchPage page, URI uri)
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