cern::laser::guiplatform::actions::SetPrinterAction Class Reference

Inheritance diagram for cern::laser::guiplatform::actions::SetPrinterAction:
Inheritance graph
[legend]
Collaboration diagram for cern::laser::guiplatform::actions::SetPrinterAction:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void performAction ()
String getName ()
HelpCtx getHelpCtx ()
boolean isEnabled ()
Object getActionMapKey ()

Protected Member Functions

String iconResource ()

Static Package Attributes

static final Logger logger = LogFactory.getLogger(SetPrinterAction.class.getName())

Detailed Description

Action that can always be invoked and work procedurally.

Author:
pawlowsk

Member Function Documentation

Object cern::laser::guiplatform::actions::SetPrinterAction::getActionMapKey (  )  [inline]

Perform extra initialization of this action's singleton. PLEASE do not use constructors for this purpose! protected void initialize() { super.initialize(); putProperty(Action.SHORT_DESCRIPTION, NbBundle.getMessage(PrinterSetupAction.class, "HINT_Action")); }

HelpCtx cern::laser::guiplatform::actions::SetPrinterAction::getHelpCtx (  )  [inline]

Help context where to find more about the action.

Returns:
the help context for this action

Reimplemented from cern::gp::actions::support::CallableSystemAction.

String cern::laser::guiplatform::actions::SetPrinterAction::getName (  )  [inline]

Human presentable name of the action. This should be presented as an item in a menu.

Returns:
the name of the action

Reimplemented from cern::gp::actions::support::CallableSystemAction.

String cern::laser::guiplatform::actions::SetPrinterAction::iconResource (  )  [inline, protected]

Returns the pathname of the icon to use to display this action

Returns:
the pathname of the icon

Reimplemented from cern::gp::actions::support::CallableSystemAction.

boolean cern::laser::guiplatform::actions::SetPrinterAction::isEnabled (  )  [inline]
void cern::laser::guiplatform::actions::SetPrinterAction::performAction (  )  [inline, virtual]

Performs the action for the given nodes.

Parameters:
activatedNodes the non null (possibly empty) array of nodes selected at the moment the action has been triggered

Implements cern::gp::actions::support::CallableSystemAction.

References logger.


Member Data Documentation

final Logger cern::laser::guiplatform::actions::SetPrinterAction::logger = LogFactory.getLogger(SetPrinterAction.class.getName()) [static, package]

Referenced by performAction().


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2