This repository has been archived by the owner. It is now read-only.

Eclipse Properties View Support #212

Closed
philip-alldredge opened this Issue Aug 22, 2017 · 3 comments

Comments

Projects
None yet
2 participants
@philip-alldredge
Copy link
Contributor

philip-alldredge commented Aug 22, 2017

use the Eclipse properties view to modify details of the selected diagram element.

Since the initial version of the graphical editor, many commands for editing model elements have been added to a single-level of the context menu. This design does not scale well and there are many cases where a menu option is not the appropriate user interface element. The goal is to provide a consistent and user-friendly user interface by moving editing functionality out of the context menu and into the standard eclipse properties view. When the user selects a diagram element from either the diagram view or the diagram outline, the properties view will be populated with appropriate options. The plan is to support changing these properties when multiple diagram elements are selected. Currently the double click behavior is used to create a new diagram. The intention is to change that so it will open the properties view. This has the additional benefit of avoiding cases where the user is prompted to create a diagram after accidental double-clicks.

Replace commands to make minor changes with a GUI based on the properties view. This would provide a more intuitive way to edit model elements and clean up the context menu to provide a consistent set of menu items.

Ideas:

  • Is it feasible to support the same property sections in the text editor as well?

@philip-alldredge philip-alldredge added this to the M3 milestone Aug 22, 2017

@philip-alldredge

This comment has been minimized.

Copy link
Contributor Author

philip-alldredge commented Oct 3, 2017

While doing this work, it would also be helpful to add a mechanism for switching the type of the classifier.

@philip-alldredge

This comment has been minimized.

Copy link
Contributor Author

philip-alldredge commented Oct 13, 2017

Implementation Thoughts

  • Have helper functions for common patterns mapping EMF features to combo boxes, drop downs, etc. Look into whether such a capability already exists.
@philip-alldredge

This comment has been minimized.

Copy link
Contributor Author

philip-alldredge commented Jan 25, 2018

Closed by f0d428b

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.