Package org.jampa.gui.actions

Examples of org.jampa.gui.actions.SeekAction


      }
    });
   
    btnSeekMinus.addSelectionListener(new SelectionAdapter() {
      public void widgetSelected(SelectionEvent arg0) {
        new SeekAction(-Controller.getInstance().getPreferenceStore().getInt(PreferenceConstants.PLAYERVIEW_SEEK_STEP)).run();
      }
    });
   
    btnSeekPlus.addSelectionListener(new SelectionAdapter() {
      public void widgetSelected(SelectionEvent arg0) {
        new SeekAction(Controller.getInstance().getPreferenceStore().getInt(PreferenceConstants.PLAYERVIEW_SEEK_STEP)).run();
      }
    });
   
    scSlider.addMouseListener(new MouseListener() {
      public void mouseDown(MouseEvent e) {
View Full Code Here


    pauseAction.setImageDescriptor(ToolbarImageFactory.getInstance().getImageDescriptor("pause", _toolbarSize));
    pauseAction.setEnabled(false);   
   
    seekMinusAction = new Action("-" + Integer.toString(seekStep) + " " + Messages.getString("PlayerView.Seconds"), SWT.NONE) {
      public void run() {
        new SeekAction(-Controller.getInstance().getPreferenceStore().getInt(PreferenceConstants.PLAYERVIEW_SEEK_STEP)).run();
      }
    };
    seekMinusAction.setImageDescriptor(ToolbarImageFactory.getInstance().getImageDescriptor("seekminus", _toolbarSize));
    seekMinusAction.setEnabled(false);
   
    previousAction = new Action(Messages.getString("PlayerView.BtnPrevious"), SWT.NONE) {
      public void run() {
        new PlayPreviousAction().run();
      }
    };
    previousAction.setImageDescriptor(ToolbarImageFactory.getInstance().getImageDescriptor("previous", _toolbarSize));
    previousAction.setEnabled(false);
   
    nextAction = new Action(Messages.getString("PlayerView.BtnNext"), SWT.NONE) {
      public void run() {
        new PlayNextAction().run();
      }
    };
    nextAction.setImageDescriptor(ToolbarImageFactory.getInstance().getImageDescriptor("next", _toolbarSize));
    nextAction.setEnabled(false);
   
    seekPlusAction = new Action("+" + Integer.toString(seekStep) + " " + Messages.getString("PlayerView.Seconds"), SWT.NONE) {
      public void run() {
        new SeekAction(Controller.getInstance().getPreferenceStore().getInt(PreferenceConstants.PLAYERVIEW_SEEK_STEP)).run();
      }
    };
    seekPlusAction.setImageDescriptor(ToolbarImageFactory.getInstance().getImageDescriptor("seekplus", _toolbarSize));
    seekPlusAction.setEnabled(false);
   
View Full Code Here

TOP

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

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.