Datasets:
apcl
/

Modalities:
Text
Formats:
webdataset
Libraries:
Datasets
WebDataset
mcmillco's picture
init
e789b06
raw
history blame
572 Bytes
TDAT: private EditPart getPartForElement(Object modelElement) {
if (modelElement instanceof Docflow) {
return new DocflowPart();
}
if (modelElement instanceof State) {
return new StatePart();
}
if (modelElement instanceof Transition) {
return new TransitionPart();
}
if (modelElement instanceof Connection) {
return new ConnectionPart();
}
throw new RuntimeException("Can't create part for model element: "
+ ((modelElement != null) ? modelElement.getClass().getName()
: "null"));
}
COM: <s> maps an object to an edit part </s>