setName(names[modelIndex]);
name = names[modelIndex];
    public ColorModelAction(ImViewer model, int modelIndex)    {        super(model, NAME);        controlIndex(modelIndex);        putValue(Action.SHORT_DESCRIPTION,                 UIUtilities.formatToolTipText(DESCRIPTION));        this.modelIndex = modelIndex;        putValue(Action.NAME, names[modelIndex]);        putValue(Action.SMALL_ICON, getColorModelIcon(modelIndex));        setName(names[modelIndex]);    }