if ((ho instanceof ImageData)) name = VIEW;
if ((ho instanceof ImageData)) { name = VIEW; description = DESCRIPTION_IMAGE; putValue(Action.SHORT_DESCRIPTION, UIUtilities.formatToolTipText(description)); }
    protected void onDisplayChange(TreeImageDisplay selectedDisplay)    {        if (selectedDisplay == null) {            setEnabled(false);            return;        }        if (selectedDisplay.getParentDisplay() == null) { //root            name = BROWSE;            setEnabled(model.getSelectedBrowser().getBrowserType() ==                 Browser.IMAGES_EXPLORER);            return;        }        Object ho = selectedDisplay.getUserObject();        if (ho == null || !(ho instanceof DataObject)) setEnabled(false);        else {            Browser browser = model.getSelectedBrowser();            if (browser != null) {                if (browser.getSelectedDisplays().length > 1) {                    setEnabled(true);                    name = BROWSE;                    return;                }            }            if ((ho instanceof ImageData)) name = VIEW;              else name = BROWSE;            if (selectedDisplay instanceof TreeImageSet) {            	setEnabled(            			((TreeImageSet) selectedDisplay).getNumberItems() > 0);            } else            	setEnabled(true);        }    }