Package com.projity.undo

Examples of com.projity.undo.UndoController.canUndo()


    boolean canRedo = false;
//    String undoText = "";
//    String redoText = "";

    if (undoController != null){
      canUndo = undoController.canUndo();
      canRedo = undoController.canRedo();
//      undoText = undoController.getUndoManager().getUndoPresentationName();
//      redoText = undoController.getUndoManager().getRedoPresentationName();
    }
    menuManager.setActionEnabled(ACTION_UNDO,canUndo);
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.