|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.core.model.GraphicalFrameworkService
public final class GraphicalFrameworkService
A service for providing bridges to graphical editing frameworks.
Field Summary | |
---|---|
static String |
EXTENSION_POINT_ID
the extension point identifier. |
static String |
FW_GMF
framework identifier for GMF. |
static String |
FW_GRAPHITI
framework identifier for Graphiti. |
Method Summary | |
---|---|
static boolean |
containsDiagram(IWorkbenchPart part)
Tests whether the GraphicalFrameworkService instance can obtain Diagram data from the given WorkBenchPart (Editor or View). |
IGraphicalFrameworkBridge |
getBridge(Object object)
Retrieve the first suitable graphical editing framework bridge for the given object. |
static GraphicalFrameworkService |
getInstance()
Returns the singleton instance. |
boolean |
isSupported(Object object)
Check whether the given object is supported by any framework bridge. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String FW_GMF
public static final String FW_GRAPHITI
public static final String EXTENSION_POINT_ID
Method Detail |
---|
public static GraphicalFrameworkService getInstance()
public static boolean containsDiagram(IWorkbenchPart part)
part
- the corresponding WorkBenchPart, an Editor or View
public IGraphicalFrameworkBridge getBridge(Object object)
object
- a framework identifier, or an edit part, editor part, or notational object
UnsupportedPartException
- if there is no bridge available for the given objectpublic boolean isSupported(Object object)
object
- a framework identifier, or an edit part, editor part, or notational object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |