FeatureTreeEditorComposite featureTreeEditorComposite = new FeatureTreeEditorComposite(composite_3, SWT.BORDER);
featureTreeEditorComposite.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true, 1, 1));
featureTreeEditorComposite.getComposite_buttons().setVisible(false);
- featureTreeEditorComposite.getText_title().setEnabled(false);
return featureTreeEditorComposite;
}
text_title = new Text(composite_treeTitle, SWT.BORDER);
text_title.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1));
+ text_title.setEnabled(false);
btnOpenFeatureTree = new Button(this, SWT.NONE);
btnOpenFeatureTree.setLayoutData(new GridData(SWT.CENTER, SWT.CENTER, false, false, 1, 1));
getText_title().removeModifyListener(modifyListener);
getText_title().setText(featureTree.getTitleCache());
getText_title().addModifyListener(modifyListener);
+ getText_title().setEnabled(true);
setButtonsEnabled(true);
+ text_title.setEnabled(true);
}
private void setButtonsEnabled(boolean enabled){