Package com.mucommander.ui.action

Examples of com.mucommander.ui.action.ActionCategory


        // Go over all action ids
        Iterator<String> actionIds = ActionManager.getActionIds();
        while (actionIds.hasNext()) {
            String actionId = actionIds.next();
            ActionCategory category = ActionProperties.getActionCategory(actionId);
            // If the action has category and there is a primary shortcut assigned to it, add its id to the list of the category
            if (category != null && ActionKeymap.doesActionHaveShortcut(actionId))
                categoryToItsActionsWithShortcutsIdsMap.get(category).add(actionId);
        }
View Full Code Here


        combo.addItem(category);
     
      combo.addActionListener(new ActionListener() {

      public void actionPerformed(ActionEvent e) {
        final ActionCategory selectedActionCategory = (ActionCategory) combo.getSelectedItem();
        shortcutsTable.updateModel(new ShortcutsTable.ActionFilter() {
          @Override
                    public boolean accept(String actionId) {
            return selectedActionCategory.contains(actionId);
          }
        });
        tooltipBar.showDefaultMessage();
      }
      });
View Full Code Here

TOP

Related Classes of com.mucommander.ui.action.ActionCategory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.