Community
Participate
Working Groups
Delete the "bookmark" decorated figure on diagram, but corresponding item is not removed in "Bookmark" view.
Created attachment 46902 [details] Patch that keeps the bookmarks in sync. This patch adds a RemoveBookmarksAdvice and RemoveBookmarkCommand that deletes the bookmark(s) (from the associated IFile). The advice is registered into the default context (so it works on geoshapes) but it has to be included into the logic example (provided in this patch). All clients need to bind this advice into their context if they want to keep their bookmarks in sync with the bookmark viewer. Files affected: 1. +org.eclipse.gmf.runtime.diagram.core.edithelpers.RemoveBookmarksAdvice 2. +org.eclipse.gmf.runtime.diagram.core.commands.RemoveBookmarkCommand 3. plugin.xml in org.eclipse.gmf.runtime.diagram.core 3. plugin.xml in org.eclipse.gmf.examples.runtime.diagram.logic
Created attachment 47170 [details] Updated patch This patch reflects the changes made in Bug 151641.
Created attachment 47535 [details] Optimized patch. Updated patch with optimizations.
Created attachment 47574 [details] More optimizations.
Created attachment 47773 [details] Structural reforms. Structural reformations to bring about even greater optimizations (courtesy: Linda) :)
Committed the patch.
[GMF Restructure] Bug 319140 : product GMF and component Runtime Diagram was the original product and component for this bug