protected final TermsManager termsManager;
protected final Typology typology;
- protected final boolean editable;
+ private final boolean editable;
private CmsIcon deleteIcon;
private CmsIcon addIcon;
private Composite highlight;
protected final CmsTheme theme;
-
+
public AbstractTermsPart(Composite parent, int style, Item item, TermsManager termsManager, String typology) {
super(parent, style, item);
if (item == null)
highlightColor = parent.getDisplay().getSystemColor(SWT.COLOR_GRAY);
}
+ public boolean isEditable() {
+ return editable;
+ }
+
protected void createHighlight(Composite block) {
highlight = new Composite(block, SWT.NONE);
highlight.setBackground(highlightColor);