Class XYGraphConfigCommand

java.lang.Object
org.eclipse.nebula.visualization.internal.xygraph.undo.XYGraphConfigCommand
All Implemented Interfaces:
IUndoableCommand

public class XYGraphConfigCommand
extends java.lang.Object
implements IUndoableCommand
The command for graph configuration.
  • Constructor Details

    • XYGraphConfigCommand

      public XYGraphConfigCommand​(IXYGraph xyGraph)
      Construct a graph configuration command
      Parameters:
      xyGraph -
    • XYGraphConfigCommand

      public XYGraphConfigCommand​(IXYGraph xyGraph, java.util.function.Supplier<? extends XYGraphMemento> mementoFactory)
      Constructor with a XYGraphMemento Supplier
      Parameters:
      xyGraph -
      mementoFactory - A supplier that creates a new XYGraphMemento on each call to the supplier's get method.
  • Method Details