org.oddjob.arooa.design.designer
Class ViewActionsContributor

java.lang.Object
  extended by org.oddjob.arooa.design.designer.ViewActionsContributor
All Implemented Interfaces:
ActionContributor

public class ViewActionsContributor
extends Object
implements ActionContributor

Provides the designers 'View As XML' and 'View As Component' actions.

Author:
rob

Field Summary
static String VIEW_GROUP
           
static String VIEW_MENU_ID
           
 
Constructor Summary
ViewActionsContributor(DesignerModel model)
           
 
Method Summary
 void addKeyStrokes(JComponent component)
          Add the accelerator keys to the given component if applicable.
 void contributeTo(ActionRegistry actionRegistry)
          Contribute actions using the given registry.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VIEW_MENU_ID

public static final String VIEW_MENU_ID
See Also:
Constant Field Values

VIEW_GROUP

public static final String VIEW_GROUP
See Also:
Constant Field Values
Constructor Detail

ViewActionsContributor

public ViewActionsContributor(DesignerModel model)
Method Detail

contributeTo

public void contributeTo(ActionRegistry actionRegistry)
Description copied from interface: ActionContributor
Contribute actions using the given registry.

Specified by:
contributeTo in interface ActionContributor

addKeyStrokes

public void addKeyStrokes(JComponent component)
Description copied from interface: ActionContributor
Add the accelerator keys to the given component if applicable.

Specified by:
addKeyStrokes in interface ActionContributor