/**
* @author pplitzner
* @date Apr 14, 2015
- *
*/
public class Messages extends NLS {
public static String LanguageMenuPreferences_warning;
-
public static String LanguageRepresentationPreferencePage_global;
public static String LanguageRepresentationPreferencePage_enable;
-
public static String ListComponent_ADD_PROVIDER;
-
-
public static String ListComponent_NO_PROVIDER_AVAILABLE;
-
-
public static String ListComponent_REMOVE_PROVIDER;
+
public static String DatabaseRepairPage_chooseParameter;
public static String DatabaseRepairPage_updateTaxonNodes;
public static String DatabaseRepairPage_toolTip_taxonNode;
public static String LoginDialog_USER_NAME;
public static String OpenCommonNameAreaWizardAdminHandler_COMMON_NAMES;
-
public static String OpenDistributionEditorWizardHandlerAdminE4_DISTRIBUTION;
-
public static String OpenDistributionEditorWizardHandlerE4_DISTRIBUTION;
-
public static String OrderPreferences_Restore;
public static String OrderPreferences_Sorting;
public static String OrderPreferencePage_NewNavigatorWindowRequired;
public static String CdmDataSourceViewPart_9;
public static String CdmViewerContextMenu_OPEN;
public static String CdmViewerContextMenu_OPEN_IN;
+
public static String ChangeConnectionHandler_ALREADY_CONNECTING;
public static String ChangeConnectionHandler_CURRENTLY_CONNECTING_ALREADY;
public static String ChangeConnectionHandler_CREATE_DATAMODEL;
public static String ChangeConnectionHandler_REALLY_CREATE_DATAMODEL;
public static String ChangeConnectionHandler_DATASOURCE_NOT_AVAILABLE;
public static String ChangeConnectionHandler_NOT_AVAILABLE_REASONS;
+
public static String CheckBoxTreeComposite_SELECT_DIRECT_CHILDREN;
+
public static String UpdateHandler_CHECK_UPDATE_JOB;
public static String UpdateHandler_INSTALL_JOB;
public static String UpdateHandler_NO_UPDATE_MESSAGE;
public static String UpdateHandler_UPDATES_FOUND_MESSAGE;
public static String UpdateHandler_UPDATES_FOUND_TITLE;
-
public static String UriWithLabelElement_COULD_NOT_OPEN_BROWSER;
public static String UriWithLabelElement_INVALID_URL;
public static String UriWithLabelElement_OPEN_EXTERNAL_BROWSER;
public static String CdmStoreConnector_UPDATE_DATASOUREC_OR_CHOOSE_NEW_DATASOURCE;
public static String CdmStoreConnector_UPDATE_EDITOR_OR_CHOOSE_COMPATIBLE_DATASOURCE;
-
public static String ConfiguratorComposite_CONFIGURE;
public static String DefinedTermDropAdapterE4_MOVE_DESCRIPTIONS;
public static String DefaultFeatureTreePreferenecs_0;
public static String DefaultFeatureTreePreferenecs_1;
-
public static String DefinedTermDropAdapterE4_TERM_TYPE_ERROR_MESSAGE;
-
-
public static String DefinedTermDropAdapterE4_TERM_TYPE_ERROR_TITLE;
-
public static String DefinedTermEditorE4_SAVE_MESSAGE;
public static String DefinedTermEditorE4_SAVE_TITLE;
public static String DefinedTermMenu_FEATURE_TREE;
public static String EditPasswordElement_PLEASE_CREATE_OR_SAVE_USER;
public static String EditPasswordElement_USERNAME_DOES_NOT_EXIST;
-
public static String EmptySection_NO_VIEW_IMPLEMENTED;
+
public static String PasswordWizard_COULD_NOT_CHANGE_PWD;
public static String PasswordWizard_OLD_PWD_INCORRECT;
public static String PasswordWizard_PROBLEM_WITH_CHANGING_PWD;
public static String PresenceAbsenceMenuPreferences_choose;
-
public static String PresenceAbsenceTermDetailElement_CHOOSE_COLOR;
public static String PresenceAbsenceTermDetailElement_COLOR_NOT_SET;
public static String PresenceAbsenceTermDetailElement_LABEL_COLOR;
public static String PresenceAbsenceTermDetailElement_LABEL_IS_ABSENT;
-
public static String PreservationMethodMenuPreferences_select;
public static String RankMenuPreferences_display;
-
-
public static String RankMenuPreferences_sort;
-
public static String RemotingLoginDialog_CHOOSE_COMPATIBLE_CDM_SERVER;
public static String RemotingLoginDialog_DEFAULT_LOGIN;
public static String RemotingLoginDialog_LABEL_ADVANCED;
public static String SupplementalDataPreferences_0;
-
public static String SupplementalDataSourcePreferences_SHOW_ID;
-
-
public static String SupplementalDataSourcePreferences_SHOW_NAMESPACE;
-
public static String SupplementalDataViewPart_VIEWER_NAME;
- public static String DeleteConfiguration_media_removeFromGallery;
+
+ public static String DeleteConfiguration_media_removeFromGallery;
public static String DeleteConfiguration_media_deleteIfUsedInTaxonDescription;
public static String DeleteConfiguration_media_deleteIfUsedSomeWhereElse;
public static String DeleteConfiguration_media_delete;
-
public static String DeleteResultMessagingUtils_ABORT;
public static String DeleteResultMessagingUtils_SUCCES;
public static String DeleteConfiguration_descriptiveDataSet_deleteAllAggregatedDesc;
public static String DeleteConfiguration_descriptiveDataSet_deleteSelection;
-
-
public static String DescriptionPreferences_1;
public static String NewGrantedAuthority_AlreadyInDb;
public static String SecundumPreference_description;
public static String SecundumPreferenceSwap_description;
-
public static String Tree;
public static String Computed_factualData_handling_description;
public static String StructuredDescriptionAggregationWizardPage_SELECT_LITERATURE_DESCRIPTION;
-
-
-
-
-
-
-
static {
// initialize resource bundle
NLS.initializeMessages(BUNDLE_NAME, Messages.class);
@Override
public void createControl(Composite parent) {
+
final Composite control = new Composite(parent, SWT.NULL);
GridLayout gridLayoutControl = new GridLayout();
gridLayoutControl.numColumns = 2;
control.setLayout(gridLayoutControl);
control.setLayoutData(new GridData(SWT.FILL, SWT.LEFT, true, true));
- //select between taxonnode filter for the whole descriptive dataset or the selected taxonnode/subtree
+ //taxon node filter
GridData gridDataRadioComposite = new GridData();
gridDataRadioComposite.horizontalSpan = 2;
GridLayout gridLayoutRadioComposite = new GridLayout();
}
});
+ // ... from selected taxon
checkUseSelectedTaxonNode= new Button(radioComposite, SWT.RADIO);
checkUseSelectedTaxonNode.setText(Messages.StructuredDescriptionAggregationWizardPage_SELECT_SELECTED_TAXA_ONLY);
checkUseSelectedTaxonNode.addListener(SWT.Selection, new Listener() {
setPageComplete(true);
}
}
-
-
});
-// configurator.getTaxonNodeFilter().getSubtreeFilter().stream().forEach(p ->uuidList.add(p.getUuid()));
-// List<String> propertyPaths = new ArrayList<>();
-// propertyPaths.add("taxon.name");
-// List<TaxonNode> nodeList = CdmApplicationState.getCurrentAppConfig().getTaxonNodeService().load(uuidList, propertyPaths);
-
+ //subtree selection
Label selectSubtreeLabel = new Label(control, SWT.NULL);
selectSubtreeLabel.setText(Messages.StructuredDescriptionAggregationWizardPage_SELECT_SUBTREE);
selectSubtreeLabel.setToolTipText(Messages.StructuredDescriptionAggregationWizardPage_TOOLTIP_SELECT_SUBTREE);
subTreeSelectionViewer = CheckboxTableViewer.newCheckList(control, SWT.BORDER | SWT.SINGLE);
-
subTreeSelectionViewer.setContentProvider(new ArrayContentProvider());
-
-
subTreeSelectionViewer.setLabelProvider(new LabelProvider(){
@Override
public String getText(Object element){
}
return null;
}
-
});
if (selectedNodes == null || selectedNodes.isEmpty()){
List<String> propertyPaths = new ArrayList<>();
propertyPaths.add("taxon.name");
nodeList = CdmApplicationState.getCurrentAppConfig().getTaxonNodeService().load(uuidList, propertyPaths);
-
subTreeSelectionViewer.setInput(nodeList);
-
}else{
subTreeSelectionViewer.setInput(selectedNodes);
}
Label scopeLabel = new Label(scopeComposite, SWT.NULL);
scopeLabel.setText(Messages.StructuredDescriptionAggregationWizardPage_SELECT_DEFINE_SCOPE);
-
-
+
checkIncludeUnpublishedTaxa = new Button(scopeComposite, SWT.CHECK);
checkIncludeUnpublishedTaxa.setText(Messages.StructuredDescriptionAggregationWizardPage_SELECT_UNPUBLISHED_TAXA);
checkIncludeUnpublishedTaxa.setSelection(true);
-
-
+
checkIncludeDefaultDescriptions = new Button(scopeComposite, SWT.CHECK);
checkIncludeDefaultDescriptions.setText(Messages.StructuredDescriptionAggregationWizardPage_SELECT_DEFAULT_DESCRIPTION);
- checkIncludeDefaultDescriptions.setSelection(true);
-
+
checkIncludeLiteratureDescriptions = new Button(scopeComposite, SWT.CHECK);
checkIncludeLiteratureDescriptions.setText(Messages.StructuredDescriptionAggregationWizardPage_SELECT_LITERATURE_DESCRIPTION);
- checkIncludeLiteratureDescriptions.setSelection(true);
-
+
+
Label higherRankLabel = new Label(control, SWT.NULL);
higherRankLabel.setText(Messages.DistributionAggregationWizardPage_HIGHEST_RANK);
/**
* @author pplitzner
* @date Apr 14, 2015
- *
*/
public class Messages extends NLS {
private static final String BUNDLE_NAME = "src/main/java/eu.etaxonomy.taxeditor.l10n.messages"; //$NON-NLS-1$
-
-
public static String LoginDialog_CANCEL_MESSAGE;
public static String LoginDialog_LOGIN;
public static String LoginDialog_PASSWORD;
public static String LoginDialog_USER_LOGIN;
public static String LoginDialog_USER_NAME;
-
-
public static String CdmDataSourceViewPart_1;
public static String CdmDataSourceViewPart_10;
public static String CdmDataSourceViewPart_11;
public static String ChangeConnectionHandler_DATASOURCE_NOT_AVAILABLE;
public static String ChangeConnectionHandler_NOT_AVAILABLE_REASONS;
-
-
-
public static String CdmStoreConnector_AUTHENTICATING_USER;
public static String CdmStoreConnector_CHECK_IF_EDITOR_IS_COMPATIBLE;
public static String CdmStoreConnector_CHECK_IF_NON_EMPTY;
public static String RemotingLoginDialog_SCHEMA_MISSING;
public static String RemotingLoginDialog_NO_SCHEMA;
-
-
-
-
-
-
-
-
-
-
-
static {
// initialize resource bundle
NLS.initializeMessages(BUNDLE_NAME, Messages.class);
private Messages() {
}
-}
+}
\ No newline at end of file