ICONS
************************************************************************************** */
/** Constant <code>ADD_ICON="add_icon"</code> */
+ 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 <code>TRASH_ICON="trash_icon"</code> */
public static final String TRASH_ICON = "trash_icon";
/** Constant <code>BROWSE_ICON="browse_icon"</code> */
public static final String BROWSE_ICON = "browse_icon";
+ public static final String SEARCH_ICON = "search_icon";
/** Constant <code>EDIT_ICON="edit_icon"</code> */
public static final String EDIT_ICON = "edit_icon";
/** Constant <code>EDIT_LOGO_ICON="edit_logo_icon"</code> */
public static final String HETEROTYPIC_SYN_ORIGINAL_ICON = "heterotypic_syn_original_icon";
/** Constant <code>MISAPPLIED_NAME_ICON="misapplied_icon"</code> */
public static final String MISAPPLIED_NAME_ICON = "misapplied_icon";
+ /** Constant <code>INVALID_TYPE_DESIGNATION_ICON="invalid_type_designation_icon"</code> */
+ public static final String INVALID_TYPE_DESIGNATION_ICON = "invalid_icon";
+ /** Constant <code>PRO_PARTE_SYNONYM_ICON="pro_parte_synonym_icon"</code> */
+ public static final String PRO_PARTE_SYNONYM_ICON = "proparte_syn_icon";
+ /** Constant <code>PRO_PARTE_SYNONYM_ICON="pro_parte_synonym_icon"</code> */
+ public static final String PARTIAL_SYNONYM_ICON = "partial_syn_icon";
/** Constant <code>CONCEPT_ICON="concept_icon"</code> */
public static final String CONCEPT_ICON = "concept_icon";
/** Constant <code>AUTONYM_ICON="autonym_icon"</code> */
/** Constant <code>LOCK_ICON="locked"</code> */
public static final String LOCK_ICON = "lock";
+ public static final String SYNCED = "synced";
+ public static final String REFRESH = "refresh";
+
/** Constant <code>LOCK_OPEN_ICON="lock_open"</code> */
public static final String LOCK_OPEN_ICON = "lock_open";
public static final String ORPHANED_TAXON = "orphaned_taxon";
/** Constant <code>EXPAND_ALL="expand_all"</code> */
public static final String EXPAND_ALL = "expand_all";
+ public static final String EXPAND = "expand";
/** Constant <code>COLLAPSE_ALL="collapse_all"</code> */
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";
} catch (MalformedURLException e) {
// should never happen
} catch (Exception e) {
- AbstractUtility.error(ImageResources.class, e);
+ MessagingUtils.error(ImageResources.class, e);
}
// logger.warn(ImageDescriptor.getMissingImageDescriptor().getClass());
* @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,
"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,
"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,
"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,
"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,