Community
Participate
Working Groups
It would be nice if the example UML editor plugin implements a model view. The model view will visualize the UML model as tree view. Users will be able to pick a classifier from that model and put it on the diagram editor. Also users should be able to change the underlying UML model directly from the UML Model View.
This request could be implemented as a part of CommonNavigator implementation.
Updated Version field to indicate next release.
Updated target milestone
Read-only part of this request supported by tooling from now see bug #112818
I have implemented a common navigator for UML Tools that is reasonably complete and very useful (for me and my users). I attached the source for this navigator plugin to this bug. I have not yet figured out how to add drag/drop from the navigator to a class diagram, but will work on that. I propose that all navigators be removed from each diagram type, and are replaced by one navigator plugin. There is no point having completely redudant navigator code in each diagram. This code depends on a shared editing domain used by the navigator and all diagrams. If you use my attachments by themselves, you will have a good navigator, but edits and command undo/redo will not be shared by the diagrams. See: https://bugs.eclipse.org/bugs/show_bug.cgi?id=189974 Functionality of my attachment includes: * Extends SaveablesProvider to track modifications and prompt model saves * Adds a few view filters (e.g. hide Association or Comment) * virtual folder to group Associations * toolbar and context menu support for delete/cut/copy/paste I'm still learning how to implement some of these capabilities, so there is certainly room for improvement. To see a more complete tool where this integrated with the class diagram editor (and other support for XSD generation), see: http://www.xmlmodeling.com/download/hypermodel-3.1/
Created attachment 81986 [details] navigator plugin
Created attachment 81987 [details] plugin with shared editing domain This plugin is also submitted to bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=189974 But is required to install the navigator.
I should add that you must open a model in the shared editing domain to enable use of the navigator view. To use the navigator by itself without a diagram, select the "Open Model" context command on a .uml file. There is also a "Close Model" command on opened Model objects. If/when diagrams are modified to use the shared domain, then the navigator will be expanded for a model automatically when a diagram is opened.
Batch Update: UML2Tools is sample component for GMF-Tooling after restructuring