Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[e4-dev] Suggested Model adjustments - Add PerspectiveDescriptors to the model?

Hello,

In the current runtime application model of the IDE, we create perspectives based on the perspectives which were opened by the user or as default perspective.

I think the current model makes it difficult to migrate the existing extension point based definition of perspectives to the application model. 

We could use model snippets (for perspectives) to model this, but I think we should go for the same route as for ViewDescriptors or Toolbar and Menu contributions.

ViewDescriptors can be defined as model fragments. In the case of the IDE they are calculated based on the extension points and added to the runtime model. This allows to use this model information at runtime, as I plan for example in Bug 430988.

Should we add a similar model element for perspectives, i.e., PerspectiveDescriptors? 

I think this would be necessary to solve partially our famous Bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=376486 ([Model] Eclipse 4 IDE not extendable via fragments or processors).
 
Best regards, Lars



Back to the top