Search in sources :

Example 1 with GuardedTemplateFigure

use of org.whole.lang.semantics.ui.figures.GuardedTemplateFigure in project whole by wholeplatform.

the class IterationPointPart method createFigure.

protected IFigure createFigure() {
    GuardedTemplateFigure guardedTemplateFigure = new GuardedTemplateFigure("for");
    guardedTemplateFigure.showAsStageDown(true);
    return guardedTemplateFigure;
}
Also used : GuardedTemplateFigure(org.whole.lang.semantics.ui.figures.GuardedTemplateFigure)

Example 2 with GuardedTemplateFigure

use of org.whole.lang.semantics.ui.figures.GuardedTemplateFigure in project whole by wholeplatform.

the class ForTemplatePart method refreshVisuals.

@Override
protected void refreshVisuals() {
    ForTemplate entity = getModelEntity();
    GuardedTemplateFigure f = (GuardedTemplateFigure) getFigure();
    f.showAsStageDown(SemanticsUtils.inStageDownContext(entity));
}
Also used : GuardedTemplateFigure(org.whole.lang.semantics.ui.figures.GuardedTemplateFigure) ForTemplate(org.whole.lang.semantics.model.ForTemplate)

Example 3 with GuardedTemplateFigure

use of org.whole.lang.semantics.ui.figures.GuardedTemplateFigure in project whole by wholeplatform.

the class ConditionPointPart method createFigure.

protected IFigure createFigure() {
    GuardedTemplateFigure guardedTemplateFigure = new GuardedTemplateFigure("if");
    guardedTemplateFigure.showAsStageDown(true);
    return guardedTemplateFigure;
}
Also used : GuardedTemplateFigure(org.whole.lang.semantics.ui.figures.GuardedTemplateFigure)

Example 4 with GuardedTemplateFigure

use of org.whole.lang.semantics.ui.figures.GuardedTemplateFigure in project whole by wholeplatform.

the class IfTemplatePart method refreshVisuals.

@Override
protected void refreshVisuals() {
    IfTemplate entity = getModelEntity();
    GuardedTemplateFigure f = (GuardedTemplateFigure) getFigure();
    f.showAsStageDown(SemanticsUtils.inStageDownContext(entity));
}
Also used : GuardedTemplateFigure(org.whole.lang.semantics.ui.figures.GuardedTemplateFigure) IfTemplate(org.whole.lang.semantics.model.IfTemplate)

Aggregations

GuardedTemplateFigure (org.whole.lang.semantics.ui.figures.GuardedTemplateFigure)4 ForTemplate (org.whole.lang.semantics.model.ForTemplate)1 IfTemplate (org.whole.lang.semantics.model.IfTemplate)1