    001package org.vishia.guiBzr;
    002
    003import java.util.TreeMap;
    004
    005import org.vishia.gral.ifc.GralButtonKeyMenu;
    006
    007public class BzrIdents
    008{
    009  TreeMap<String, GralButtonKeyMenu> idents = new TreeMap<String, GralButtonKeyMenu>();
    010
    011  void initIdents(MainData mainData) {
    012    idents.put("cleanSelectTable", new GralButtonKeyMenu(mainData.panels.guiSelectPanel.actionRefreshSelectTable
    013        ,"&Select/&Clean table", "&Clean table", "x","clean",0,0));
    014
    015    idents.put("statusCmpn", new GralButtonKeyMenu(mainData.panels.guiSelectPanel.actionGetStatus
    016        ,"&Component/get &Status", "get &Status", "x","status",0,0));
    017
    018    idents.put("revertAll", new GralButtonKeyMenu(mainData.mainAction.actionRevertWithTimestamp
    019        ,"&Component/&Revert", "&Revert", "x","revert", 0,0));
    020  };
    021
    022  GralButtonKeyMenu get(String key){ return idents.get(key); }
    023
    024}