105106107108109110111112
bookmark.setName( newBookmarkName ); } bookmarkList.add( index, bookmark ); EventRegistry.fireBookmarkUpdated( new BookmarkUpdateEvent( bookmark, BookmarkUpdateEvent.Detail.BOOKMARK_ADDED ), this ); }
155156157158159160161162
* the Bookmark to remove */ public void removeBookmark( IBookmark bookmark ) { bookmarkList.remove( bookmark ); EventRegistry.fireBookmarkUpdated( new BookmarkUpdateEvent( bookmark, BookmarkUpdateEvent.Detail.BOOKMARK_REMOVED ), this ); }
157158159160161162163164
private void fireBookmarkUpdated( BookmarkUpdateEvent.Detail detail ) { if ( this.getName() != null && !"".equals( this.getName() ) ) { //$NON-NLS-1$ EventRegistry.fireBookmarkUpdated( new BookmarkUpdateEvent( this, detail ), this ); } }
bookmark.setName( newBookmarkName ); } bookmarkList.add( index, bookmark ); EventRegistry.fireBookmarkUpdated( new BookmarkUpdateEvent( bookmark, BookmarkUpdateEvent.BOOKMARK_ADDED ), this ); }
* the Bookmark to remove */ public void removeBookmark( IBookmark bookmark ) { bookmarkList.remove( bookmark ); EventRegistry.fireBookmarkUpdated( new BookmarkUpdateEvent( bookmark, BookmarkUpdateEvent.BOOKMARK_REMOVED ), this ); }
private void fireBookmarkUpdated( int detail ) { if ( this.getName() != null && !"".equals( this.getName() ) ) { //$NON-NLS-1$ EventRegistry.fireBookmarkUpdated( new BookmarkUpdateEvent( this, detail ), this ); } }