|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpl.edu.agh.cast.model.visual.backward.NodeFactory
public class NodeFactory
Class responsible for creating new nodes.
| Constructor Summary | |
|---|---|
NodeFactory(String prefix,
String imageId)
Creates new factory. |
|
| Method Summary | |
|---|---|
IDiagram |
getDiagram()
|
String |
getImageId()
Returns image identifier that should be used as an icon for entities created by this factory. |
Object |
getNewObject()
|
Object |
getObjectType()
|
void |
setDiagram(Diagram diagram)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NodeFactory(String prefix,
String imageId)
prefix - node id prefiximageId - id of nodes' image| Method Detail |
|---|
public Object getNewObject()
getNewObject in interface org.eclipse.gef.requests.CreationFactoryCreationFactory.getNewObject()public Object getObjectType()
getObjectType in interface org.eclipse.gef.requests.CreationFactoryCreationFactory.getObjectType()public String getImageId()
public IDiagram getDiagram()
public void setDiagram(Diagram diagram)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||