public class ModelBridge
extends java.lang.Object
| Constructor and Description |
|---|
ModelBridge() |
| Modifier and Type | Method and Description |
|---|---|
protected Model |
constructModelFromGraph(com.mxgraph.view.mxGraph graph)
Construct the model from mxcells
|
protected com.mxgraph.model.mxCell |
convertModelStep(ModelStep step)
convert a step into the mx graph cell
|
protected com.mxgraph.model.mxCell |
convertParam(ModelParameter param) |
protected java.lang.Object |
fromMxCell(com.mxgraph.model.mxCell cell) |
protected javax.swing.ImageIcon |
getAssociatedIcon(ModelStep modelStep)
get the icon associated to the model step
|
protected java.lang.Object |
tryLoadObjectFromCell(com.mxgraph.model.mxCell cell)
Try load the model object, return null if it fails
|
protected java.lang.Object fromMxCell(com.mxgraph.model.mxCell cell)
throws java.lang.Exception
java.lang.Exceptionprotected java.lang.Object tryLoadObjectFromCell(com.mxgraph.model.mxCell cell)
cell - protected com.mxgraph.model.mxCell convertModelStep(ModelStep step) throws java.lang.Exception
step - java.lang.Exceptionprotected com.mxgraph.model.mxCell convertParam(ModelParameter param) throws java.lang.Exception
java.lang.Exceptionprotected Model constructModelFromGraph(com.mxgraph.view.mxGraph graph) throws java.lang.Exception
graph - java.lang.Exceptionprotected javax.swing.ImageIcon getAssociatedIcon(ModelStep modelStep)
modelStep -