use of org.talend.designer.gefabstractmap.figures.VarNodeExpression in project tdi-studio-se by Talend.
the class VarEntityFigure method createEntityItems.
@Override
protected void createEntityItems(TableEntityElement entityElement) {
expression = new VarNodeExpression();
expression.setText(getExpressionText());
type = new ComboCellLabel();
type.setDirectEditType(DirectEditType.VAR_NODE_TYPE);
type.setText(getTypeDisplayValue(getType(), isNullable()));
type.setLabelAlignment(PositionConstants.LEFT);
type.setBorder(new CompoundBorder(new ColumnBorder(), new RowBorder(2, 5, 2, -1)));
entityElement.add(expression);
entityElement.add(type);
entityElement.add(createVariableContainer());
}
Aggregations