コード例 #1
0
 @Override
 protected void invalidate() {
   Preferences.instance().setProperty("bookmark.toggle.options", this.toggleOptionsButton.state());
   BookmarkCollection.defaultCollection().removeListener(bookmarkCollectionListener);
   super.invalidate();
 }
コード例 #2
0
 /**
  * Updates the window title and url label with the properties of this bookmark Propagates all
  * fields with the properties of this bookmark
  */
 private void itemChanged() {
   BookmarkCollection.defaultCollection().collectionItemChanged(host);
 }
コード例 #3
0
 /** @param host The bookmark to edit */
 private BookmarkController(final Host host) {
   this.host = host;
   // Register for bookmark delete event. Will close this window.
   BookmarkCollection.defaultCollection().addListener(bookmarkCollectionListener);
   this.loadBundle();
 }