public class PlanSettingsChanged
extends javax.swing.undo.AbstractUndoableEdit
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Collection<com.l2fprod.common.propertysheet.DefaultProperty> |
newSettings |
protected PlanType |
plan |
protected java.util.LinkedHashMap<java.lang.String,java.util.Vector<com.l2fprod.common.propertysheet.DefaultProperty>> |
previousSettings |
| Constructor and Description |
|---|
PlanSettingsChanged(PlanType plan,
java.util.Collection<com.l2fprod.common.propertysheet.DefaultProperty> newSettings,
java.util.LinkedHashMap<java.lang.String,java.util.Vector<com.l2fprod.common.propertysheet.DefaultProperty>> previousSettings) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canRedo() |
boolean |
canUndo() |
PlanType |
getPlan() |
java.lang.String |
getPresentationName() |
void |
redo() |
void |
undo() |
protected java.util.LinkedHashMap<java.lang.String,java.util.Vector<com.l2fprod.common.propertysheet.DefaultProperty>> previousSettings
protected java.util.Collection<com.l2fprod.common.propertysheet.DefaultProperty> newSettings
protected PlanType plan
public PlanSettingsChanged(PlanType plan, java.util.Collection<com.l2fprod.common.propertysheet.DefaultProperty> newSettings, java.util.LinkedHashMap<java.lang.String,java.util.Vector<com.l2fprod.common.propertysheet.DefaultProperty>> previousSettings)
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 undo()
throws javax.swing.undo.CannotUndoException
undo in interface javax.swing.undo.UndoableEditundo in class javax.swing.undo.AbstractUndoableEditjavax.swing.undo.CannotUndoExceptionpublic void redo()
throws javax.swing.undo.CannotRedoException
redo in interface javax.swing.undo.UndoableEditredo in class javax.swing.undo.AbstractUndoableEditjavax.swing.undo.CannotRedoExceptionpublic PlanType getPlan()
Copyright © 2004-2020 FEUP-LSTS and Neptus developers. All Rights Reserved.