use of org.hibernate.eclipse.graph.figures.EditableLabel in project jbosstools-hibernate by jbosstools.
the class PropertyEditPart method createFigure.
protected IFigure createFigure() {
IProperty property = ((PropertyViewAdapter) getModel()).getProperty();
String label = property.getName();
Label propertyLabel = new EditableLabel(label);
propertyLabel.setIcon(((PropertyViewAdapter) getModel()).getImage());
return propertyLabel;
}
use of org.hibernate.eclipse.graph.figures.EditableLabel in project jbosstools-hibernate by jbosstools.
the class ColumnEditPart method createFigure.
protected IFigure createFigure() {
IColumn column = ((ColumnViewAdapter) getModel()).getcolumn();
String label = column.getName();
Label columnLabel = new EditableLabel(label);
// columnLabel.setIcon(((ColumnViewAdapter)getModel()).getImage());
return columnLabel;
}
Aggregations