de.espirit.firstspirit.client.plugin
Interface ClientPluginAction<C extends BaseContext>


public interface ClientPluginAction<C extends BaseContext>

Interface representing a client plugin action

Since:
4.2.434
See Also:
ClientPlugin.getActions(ClientPluginScope)

Method Summary
 String getLabel()
          Returns a lable representing this action.
 boolean isEnabled(C context)
          Indicates whether this action is enabled in the given context.
 boolean isVisible(C context)
          Indicates whether this action is visible in the given context.
 

Method Detail

getLabel

String getLabel()
Returns a lable representing this action.

Returns:
the label for this plugin action.
Since:
4.2.434

isVisible

boolean isVisible(C context)
Indicates whether this action is visible in the given context.

Parameters:
context - the context to check the visible state for
Returns:
true if this plugin action should be visible in the given context, false otherwise
Since:
4.2.434

isEnabled

boolean isEnabled(C context)
Indicates whether this action is enabled in the given context.

Parameters:
context - the context to check the enabled state for
Returns:
true if this plugin action should be enabled in the given context, false otherwise
Since:
4.2.434


Copyright © 2012 e-Spirit AG. All Rights Reserved. Build 4.2.480