Examples of endUpdate()


Examples of javax.swing.undo.UndoableEditSupport.endUpdate()

    // Check #5.
    ues.beginUpdate();
    harness.check(ues.getUpdateLevel(), 2);

    // Check #6.
    ues.endUpdate();
    harness.check(ues.getUpdateLevel(), 1);

    // Check #7.
    ues.endUpdate();
    harness.check(ues.getUpdateLevel(), 0);
View Full Code Here

Examples of javax.swing.undo.UndoableEditSupport.endUpdate()

    // Check #6.
    ues.endUpdate();
    harness.check(ues.getUpdateLevel(), 1);

    // Check #7.
    ues.endUpdate();
    harness.check(ues.getUpdateLevel(), 0);
  }
}
View Full Code Here

Examples of net.sourceforge.fullsync.Profile.endUpdate()

      p.setRuleSet(ruleSetDescriptor);
      if (buttonResetError.getSelection()) {
        p.setLastError(0, null);
      }
      p.endUpdate();
    }
    profileManager.save();
    return true; //FIXME: return false if failed
  }
View Full Code Here

Examples of org.openfaces.component.table.impl.TableDataModel.endUpdate()

                if (((newSortColumnId == null) != (oldSortColumnId == null)) ||
                        (newSortColumnId != null && !newSortColumnId.equals(oldSortColumnId)))
                    setSortColumnId(newSortColumnId);
            }
        } finally {
            model.endUpdate();
        }
    }

    protected boolean isRowsDecodingRequired() {
        String forceRowsDecodingStr = (String) getAttributes().get("forceRowsDecoding");
View Full Code Here

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

            }
        }

        if (anyUnburnt) {
            // 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();
        }
View Full Code Here

Examples of org.openstreetmap.josm.data.osm.DataSet.endUpdate()

                                } catch (ConcurrentModificationException x) {
                                    Main.warn(x);
                                } finally {
                                    if (ds != null) {
                                        if(isAtOldPosition && middleMouseDown) {
                                            ds.endUpdate();
                                        } else {
                                            ds.getReadLock().unlock();
                                        }
                                    }
                                }
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.