public class ManeuverRemoved
extends javax.swing.undo.AbstractUndoableEdit
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Vector<TransitionType> |
addedTransitions |
protected boolean |
initial |
protected Maneuver |
maneuver |
protected PlanType |
plan |
protected java.util.Vector<TransitionType> |
removedTransitions |
| Constructor and Description |
|---|
ManeuverRemoved(Maneuver maneuver,
PlanType plan,
java.util.Collection<TransitionType> addedTransitions,
java.util.Collection<TransitionType> removedTransitions,
boolean wasInitial) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canRedo() |
boolean |
canUndo() |
Maneuver |
getManeuver() |
PlanType |
getPlan() |
java.lang.String |
getPresentationName() |
void |
redo() |
void |
undo() |
protected PlanType plan
protected Maneuver maneuver
protected java.util.Vector<TransitionType> addedTransitions
protected java.util.Vector<TransitionType> removedTransitions
protected boolean initial
public ManeuverRemoved(Maneuver maneuver, PlanType plan, java.util.Collection<TransitionType> addedTransitions, java.util.Collection<TransitionType> removedTransitions, boolean wasInitial)
public boolean canUndo()
canUndo in interface javax.swing.undo.UndoableEditcanUndo in class javax.swing.undo.AbstractUndoableEditpublic boolean canRedo()
canRedo in interface javax.swing.undo.UndoableEditcanRedo in class javax.swing.undo.AbstractUndoableEditpublic java.lang.String getPresentationName()
getPresentationName in interface javax.swing.undo.UndoableEditgetPresentationName in class javax.swing.undo.AbstractUndoableEditpublic void redo()
throws javax.swing.undo.CannotUndoException
redo in interface javax.swing.undo.UndoableEditredo in class javax.swing.undo.AbstractUndoableEditjavax.swing.undo.CannotUndoExceptionpublic void undo()
throws javax.swing.undo.CannotRedoException
undo in interface javax.swing.undo.UndoableEditundo in class javax.swing.undo.AbstractUndoableEditjavax.swing.undo.CannotRedoExceptionpublic Maneuver getManeuver()
public PlanType getPlan()
Copyright © 2004-2014 FEUP-LSTS and Neptus developers. All Rights Reserved.