Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Talk:Papyrus/Oxygen Work Description/NewFeature/PapyrusAFViewpointSwitch"

(Root and owner)
(Merge edit by Xavier.zeitoun.cea.fr)
Line 27: Line 27:
  
  
FYI, viewpoints allows to configure the palette of the diagrams. In the table we don't have palette, but we have menus lookings like new child menu. We need to be able to configure them. Curerntly, this configuration is done by java code provided by classes referenced by ID in the table configuration file.  
+
FYI, viewpoints allows to configure the palette of the diagrams. In the table we don't have palette, but we have menus looking like new child menu. We need to be able to configure them. Currently, this configuration is done by java code provided by classes referenced by ID in the table configuration file.  
  
 
FYI, viewpoints allow to create and configure new diagrams. With the current table implementation, we are not able to provide new table kind using viewpoint, because the configuration of the table is not done by viewpoint but by a specific table configuration file. Viewpoint provides only useful creation menu for table, with creation restriction according to the selection.
 
FYI, viewpoints allow to create and configure new diagrams. With the current table implementation, we are not able to provide new table kind using viewpoint, because the configuration of the table is not done by viewpoint but by a specific table configuration file. Viewpoint provides only useful creation menu for table, with creation restriction according to the selection.

Revision as of 12:58, 7 November 2016

Hi,

Some points

  1. Extension Points

The unapply method is missing from the interface This interface should probably also provide a mechanism for viewpoint version management: Ex : A ModelKind is removed from v1 to v2

  1. Figure 11: a Refactor menu is already present in Papyrus

It would be for the best to either reuse it or use another name

  1. Figure 5: Is this the target meta-model? (I don't see much difference with the current one)

=> It may be interesting to have a way to share common css for an Architecture domain.

Benoit,

Table (Vincent Lorenz)

  • PapyrusTableKind and PapyrusSyncTableKind must be merged!
    • In the first case, we use the configuration file (referenced as a string?!)
    • In the second case, we use the implementationID (the type of the table)

I propose to merge these 2 concepts which are useless for the viewpoint. The table configuration must be referenced by its type or must reference the configuration file itself.

  • Choosing the type of the table will allow to be easily compliant with a potential next version of the table.
    • Please, in this case replace the name implementationID by type to be compliant wiith diagram and table!
  • Choosing the file itself could broke the model if the required model is not available!


FYI, viewpoints allows to configure the palette of the diagrams. In the table we don't have palette, but we have menus looking like new child menu. We need to be able to configure them. Currently, this configuration is done by java code provided by classes referenced by ID in the table configuration file.

FYI, viewpoints allow to create and configure new diagrams. With the current table implementation, we are not able to provide new table kind using viewpoint, because the configuration of the table is not done by viewpoint but by a specific table configuration file. Viewpoint provides only useful creation menu for table, with creation restriction according to the selection.

Root and owner (Vincent Lorenzo)

It is possible to find better name for root and owner? It is never clear for me! One is used to know where we are able to display a given editor and the second one is used as creation context for the new elements. Right ? So why not call them displayContext and creationContext or displayRoot and semanticRoot or ...?

Back to the top