X-Git-Url: https://dev.e-taxonomy.eu/gitweb/taxeditor.git/blobdiff_plain/39b24584be36d58c503c55a48c1ae36ad9da0f7c..e91eca086e93ce0df47b3da31f6ba7116603384d:/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/model/ImageResources.java
diff --git a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/model/ImageResources.java b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/model/ImageResources.java
index 1aaf6cca8..15743e3a6 100644
--- a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/model/ImageResources.java
+++ b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/model/ImageResources.java
@@ -51,11 +51,17 @@ public class ImageResources {
ICONS
************************************************************************************** */
/** Constant ADD_ICON="add_icon"
*/
+ public static final String COPY_ICON = "copy_icon";
+ public static final String PASTE_ICON = "paste_icon";
public static final String ADD_ICON = "add_icon";
+ public static final String ADD_ICON_GREEN = "add_icon_green";
+ public static final String MIN_ICON = "min_icon";
+ public static final String ADD_EDIT = "add_edit";
/** Constant TRASH_ICON="trash_icon"
*/
public static final String TRASH_ICON = "trash_icon";
/** Constant BROWSE_ICON="browse_icon"
*/
public static final String BROWSE_ICON = "browse_icon";
+ public static final String SEARCH_ICON = "search_icon";
/** Constant EDIT_ICON="edit_icon"
*/
public static final String EDIT_ICON = "edit_icon";
/** Constant EDIT_LOGO_ICON="edit_logo_icon"
*/
@@ -76,6 +82,12 @@ public class ImageResources {
public static final String HETEROTYPIC_SYN_ORIGINAL_ICON = "heterotypic_syn_original_icon";
/** Constant MISAPPLIED_NAME_ICON="misapplied_icon"
*/
public static final String MISAPPLIED_NAME_ICON = "misapplied_icon";
+ /** Constant INVALID_TYPE_DESIGNATION_ICON="invalid_type_designation_icon"
*/
+ public static final String INVALID_TYPE_DESIGNATION_ICON = "invalid_icon";
+ /** Constant PRO_PARTE_SYNONYM_ICON="pro_parte_synonym_icon"
*/
+ public static final String PRO_PARTE_SYNONYM_ICON = "proparte_syn_icon";
+ /** Constant PRO_PARTE_SYNONYM_ICON="pro_parte_synonym_icon"
*/
+ public static final String PARTIAL_SYNONYM_ICON = "partial_syn_icon";
/** Constant CONCEPT_ICON="concept_icon"
*/
public static final String CONCEPT_ICON = "concept_icon";
/** Constant AUTONYM_ICON="autonym_icon"
*/
@@ -118,6 +130,9 @@ public class ImageResources {
/** Constant LOCK_ICON="locked"
*/
public static final String LOCK_ICON = "lock";
+ public static final String SYNCED = "synced";
+ public static final String REFRESH = "refresh";
+
/** Constant LOCK_OPEN_ICON="lock_open"
*/
public static final String LOCK_OPEN_ICON = "lock_open";
@@ -131,19 +146,52 @@ public class ImageResources {
public static final String ORPHANED_TAXON = "orphaned_taxon";
/** Constant EXPAND_ALL="expand_all"
*/
public static final String EXPAND_ALL = "expand_all";
+ public static final String EXPAND = "expand";
/** Constant COLLAPSE_ALL="collapse_all"
*/
public static final String COLLAPSE_ALL = "collapse_all";
+ public static final String SWITCH_VIEW_TYPE = "switch_view_type";
+ public static final String SETTINGS = "settings";
+ public static final String EXPORT = "export";
+ public static final String IMPORT = "import";
+
+ //derivative icons
public static final String TISSUE_SAMPLE_DERIVATE = "tissue_sample_derivate";
+ public static final String TISSUE_SAMPLE_DERIVATE_CHARACTER_DATA = "tissue_sample_derivate_character_data";
public static final String DNA_SAMPLE_DERIVATE = "dna_sample_derivate";
+ public static final String DNA_SAMPLE_DERIVATE_CHARACTER_DATA = "dna_sample_derivate_character_data";
public static final String FIELD_UNIT = "field_unit";
+ public static final String FIELD_UNIT_CHARACTER_DATA = "field_unit_character_data";
public static final String SPECIMEN_DERIVATE = "specimen_derivate";
+ public static final String SPECIMEN_DERIVATE_TYPE = "specimen_derivate_type";
+ public static final String SPECIMEN_DERIVATE_CHARACTER_DATA = "specimen_derivate_character_data";
public static final String ARTWORK_DERIVATE = "artwork_derivate";
+ public static final String ARTWORK_DERIVATE_CHARACTER_DATA = "artwork_derivate_character_data";
public static final String SPECIMEN_SCAN_DERIVATE = "specimen_scan_derivate";
+ public static final String SPECIMEN_SCAN_DERIVATE_CHARACTER_DATA = "specimen_scan_derivate_character_data";
public static final String LIVING_PLANT_PHOTO_DERIVATE = "living_plant_photo_derivate";
+ public static final String LIVING_PLANT_PHOTO_DERIVATE_CHARACTER_DATA = "living_plant_photo_derivate_character_data";
+ public static final String DETAIL_IMAGE_DERIVATE = "detail_image_derivate";
+ public static final String DETAIL_IMAGE_DERIVATE_CHARACTER_DATA = "detail_image_derivate_character_data";
public static final String SEQUENCE_DERIVATE = "sequence_derivate";
public static final String AMPLIFICATION_DERIVATE = "amplification_derivate";
public static final String SINGLE_READ_DERIVATE = "single_read_derivate";
+ public static final String SINGLE_READ_DERIVATE_MULTILINK = "single_read_derivate_multilink";
+ public static final String DEFAULT_DERIVATIVE = "default_derivate";
+
+ public static final String CHARACTER_DATA_DERIVATE = "character_data_derivate";
+
+ public static final String WEB = "web";
+ public static final String DATE = "dates";
+
+ public static final String FLAT = "flat";
+ public static final String HIERARCHICAL = "hierarchical";
+
+ public static final String LIGHT_BULB = "light_bulb";
+ public static final String HELP_TOPIC = "help_icon";
+ public static final String VALIDATE_ICON = "VALIDATE_ICON";
+ public static final String FUNNEL_ICON = "FUNNEL_ICON";
+ public static final String FUNNEL_ICON_EXCLAMATION = "FUNNEL_ICON_EXCLAMATION";
@@ -196,7 +244,7 @@ public class ImageResources {
} catch (MalformedURLException e) {
// should never happen
} catch (Exception e) {
- AbstractUtility.error(ImageResources.class, e);
+ MessagingUtils.error(ImageResources.class, e);
}
// logger.warn(ImageDescriptor.getMissingImageDescriptor().getClass());
@@ -239,8 +287,18 @@ public class ImageResources {
* @param registry a {@link org.eclipse.jface.resource.ImageRegistry} object.
*/
protected void initializeImageRegistry(ImageRegistry registry) {
+ registerImage(registry, COPY_ICON,
+ "copy_edit.png");
+ registerImage(registry, PASTE_ICON,
+ "paste_edit.png");
registerImage(registry, ADD_ICON,
"add_no_bg.gif");
+ registerImage(registry, ADD_ICON_GREEN,
+ "add.gif");
+ registerImage(registry, MIN_ICON,
+ "min.gif");
+ registerImage(registry, ADD_EDIT,
+ "add_edit.gif");
registerImage(registry, TRASH_ICON,
"trash.gif");
registerImage(registry, EDIT_ICON,
@@ -265,6 +323,12 @@ public class ImageResources {
"homotypic_syn_hetero_group.gif");
registerImage(registry, MISAPPLIED_NAME_ICON,
"misapplied_no_bg.gif");
+ registerImage(registry, INVALID_TYPE_DESIGNATION_ICON,
+ "invalid.gif");
+ registerImage(registry, PRO_PARTE_SYNONYM_ICON,
+ "proparte-bright.gif");
+ registerImage(registry, PARTIAL_SYNONYM_ICON,
+ "proparte-dark.gif");
registerImage(registry, CONCEPT_ICON,
"concept_no_bg.gif");
registerImage(registry, AUTONYM_ICON,
@@ -313,34 +377,97 @@ public class ImageResources {
"orphaned.gif");
registerImage(registry, EXPAND_ALL,
"expandAll.jpg");
+ registerImage(registry, EXPAND,
+ "expand.gif");
registerImage(registry, COLLAPSE_ALL,
"collapseall.gif");
registerImage(registry, BROWSE_ICON,
"prj_obj.gif");
+ registerImage(registry, SEARCH_ICON,
+ "search.gif");
registerImage(registry, LOCK_ICON,
"lock.png");
+ registerImage(registry, SYNCED,
+ "synced.gif");
+ registerImage(registry, REFRESH,
+ "refresh.gif");
registerImage(registry, LOCK_OPEN_ICON,
"lock_open.png");
+ registerImage(registry, SWITCH_VIEW_TYPE,
+ "switch_view_type-16x16-32.png");
+ registerImage(registry, SETTINGS,
+ "settings.gif");
registerImage(registry, DNA_SAMPLE_DERIVATE,
"dna_derivate-16x16-32.png");
+ registerImage(registry, DNA_SAMPLE_DERIVATE_CHARACTER_DATA,
+ "dna_derivate_data-16x16-32.png");
registerImage(registry, FIELD_UNIT,
"fieldunit-16x16-32.png");
+ registerImage(registry, FIELD_UNIT_CHARACTER_DATA,
+ "fieldunit_data-16x16-32.png");
registerImage(registry, SPECIMEN_DERIVATE,
"specimen_derivate-16x16-32.png");
+ registerImage(registry, SPECIMEN_DERIVATE_TYPE,
+ "specimen_derivate_type-16x16-32.png");
+ registerImage(registry, SPECIMEN_DERIVATE_CHARACTER_DATA,
+ "specimen_derivate_data-16x16-32.png");
registerImage(registry, ARTWORK_DERIVATE,
"artwork_derivate-16x16-32.png");
+ registerImage(registry, ARTWORK_DERIVATE_CHARACTER_DATA,
+ "artwork_derivate_data-16x16-32.png");
registerImage(registry, SPECIMEN_SCAN_DERIVATE,
"specimen_scan_derivate-16x16-32.png");
+ registerImage(registry, SPECIMEN_SCAN_DERIVATE_CHARACTER_DATA,
+ "specimen_scan_derivate_data-16x16-32.png");
registerImage(registry, LIVING_PLANT_PHOTO_DERIVATE,
- "specimen_scan_derivate-16x16-32.png");
+ "living_plant_photo_derivate-16x16-32.png");
+ registerImage(registry, LIVING_PLANT_PHOTO_DERIVATE_CHARACTER_DATA,
+ "living_plant_photo_derivate_data-16x16-32.png");
+ registerImage(registry, DETAIL_IMAGE_DERIVATE,
+ "detail_image_derivate-16x16-32.png");
+ registerImage(registry, DETAIL_IMAGE_DERIVATE_CHARACTER_DATA,
+ "detail_image_derivate_data-16x16-32.png");
registerImage(registry, TISSUE_SAMPLE_DERIVATE,
"tissue_sample-16x16-32.png");
+ registerImage(registry, TISSUE_SAMPLE_DERIVATE_CHARACTER_DATA,
+ "tissue_sample_data-16x16-32.png");
registerImage(registry, SEQUENCE_DERIVATE,
"sequence_derivate-16x16-32.png");
registerImage(registry, AMPLIFICATION_DERIVATE,
"amplification_derivate-16x16-32.png");
registerImage(registry, SINGLE_READ_DERIVATE,
- "single_read-16x16-32.png");
+ "single_read_derivate-16x16-32.png");
+ registerImage(registry, SINGLE_READ_DERIVATE_MULTILINK,
+ "single_read_derivate_multilink-16x16-32.png");
+ registerImage(registry, CHARACTER_DATA_DERIVATE,
+ "character_data_derivate-16x16-32.png");
+ registerImage(registry, DEFAULT_DERIVATIVE,
+ "default_derivate-16x16-32.png");
+ registerImage(registry, EXPORT,
+ "export.gif");
+ registerImage(registry, IMPORT,
+ "import_wiz.gif");
+
+ registerImage(registry, WEB,
+ "web.gif");
+ registerImage(registry, DATE,
+ "dates.gif");
+
+ registerImage(registry, FLAT,
+ "flat.gif");
+ registerImage(registry, HIERARCHICAL,
+ "hierarchical.gif");
+ registerImage(registry, LIGHT_BULB,
+ "smartmode_co.gif");
+ registerImage(registry, HELP_TOPIC,
+ "help_topic.gif");
+ registerImage(registry, VALIDATE_ICON,
+ "validate.gif");
+ registerImage(registry, FUNNEL_ICON,
+ "funnel-icon.png");
+ registerImage(registry, FUNNEL_ICON_EXCLAMATION,
+ "funnel-exclamation-icon.png");
+
}
private void registerImage(ImageRegistry registry, String key,