protected AvailableDistributionPage(String pageName) {
super(pageName);
// TODO check if configuration exists
- CdmStore.getCurrentSessionManager().bindNullSession(this);
+ CdmStore.getCurrentSessionManager().bindNullSession();
}
/*
IPreferenceStore preferenceStore = PreferencesUtil.getPreferenceStore();
String checkedValues = preferenceStore.getString(PreferencesUtil.DISTRIBUTION_AREA_OCCURENCE_STATUS);
String grayedValues = preferenceStore.getString(PreferencesUtil.DISTRIBUTION_AREA_OCCURENCE_STATUS_GRAYED);
- setTitle("Select areas for ChecklistEditor");
+ setTitle("Select areas for Distribution Editor");
setDescription("In order to be able to modify and see the distribution status of taxa,\n"
+ "you have to select the areas which you like to see.");
Composite composite = new Composite(parent, SWT.NULL);
this.viewer.setGrayed(element, false);
int length = tcp.getChildren(element).length;
if(length>1){
+ this.viewer.expandToLevel(element, CheckboxTreeViewer.ALL_LEVELS);
this.viewer.setSubtreeChecked(element, checked);
}
}