|
Modelers | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.topcased.modeler.editor.GraphElementCreationFactory
public class GraphElementCreationFactory
Basic factory to create Graph Element objects.
creation : 8 nov. 2004
| Constructor Summary | |
|---|---|
GraphElementCreationFactory(ICreationUtils creation,
EClass eClass)
Constructor |
|
GraphElementCreationFactory(ICreationUtils creation,
EClass eClass,
java.lang.String presentation)
Constructor |
|
GraphElementCreationFactory(ICreationUtils creation,
java.lang.String type,
boolean isNode)
Constructor |
|
GraphElementCreationFactory(ICreationUtils creation,
java.lang.String type,
java.lang.String presentation,
boolean isNode)
Constructor |
|
| Method Summary | |
|---|---|
EClass |
getEClass()
|
EObject |
getNewModelObject()
Get the EObject that is instantiated |
java.lang.Object |
getNewObject()
|
java.lang.Object |
getObjectType()
|
java.lang.String |
getPresentation()
|
java.lang.String |
getType()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GraphElementCreationFactory(ICreationUtils creation,
EClass eClass)
creation - The class to initialize the objectseClass - the EClass to create
public GraphElementCreationFactory(ICreationUtils creation,
EClass eClass,
java.lang.String presentation)
creation - The class to initialize the objectseClass - the EClass to createpresentation - the presentation of the graphical element
public GraphElementCreationFactory(ICreationUtils creation,
java.lang.String type,
boolean isNode)
creation - The class to initialize the objectstype - the type identifying the objectisNode -
public GraphElementCreationFactory(ICreationUtils creation,
java.lang.String type,
java.lang.String presentation,
boolean isNode)
creation - The class to initialize the objectstype - the type identifying the objectpresentation - the presentation of the graphical elementisNode - | Method Detail |
|---|
public EObject getNewModelObject()
public java.lang.Object getNewObject()
getNewObject in interface org.eclipse.gef.requests.CreationFactoryCreationFactory.getNewObject()public java.lang.Object getObjectType()
getObjectType in interface org.eclipse.gef.requests.CreationFactoryCreationFactory.getObjectType()public java.lang.String getPresentation()
public EClass getEClass()
public java.lang.String getType()
|
Modelers | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.