Package org.jampa.gui.actions

Examples of org.jampa.gui.actions.VolumeMuteAction


      }
    });
   
    btnVolumeMute.addSelectionListener(new SelectionAdapter() {
      public void widgetSelected(SelectionEvent e) {
        new VolumeMuteAction().run();
      }
    });   
  }
View Full Code Here


    MenuItem volumeMuteItem = new MenuItem(volumeItemMenu, SWT.PUSH);
    volumeMuteItem.setText(Messages.getString("TrayController.VolumeMute")); //$NON-NLS-1$
    volumeMuteItem.setImage(_volumeMuteImage);
    volumeMuteItem.addSelectionListener(new SelectionAdapter() {
      public void widgetSelected(SelectionEvent e) {
        new VolumeMuteAction().run();
      }
    });
   
    new MenuItem(volumeItemMenu, SWT.SEPARATOR);
   
View Full Code Here

    /**
     * Volume actions.
     */
    volumeMuteAction = new Action(Messages.getString("PlayerView.VolumeMute"), SWT.TOGGLE) {
      public void run() {
        new VolumeMuteAction().run();
      }
    };
    volumeMuteAction.setImageDescriptor(ToolbarImageFactory.getInstance().getImageDescriptor("volumemute", _toolbarSize));
    volumeMuteAction.setEnabled(false);
   
View Full Code Here

    volumeUpAction.setActionDefinitionId("Jampa.menuVolumeUp");
    handlerService.activateHandler("Jampa.menuVolumeUp", new ActionHandler(volumeUpAction));
   
    volumeMuteAction = new Action(Messages.getString("Menu.Actions.VolumeMute"), SWT.NONE) {
      public void run() {
        new VolumeMuteAction().run();
      }
    };
    volumeMuteAction.setImageDescriptor(Activator.getImageDescriptor("/icons/volumemute_16.png"));
    volumeMuteAction.setActionDefinitionId("Jampa.menuVolumeMute");
    handlerService.activateHandler("Jampa.menuVolumeMute", new ActionHandler(volumeMuteAction));
View Full Code Here

TOP

Related Classes of org.jampa.gui.actions.VolumeMuteAction

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.