use of org.whole.lang.workflows.model.CreateJavaClassInstance in project whole by wholeplatform.
the class CreateJavaClassInstancePart method refreshVisuals.
@Override
protected void refreshVisuals() {
CreateJavaClassInstance entity = getModelEntity();
Expression e = entity.getConstructor();
String name = Matcher.matchImpl(WorkflowsEntityDescriptorEnum.StringLiteral, e) ? e.wStringValue() : "?";
int endIndex = name.indexOf('(');
if (endIndex > 0)
name = name.substring(0, endIndex);
getFigure().setConstructorName(name);
super.refreshVisuals();
}
use of org.whole.lang.workflows.model.CreateJavaClassInstance in project whole by wholeplatform.
the class CreateJavaClassInstancePart method getModelSpecificChildren.
protected List<IEntity> getModelSpecificChildren() {
CreateJavaClassInstance entity = getModelEntity();
List<IEntity> children = new ArrayList<IEntity>(6);
children.add(entity.getLabel());
children.add(entity.getClassName());
children.add(entity.getConstructor());
// children.add(entity.getTypeArguments());
children.add(entity.getArguments());
children.add(entity.getResult());
return children;
}
Aggregations