Class GlobalModelAccess

    • Constructor Detail

      • GlobalModelAccess

        public GlobalModelAccess()
    • Method Detail

      • executeCommand

        public void executeCommand​(Runnable r)
        Description copied from interface: ModelAccess
        Represents a write action executed with respect to platform undo mechanism. This method shall be invoked from EDT thread only. Unlike ModelAccess.executeCommandInEDT(Runnable), this method executes synchronously
      • executeCommandInEDT

        public void executeCommandInEDT​(Runnable r)
        Description copied from interface: ModelAccess
        Represents a write action executed with respect to platform undo mechanism, runs asynchronously from EDT thread. This method may be invoked from any thread.
      • executeUndoTransparentCommand

        public void executeUndoTransparentCommand​(Runnable r)
        Description copied from interface: ModelAccess
        FIXME need thorough documentation Executed code has model write, is treated as a command, the only difference is that changes from the transparent action merged with the that of the previous undoable command