Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 299258 - [Property View] Requirements for the Papyrus Properties Editor
Summary: [Property View] Requirements for the Papyrus Properties Editor
Status: CLOSED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: 0.8.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Remi Schnekenburger CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 299257 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-01-11 05:23 EST by Remi Schnekenburger CLA
Modified: 2013-03-13 06:52 EDT (History)
5 users (show)

See Also:


Attachments
Truncated labels (11.36 KB, image/png)
2010-07-21 17:38 EDT, Yann Tanguy CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Remi Schnekenburger CLA 2010-01-11 05:23:21 EST
This is the task list to discuss about the Papyrus Properties editor.
link to the document: https://dev.eclipse.org/svnroot/modeling/org.eclipse.mdt.papyrus/trunk/plugins/developer/org.eclipse.papyrus.doc/propertyView/RequirementsSpecificationOfPapyrusPropertiesEditor_v1.0.doc
Comment 1 Remi Schnekenburger CLA 2010-01-11 05:26:40 EST
*** Bug 299257 has been marked as a duplicate of this bug. ***
Comment 3 Emilien Perico CLA 2010-01-12 10:36:35 EST
Here some comments about your Property View specification document:

- You talk about code generation (Req_004): The generated code will use extension points or will only use full java implementation ?

- Developer might be able to implement custom component and behavior for a property. We should provide him a way to add custom component and/or override an existing component.

- Does the generated code be relative to a diagram plugin or is it a single plugin for all the managed property views ?

- Do you plan to apply the specifications to the appearance part ?
Comment 4 Remi Schnekenburger CLA 2010-01-13 05:17:29 EST
(In reply to comment #3)
> Here some comments about your Property View specification document:
> 
> - You talk about code generation (Req_004): The generated code will use
> extension points or will only use full java implementation ?

The kind of implementation has not chosen yet: either full java code generation or a mix java runtime and extension points and/or xml configuration files. From my point of view, the extension points have a major disadvantage: they are defined once by one plugin, so the runtime using them has to implement the customization abilities. I believe that a xml configuration file (that can be provided by a plugin like it is done for the palette configuration) is much more flexible. 
I would prefer a configuration file, which is easier to configure using preferences rather than full java, as the customization is easier (according to my experience only!).
 

> - Developer might be able to implement custom component and behavior for a
> property. We should provide him a way to add custom component and/or override
> an existing component. 

Ok
 
> - Does the generated code be relative to a diagram plugin or is it a single
> plugin for all the managed property views ?

As I see it, it is very hard to restrict the property view to the concept of diagram plugin. For example, property view is accessible when elements are selected in the model explorer. Thus, a full configuration should be provided by a plugin (or splitted in several plugins, but I do not see on which criteria the properties could be splitted (uml levels?). Each diagram plugin could then redefine the property views for elements described in the diagram. 
Do you have any preferences on that point, or advices ? 

> 
> - Do you plan to apply the specifications to the appearance part ?
I would prefer to put the focus on the semantic properties, but why not appearances also.
Comment 5 Yann Tanguy CLA 2010-01-19 10:00:25 EST
(In reply to comment #0)
> This is the task list to discuss about the Papyrus Properties editor.
> link to the document:
> https://dev.eclipse.org/svnroot/modeling/org.eclipse.mdt.papyrus/trunk/plugins/developer/org.eclipse.papyrus.doc/propertyView/RequirementsSpecificationOfPapyrusPropertiesEditor_v1.0.doc

An additional requirement: common properties should be visible and editable on a multiple selection of element of the same kind.
Comment 6 Cedric Dumoulin CLA 2010-01-28 09:17:02 EST
The property editors should also be usable/reusable in other plugins. They should not be restricted to the Property View.
(A Property editor == an editor for one single property.)
For example, any property editor should be reusable in the preferences view. This allows to edit the preferences in the same way as the property itself. This improve consistency. 
Another application can provide a wizard called from a menu and allowing to edit a particular property.
Comment 7 Remi Schnekenburger CLA 2010-06-09 12:42:50 EDT
The property view framework is already present in the papyrus tool. It should be improved in the release 0.8.0
Comment 8 Yann Tanguy CLA 2010-07-21 17:38:05 EDT
Created attachment 174924 [details]
Truncated labels
Comment 9 Yann Tanguy CLA 2010-07-21 17:38:57 EDT
(In reply to comment #7)
> The property view framework is already present in the papyrus tool. It should be
> improved in the release 0.8.0

As can be seen in https://bugs.eclipse.org/bugs/attachment.cgi?id=174924, sometimes only the tooltip allows one to guess what the label is supposed to be. It does not seem to be a matter of room (there?s plenty of room on the screen to show the full label).
Comment 10 Camille Letavernier CLA 2013-03-13 06:52:36 EDT
I close this task