use of org.whole.lang.java.model.ImportDeclaration in project whole by wholeplatform.
the class ImportDeclarationPart method refreshVisuals.
protected void refreshVisuals() {
ImportDeclaration entity = getModelEntity();
ImportModifier m1 = entity.getStatic();
if (DataTypeUtils.getDataKind(m1).isBoolean())
getImportDeclarationFigure().setStaticModifier(m1.wBooleanValue());
else
getImportDeclarationFigure().setStaticModifier(false);
ImportModifier m2 = entity.getOnDemand();
if (DataTypeUtils.getDataKind(m2).isBoolean())
getImportDeclarationFigure().setOnDemandModifier(m2.wBooleanValue());
else
getImportDeclarationFigure().setOnDemandModifier(false);
}
use of org.whole.lang.java.model.ImportDeclaration in project whole by wholeplatform.
the class ImportDeclarationPart method getModelSpecificChildren.
protected List<IEntity> getModelSpecificChildren() {
List<IEntity> list = new ArrayList<IEntity>(1);
ImportDeclaration entity = getModelEntity();
list.add(entity.getName());
return list;
}
Aggregations