import org.eclipse.ui.actions.CompoundContributionItem;
import eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView;
+import eu.etaxonomy.taxeditor.model.ImageResources;
/**
* Context menu for the SingleReads in the derivate hierarchy.
else{
item.setText("Link with taxon selection");
}
+ item.setImage(ImageResources.getImage(ImageResources.SYNCED));
item.addSelectionListener(new SelectionAdapterExtension(derivateView));
}
}
/** Constant <code>LOCK_ICON="locked"</code> */
public static final String LOCK_ICON = "lock";
+ public static final String SYNCED = "synced";
+
/** Constant <code>LOCK_OPEN_ICON="lock_open"</code> */
public static final String LOCK_OPEN_ICON = "lock_open";
"prj_obj.gif");
registerImage(registry, LOCK_ICON,
"lock.png");
+ registerImage(registry, SYNCED,
+ "synced.gif");
registerImage(registry, LOCK_OPEN_ICON,
"lock_open.png");
registerImage(registry, SWITCH_VIEW_TYPE,