Package fr.soleil.bossanova.gui.action

Examples of fr.soleil.bossanova.gui.action.ShowViewAction


    winMenu.setMnemonic('w');
    JMenuItem restoreSplitMenuItem = new JMenuItem(
        new DefaultWindowLayoutAction(this));
    winMenu.add(restoreSplitMenuItem);

    winMenu.add(new ShowViewAction(viewFactory
        .getView(BossaNovaViewFactory.BATCH_PANEL)));
    winMenu.add(new ShowViewAction(viewFactory
        .getView(BossaNovaViewFactory.DIRECTOR_PANEL)));
    winMenu.add(new ShowViewAction(viewFactory
        .getView(BossaNovaViewFactory.PARAMETERS_PANEL)));
    winMenu.add(new ShowViewAction(viewFactory
        .getView(BossaNovaViewFactory.VIEW_PANEL)));
    winMenu.add(new ShowViewAction(viewFactory
        .getView(BossaNovaViewFactory.LOG_PANEL)));
    menuBar.add(winMenu);

    StateMachine.getInstance().registerActionForState(
        StateMachine.MODEL_OPEN, HMIMessages.MENU_PREFS, menuBar);
View Full Code Here


        JMenu winMenu = new JMenu("Window");
        winMenu.setMnemonic('w');
        JMenuItem restoreSplitMenuItem = new JMenuItem(new DefaultWindowLayoutAction(this));
        winMenu.add(restoreSplitMenuItem);

        winMenu.add(new ShowViewAction(viewFactory.getView(BossaNovaViewFactory.BATCH_PANEL)));
        winMenu.add(new ShowViewAction(viewFactory.getView(BossaNovaViewFactory.DIRECTOR_PANEL)));
        winMenu.add(new ShowViewAction(viewFactory.getView(BossaNovaViewFactory.PARAMETERS_PANEL)));
        // Bug 17641
        // winMenu.add(new ShowViewAction(viewFactory
        // .getView(BossaNovaViewFactory.VIEW_PANEL)));
        // End Bug 17641
        winMenu.add(new ShowViewAction(viewFactory.getView(BossaNovaViewFactory.LOG_PANEL)));
        menuBar.add(winMenu);

        StateMachine.getInstance().registerActionForState(StateMachine.MODEL_OPEN, HMIMessages.MENU_PREFS, menuBar);
    }
View Full Code Here

    winMenu.setMnemonic('w');
    JMenuItem restoreSplitMenuItem = new JMenuItem(
        new DefaultWindowLayoutAction(this));
    winMenu.add(restoreSplitMenuItem);

    winMenu.add(new ShowViewAction(viewFactory
        .getView(BossaNovaViewFactory.BATCH_PANEL)));
    winMenu.add(new ShowViewAction(viewFactory
        .getView(BossaNovaViewFactory.DIRECTOR_PANEL)));
    winMenu.add(new ShowViewAction(viewFactory
        .getView(BossaNovaViewFactory.PARAMETERS_PANEL)));
    // Bug 17641
    //winMenu.add(new ShowViewAction(viewFactory
    //    .getView(BossaNovaViewFactory.VIEW_PANEL)));
    // End Bug 17641
    winMenu.add(new ShowViewAction(viewFactory
        .getView(BossaNovaViewFactory.LOG_PANEL)));
    menuBar.add(winMenu);

    StateMachine.getInstance().registerActionForState(
        StateMachine.MODEL_OPEN, HMIMessages.MENU_PREFS, menuBar);
View Full Code Here

    winMenu.setMnemonic('w');
    JMenuItem restoreSplitMenuItem = new JMenuItem(
        new DefaultWindowLayoutAction(this));
    winMenu.add(restoreSplitMenuItem);

    winMenu.add(new ShowViewAction(viewFactory
        .getView(BossaNovaViewFactory.BATCH_PANEL)));
    winMenu.add(new ShowViewAction(viewFactory
        .getView(BossaNovaViewFactory.DIRECTOR_PANEL)));
    winMenu.add(new ShowViewAction(viewFactory
        .getView(BossaNovaViewFactory.PARAMETERS_PANEL)));
    // Bug 17641
    //winMenu.add(new ShowViewAction(viewFactory
    //    .getView(BossaNovaViewFactory.VIEW_PANEL)));
    // End Bug 17641
    winMenu.add(new ShowViewAction(viewFactory
        .getView(BossaNovaViewFactory.LOG_PANEL)));
    menuBar.add(winMenu);

    StateMachine.getInstance().registerActionForState(
        StateMachine.MODEL_OPEN, HMIMessages.MENU_PREFS, menuBar);
View Full Code Here

    winMenu.setMnemonic('w');
    JMenuItem restoreSplitMenuItem = new JMenuItem(
        new DefaultWindowLayoutAction(this));
    winMenu.add(restoreSplitMenuItem);

    winMenu.add(new ShowViewAction(viewFactory
        .getView(BossaNovaViewFactory.BATCH_PANEL)));
    winMenu.add(new ShowViewAction(viewFactory
        .getView(BossaNovaViewFactory.DIRECTOR_PANEL)));
    winMenu.add(new ShowViewAction(viewFactory
        .getView(BossaNovaViewFactory.PARAMETERS_PANEL)));
    // Bug 17641
    //winMenu.add(new ShowViewAction(viewFactory
    //    .getView(BossaNovaViewFactory.VIEW_PANEL)));
    // End Bug 17641
    winMenu.add(new ShowViewAction(viewFactory
        .getView(BossaNovaViewFactory.LOG_PANEL)));
    menuBar.add(winMenu);

    StateMachine.getInstance().registerActionForState(
        StateMachine.MODEL_OPEN, HMIMessages.MENU_PREFS, menuBar);
