|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.kaom.karma.ptolemy.figurecreation.PtolemyFetcher
public final class PtolemyFetcher
Class to fetch some stuff such as svg descriptions and ptolemy class instance from ptolemy.
Method Summary | |
---|---|
static List<EditorIcon> |
fetchIcons(NamedObj nObj)
Get the EditorIcons from a ptolemy NamedObj. |
static Document |
fetchSvgDoc(NamedObj nObj)
Gets the svg Document representing a ptolemy NamedObj. |
static NamedObj |
getPtolemyInstance(EObject object)
Get an instance of a Ptolemy class according to an EObjects annotation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static List<EditorIcon> fetchIcons(NamedObj nObj)
nObj
- the NamedObj
public static Document fetchSvgDoc(NamedObj nObj)
nObj
- the NamedObj
public static NamedObj getPtolemyInstance(EObject object)
object
- the object representing an ptolemy object. Should have an "ptolemyClass"
annotation.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |