use of org.whole.lang.model.IEntity in project whole by wholeplatform.
the class FolderPart method getModelSpecificChildren.
protected List<IEntity> getModelSpecificChildren() {
Folder entity = getModelEntity();
List<IEntity> children = new ArrayList<IEntity>(3);
children.add(entity.getPath());
children.add(entity.getPersistence());
children.add(entity.getContent());
return children;
}
use of org.whole.lang.model.IEntity in project whole by wholeplatform.
the class ReusePart method getModelSpecificChildren.
protected List<IEntity> getModelSpecificChildren() {
Reuse entity = getModelEntity();
// FIXME
// if (EntityUtils.isResolver(entity.getAdapted())) {
// InterpretModelRunnable runnable = new InterpretModelRunnable(
// getViewer().getContext(), getViewer().getContextBindings(), "Derive reusable");
// if (runnable.getBindings().wIsSet("self"))
// runnable.getBindings().wSet("self", entity);
// else {
// runnable.getBindings().wDef("self", entity);
// runnable.getBindings().wDefValue("viewer", getViewer());
// }
//
// final RunnableJob job = new RunnableJob("Executing Reuse operation...", runnable);
// job.setUser(false);
// job.setPriority(Job.INTERACTIVE);
// job.schedule();
// }
List<IEntity> children = new ArrayList<IEntity>(5);
children.add(entity.getResource());
children.add(entity.getOriginal());
children.add(entity.getAdapter());
children.add(entity.getAdapted());
// children.add(entity.getAdaptedRevision());
return children;
}
use of org.whole.lang.model.IEntity in project whole by wholeplatform.
the class TransitionPart method getModelSpecificChildren.
protected List<IEntity> getModelSpecificChildren() {
Transition entity = getModelEntity();
List<IEntity> list = new ArrayList<IEntity>(2);
list.add(entity.getSourceConfiguration());
list.add(entity.getTargetConfiguration());
return list;
}
use of org.whole.lang.model.IEntity in project whole by wholeplatform.
the class IfTemplateRowPart method getModelSpecificChildren.
protected List<IEntity> getModelSpecificChildren() {
IfTemplate entity = getModelEntity();
List<IEntity> list = new ArrayList<IEntity>(2);
list.add(entity.getExpression());
list.add(entity.getCondition());
return list;
}
use of org.whole.lang.model.IEntity in project whole by wholeplatform.
the class InputBindingRowPart method getModelSpecificChildren.
protected List<IEntity> getModelSpecificChildren() {
InputBinding entity = getModelEntity();
List<IEntity> list = new ArrayList<IEntity>(2);
list.add(entity.getIdentifier());
list.add(entity.getExpression());
return list;
}
Aggregations