Examples of Undo


Examples of com.citytechinc.cq.component.annotations.widgets.rte.Undo

  }

  private RtePlugin buildUndoPlugin(RichTextEditor rteAnnotation) {

    if (rteAnnotation.undo().length > 0) {
      Undo undoAnnotation = rteAnnotation.undo()[0];
      List<String> features = new ArrayList<String>();

      int maxUndoSteps = undoAnnotation.maxUndoSteps();

      if (undoAnnotation.undo()) {
        features.add("undo");
      }

      if (undoAnnotation.redo()) {
        features.add("redo");
      }

      UndoRtePluginParameters undoParameters = new UndoRtePluginParameters();
      undoParameters.setFeatures(convertFeatures(features));
View Full Code Here

Examples of com.citytechinc.cq.component.annotations.widgets.rte.Undo

  }

  private RtePlugin buildUndoPlugin(RichTextEditor rteAnnotation) {

    if (rteAnnotation.undo().length > 0) {
      Undo undoAnnotation = rteAnnotation.undo()[0];
      List<String> features = new ArrayList<String>();

      int maxUndoSteps = undoAnnotation.maxUndoSteps();

      if (undoAnnotation.undo()) {
        features.add("undo");
      }

      if (undoAnnotation.redo()) {
        features.add("redo");
      }

      UndoRtePluginParameters undoParameters = new UndoRtePluginParameters();
      undoParameters.setFeatures(convertFeatures(features));
View Full Code Here

Examples of com.citytechinc.cq.component.annotations.widgets.rte.Undo

  }

  private RtePlugin buildUndoPlugin(RichTextEditor rteAnnotation) {

    if (rteAnnotation.undo().length > 0) {
      Undo undoAnnotation = rteAnnotation.undo()[0];
      List<String> features = new ArrayList<String>();

      int maxUndoSteps = undoAnnotation.maxUndoSteps();

      if (undoAnnotation.undo()) {
        features.add("undo");
      }

      if (undoAnnotation.redo()) {
        features.add("redo");
      }

      UndoRtePluginParameters undoParameters = new UndoRtePluginParameters();
      undoParameters.setFeatures(convertFeatures(features));
View Full Code Here

Examples of com.exigen.ie.constrainer.Undo

  public void undone(boolean b) {}

  public void addUndo()
  {
    Undo undo_object = createUndo();
    undo_object.undoable(this);
    //Debug.on();Debug.print("add " + undo_object);Debug.off();
    constrainer().addUndo(undo_object);
  }
View Full Code Here

Examples of com.exigen.ie.constrainer.Undo

  public void addUndo()
  {
    if (!_undone)
    {
      _undone = true;
      Undo undo_object = createUndo();
      undo_object.undoable(this);
      //Debug.on();Debug.print("add " + undo_object);Debug.off();
//      constrainer().addUndo(undo_object);
      constrainer().addUndo(undo_object,this);
    }
  }
View Full Code Here

Examples of com.exigen.ie.constrainer.Undo

      Constrainer.abort("Internal error in UndoStack.backtrack(): newSize > size");

    int nUndos = size - newSize;
    while(nUndos-- > 0)
    {
      Undo undo_object = popUndo();
      undo_object.undo();
    }
  }
View Full Code Here

Examples of uk.co.oliwali.HawkEye.Undo

    usage = "<- reverses your previous rollback";
  }

  @Override
  public boolean execute() {
    new Undo(RollbackType.GLOBAL, session);
    return true;
  }
View Full Code Here

Examples of uk.co.oliwali.HawkEye.Undo

      Util.sendMessage(sender, "&cNo preview to cancel!");
      return true;
    }

    //Undo local changes to the player
    new Undo(RollbackType.LOCAL, session);

    Util.sendMessage(sender, "&cPreview rollback cancelled");
    session.setInPreview(false);
    return true;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.