use of org.talend.designer.gefabstractmap.figures.TextCellLabel in project tdi-studio-se by Talend.
the class GlobalMapKeysEntityFigure method createEntityItems.
@Override
protected void createEntityItems(TableEntityElement entityElement) {
this.globalMapNode = getEntityManager().getModel();
expression = new ExpressionFigure();
expression.setText(globalMapNode.getExpression());
globalMapKey = new TextCellLabel();
globalMapKey.setDirectEditType(DirectEditType.NODE_NAME);
globalMapKey.setText(globalMapNode.getName());
globalMapKey.setLabelAlignment(PositionConstants.LEFT);
deleteImage = new ImageFigure(ImageProviderMapper.getImage(ImageInfo.DELETE));
entityElement.add(expression);
entityElement.add(globalMapKey);
entityElement.add(deleteImage);
addCheckListener();
}
Aggregations