View Full Code Here

    winMenu.setMnemonic('w');
    JMenuItem restoreSplitMenuItem = new JMenuItem(
        new DefaultWindowLayoutAction(this));
    winMenu.add(restoreSplitMenuItem);

    winMenu.add(new ShowViewAction(viewFactory
        .getView(BossaNovaViewFactory.BATCH_PANEL)));
    winMenu.add(new ShowViewAction(viewFactory
        .getView(BossaNovaViewFactory.DIRECTOR_PANEL)));
    winMenu.add(new ShowViewAction(viewFactory
        .getView(BossaNovaViewFactory.PARAMETERS_PANEL)));
    // Bug 17641
    //winMenu.add(new ShowViewAction(viewFactory
    //    .getView(BossaNovaViewFactory.VIEW_PANEL)));
    // End Bug 17641
    winMenu.add(new ShowViewAction(viewFactory
        .getView(BossaNovaViewFactory.LOG_PANEL)));
    menuBar.add(winMenu);

    StateMachine.getInstance().registerActionForState(
        StateMachine.MODEL_OPEN, HMIMessages.MENU_PREFS, menuBar);
View Full Code Here

    winMenu.setMnemonic('w');
    JMenuItem restoreSplitMenuItem = new JMenuItem(
        new DefaultWindowLayoutAction(this));
    winMenu.add(restoreSplitMenuItem);

    winMenu.add(new ShowViewAction(viewFactory
        .getView(BossaNovaViewFactory.BATCH_PANEL)));
    winMenu.add(new ShowViewAction(viewFactory
        .getView(BossaNovaViewFactory.DIRECTOR_PANEL)));
    winMenu.add(new ShowViewAction(viewFactory
        .getView(BossaNovaViewFactory.PARAMETERS_PANEL)));
    // Bug 17641
    //winMenu.add(new ShowViewAction(viewFactory
    //    .getView(BossaNovaViewFactory.VIEW_PANEL)));
    // End Bug 17641
    winMenu.add(new ShowViewAction(viewFactory
        .getView(BossaNovaViewFactory.LOG_PANEL)));
    menuBar.add(winMenu);

    StateMachine.getInstance().registerActionForState(
        StateMachine.MODEL_OPEN, HMIMessages.MENU_PREFS, menuBar);
View Full Code Here

    winMenu.setMnemonic('w');
    JMenuItem restoreSplitMenuItem = new JMenuItem(
        new DefaultWindowLayoutAction(this));
    winMenu.add(restoreSplitMenuItem);

    winMenu.add(new ShowViewAction(viewFactory
        .getView(BossaNovaViewFactory.BATCH_PANEL)));
    winMenu.add(new ShowViewAction(viewFactory
        .getView(BossaNovaViewFactory.DIRECTOR_PANEL)));
    winMenu.add(new ShowViewAction(viewFactory
        .getView(BossaNovaViewFactory.PARAMETERS_PANEL)));
    // Bug 17641
    //winMenu.add(new ShowViewAction(viewFactory
    //    .getView(BossaNovaViewFactory.VIEW_PANEL)));
    // End Bug 17641
    winMenu.add(new ShowViewAction(viewFactory
        .getView(BossaNovaViewFactory.LOG_PANEL)));
    menuBar.add(winMenu);

    StateMachine.getInstance().registerActionForState(
        StateMachine.MODEL_OPEN, HMIMessages.MENU_PREFS, menuBar);
View Full Code Here

    winMenu.setMnemonic('w');
    JMenuItem restoreSplitMenuItem = new JMenuItem(
        new DefaultWindowLayoutAction(this));
    winMenu.add(restoreSplitMenuItem);

    winMenu.add(new ShowViewAction(viewFactory
        .getView(BossaNovaViewFactory.BATCH_PANEL)));
    winMenu.add(new ShowViewAction(viewFactory
        .getView(BossaNovaViewFactory.DIRECTOR_PANEL)));
    winMenu.add(new ShowViewAction(viewFactory
        .getView(BossaNovaViewFactory.PARAMETERS_PANEL)));
    // Bug 17641
    //winMenu.add(new ShowViewAction(viewFactory
    //    .getView(BossaNovaViewFactory.VIEW_PANEL)));
    // End Bug 17641
    winMenu.add(new ShowViewAction(viewFactory
        .getView(BossaNovaViewFactory.LOG_PANEL)));
    menuBar.add(winMenu);

    StateMachine.getInstance().registerActionForState(
        StateMachine.MODEL_OPEN, HMIMessages.MENU_PREFS, menuBar);
View Full Code Here

    winMenu.setMnemonic('w');
    JMenuItem restoreSplitMenuItem = new JMenuItem(
        new DefaultWindowLayoutAction(this));
    winMenu.add(restoreSplitMenuItem);

    winMenu.add(new ShowViewAction(viewFactory
        .getView(BossaNovaViewFactory.BATCH_PANEL)));
    winMenu.add(new ShowViewAction(viewFactory
        .getView(BossaNovaViewFactory.DIRECTOR_PANEL)));
    winMenu.add(new ShowViewAction(viewFactory
        .getView(BossaNovaViewFactory.PARAMETERS_PANEL)));
    // Bug 17641
    //winMenu.add(new ShowViewAction(viewFactory
    //    .getView(BossaNovaViewFactory.VIEW_PANEL)));
    // End Bug 17641
    winMenu.add(new ShowViewAction(viewFactory
        .getView(BossaNovaViewFactory.LOG_PANEL)));
    menuBar.add(winMenu);

    StateMachine.getInstance().registerActionForState(
        StateMachine.MODEL_OPEN, HMIMessages.MENU_PREFS, menuBar);
View Full Code Here

TOP

Related Classes of fr.soleil.bossanova.gui.action.ShowViewAction

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.