Package org.jamesii.gui.application.action

Examples of org.jamesii.gui.application.action.ActionSet


  @Override
  protected List<IAction> generateActions() {
    List<IAction> actions = new ArrayList<>();

    actions.add(new ActionSet("org.jamesii.laf", "Change Look and Feel",
        "org.jamesii.menu.main/org.jamesii.edit?after=org.jamesii.preferences",
        null));

    for (final LookAndFeelInfo info : LafManager.getLookAndFeels()) {
      ToggleAction action =
View Full Code Here


  protected List<IAction> generateActions() {
    List<PerspectivePreset> presets =
        PerspectivePresetManager.getAvailablePresets();

    if (presets != null) {
      actions.add(new ActionSet("org.jamesii.presets", "Perspective Presets",
          "org.jamesii.menu.main/org.jamesii.edit?last", null));
      actions.add(SeparatorAction.getSeparatorFor(
          "org.jamesii.menu.main/org.jamesii.edit?before=org.jamesii.presets",
          null));
View Full Code Here

          "Directories can't be null or an empty list!");
    }

    icon = IconManager.getIcon(IconIdentifier.FOLDER_SMALL, "Choose");

    actions.add(new ActionSet("org.jamesii.choose", null, "Choose", null, null,
        icon, this));

    for (int i = 0; i < directories.length; i++) {
      final File dir = directories[i];
      actions.add(new AbstractAction(directories[i].getName(), FileSystemView
View Full Code Here

TOP

Related Classes of org.jamesii.gui.application.action.ActionSet

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.