de.uni_paderborn.fujaba.uml.actions
Class LogicalStoryPatternAction

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended byde.uni_paderborn.fujaba.uml.actions.CreateSuccessorAbstractAction
          extended byde.uni_paderborn.fujaba.uml.actions.LogicalStoryPatternAction
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable
Direct Known Subclasses:
PushStoryForwardAction

public class LogicalStoryPatternAction
extends CreateSuccessorAbstractAction

Version:
$Revision: 1.20 $
Author:
$Author: cschneid $
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class javax.swing.AbstractAction
 
Field Summary
 
Fields inherited from class de.uni_paderborn.fujaba.uml.actions.CreateSuccessorAbstractAction
activity, diagram
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
LogicalStoryPatternAction()
           
 
Method Summary
private  void copyLocations(UMLDiagramItem item, UMLDiagramItem newItem, UMLStoryPattern storyPattern, UMLStoryPattern newStoryPattern)
          copy the UnparseInformation from one item to a new one
 UMLActivity createNewActivity()
          No comment provided by developer, please add a comment to improve documentation.
 UMLActivity createNewActivity(UMLStoryActivity newActivity)
          No comment provided by developer, please add a comment to improve documentation.
 
Methods inherited from class de.uni_paderborn.fujaba.uml.actions.CreateSuccessorAbstractAction
actionPerformed
 
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

LogicalStoryPatternAction

public LogicalStoryPatternAction()
Method Detail

createNewActivity

public UMLActivity createNewActivity()
No comment provided by developer, please add a comment to improve documentation.

Specified by:
createNewActivity in class CreateSuccessorAbstractAction
Returns:
No description provided

createNewActivity

public UMLActivity createNewActivity(UMLStoryActivity newActivity)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
newActivity - No description provided
Returns:
No description provided

copyLocations

private void copyLocations(UMLDiagramItem item,
                           UMLDiagramItem newItem,
                           UMLStoryPattern storyPattern,
                           UMLStoryPattern newStoryPattern)
copy the UnparseInformation from one item to a new one

Parameters:
item - old item (source)
newItem - new item (destination)
storyPattern - pattern of the old item
newStoryPattern - pattern of the new item