templates.presentation
Class UIActions.MakeTemplateAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by templates.presentation.UIActions.MakeTemplateAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action
Enclosing class:
UIActions

public static class UIActions.MakeTemplateAction
extends javax.swing.AbstractAction

An action to create a new template based on an entity in a template design.

Author:
Lenko Grigorov
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
UIActions.MakeTemplateAction(Entity entity)
          Construct an action to create a new template based on the given entity.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent evt)
          Create a new template based on the entity.
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UIActions.MakeTemplateAction

public UIActions.MakeTemplateAction(Entity entity)
Construct an action to create a new template based on the given entity.

Parameters:
entity - the entity on which to base the new template
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent evt)
Create a new template based on the entity.