com.gridsystems.config.tools.console
Interface ConsoleViewAction

All Known Implementing Classes:
ApplyAction, BoolField, ConnectorField, ConnectorGroupField, ConstantField, DiscardAction, PasswordField, SelectionField, ValueField

public interface ConsoleViewAction

Classes implementing this interface can be called from a console view to perform a single task.

Version:
1.0
Author:
Rodrigo Ruiz Aguayo

Method Summary
 boolean execute(ConsoleConfiguratorView view)
          Performs a task related to the specified view.
 java.lang.String getKeyMapping()
          Gets the key mapping of this action.
 

Method Detail

getKeyMapping

java.lang.String getKeyMapping()
Gets the key mapping of this action.

Returns:
The key mapping of this action

execute

boolean execute(ConsoleConfiguratorView view)
Performs a task related to the specified view.

Parameters:
view - The view invoking the execution
Returns:
false if the view must exit from its execution loop; true otherwise


Copyright © 2007-2008 Grid Systems, S.A.. All Rights Reserved.