Package org.openquark.gems.client.utilities

Examples of org.openquark.gems.client.utilities.ExtendedUndoableEditSupport.endUpdateNoPost()


            // Decrement the update level.  This will post the edit if the level is zero.
            undoableEditSupport.endUpdate();
            updateForBurn();
        } else {
            // Discard the edit because nothing happened.
            undoableEditSupport.endUpdateNoPost();
        }

        return anyUnburnt;
    }
   
View Full Code Here


            // Decrement the update level.  This will post the edit if the level is zero.
            undoableEditSupport.endUpdate();
            updateForBurn();
        } else {
            // Discard the edit because nothing happened.
            undoableEditSupport.endUpdateNoPost();
        }
    }

    /**
     * Returns the set of inputs that were manually burned by the user in the GemCutter
View Full Code Here

                    tableTop.getBurnManager().doUnburnAutomaticallyBurnedInputsUserAction(burnGem.getGem());
                }

                if (!connected && dragMode == TableTopDragMode.CONNECTING) {
                    // Don't post the edit if connecting and nothing happened.
                    undoableEditSupport.endUpdateNoPost();

                } else if (connected && dragMode == TableTopDragMode.DISCONNECTING && disconnectedDisplayedPart == partUnder){
                    // Also don't post the edit if all we did was reconnect a part that we disconnected.
                    undoableEditSupport.endUpdateNoPost();
View Full Code Here

                    // Don't post the edit if connecting and nothing happened.
                    undoableEditSupport.endUpdateNoPost();

                } else if (connected && dragMode == TableTopDragMode.DISCONNECTING && disconnectedDisplayedPart == partUnder){
                    // Also don't post the edit if all we did was reconnect a part that we disconnected.
                    undoableEditSupport.endUpdateNoPost();

                } else {
                   
                    if (dragMode == TableTopDragMode.CONNECTING) {
                        undoableEditSupport.setEditName(GemCutter.getResourceString("UndoText_ConnectGems"));
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.