com.application.areca.launcher.gui.menus
Class AppAction

java.lang.Object
  extended by com.application.areca.launcher.gui.menus.AppAction
All Implemented Interfaces:
java.util.EventListener, org.eclipse.swt.events.SelectionListener, org.eclipse.swt.internal.SWTEventListener

public class AppAction
extends java.lang.Object
implements org.eclipse.swt.events.SelectionListener


Author:
Stephane BRUNEL

Areca Build ID : 7299034069467778562

Constructor Summary
AppAction(java.lang.String resPrefixKey, org.eclipse.swt.graphics.Image image, org.eclipse.swt.graphics.Image bigImage, java.lang.String actionCommand)
           
AppAction(java.lang.String resPrefixKey, org.eclipse.swt.graphics.Image image, java.lang.String actionCommand)
           
AppAction(java.lang.String resPrefixKey, java.lang.String actionCommand)
           
 
Method Summary
static java.lang.String addMnemonic(java.lang.String label, char mnemonic)
           
 void addToMenu(org.eclipse.swt.widgets.Menu menu)
           
 void addToToolBar(org.eclipse.swt.widgets.ToolBar parent)
           
 org.eclipse.swt.graphics.Image getBigIcon()
           
 java.lang.String getCommand()
           
 org.eclipse.swt.graphics.Image getIcon()
           
 java.lang.String getLabel()
           
 char getMnemonic()
           
 java.lang.String getToolTip()
           
 boolean isEnabled()
           
 void setEnabled(boolean enabled)
           
 void widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent e)
           
 void widgetSelected(org.eclipse.swt.events.SelectionEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AppAction

public AppAction(java.lang.String resPrefixKey,
                 java.lang.String actionCommand)

AppAction

public AppAction(java.lang.String resPrefixKey,
                 org.eclipse.swt.graphics.Image image,
                 java.lang.String actionCommand)

AppAction

public AppAction(java.lang.String resPrefixKey,
                 org.eclipse.swt.graphics.Image image,
                 org.eclipse.swt.graphics.Image bigImage,
                 java.lang.String actionCommand)
Method Detail

addMnemonic

public static java.lang.String addMnemonic(java.lang.String label,
                                           char mnemonic)

getCommand

public java.lang.String getCommand()

getIcon

public org.eclipse.swt.graphics.Image getIcon()

getLabel

public java.lang.String getLabel()

getMnemonic

public char getMnemonic()

getToolTip

public java.lang.String getToolTip()

isEnabled

public boolean isEnabled()

getBigIcon

public org.eclipse.swt.graphics.Image getBigIcon()

setEnabled

public void setEnabled(boolean enabled)

addToMenu

public void addToMenu(org.eclipse.swt.widgets.Menu menu)

addToToolBar

public void addToToolBar(org.eclipse.swt.widgets.ToolBar parent)

widgetDefaultSelected

public void widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent e)
Specified by:
widgetDefaultSelected in interface org.eclipse.swt.events.SelectionListener

widgetSelected

public void widgetSelected(org.eclipse.swt.events.SelectionEvent e)
Specified by:
widgetSelected in interface org.eclipse.swt.events.SelectionListener