eclipse-archived / triquetrum

Triquetrum project
Other
13 stars 14 forks source link

Triquetrum perspective #179

Open hugo-bluecorn opened 8 years ago

hugo-bluecorn commented 8 years ago

A perspective could be added in order to conform to #160

I am working on my branch. The plan is to add the perspective in a separate plugin:

org.eclipse.triquetrum.e4.ui or org.eclipse.triquetrum.ui.e4 ???

The org.eclipse.triquetrum.workflow.* plugins contain the Graphiti editor use the Eclipse 3 UI model thus as an initial approach I plan to keep the e4 stuff separate.

I am open to renaming the initial contribution to something like org.eclipse.triquetrum.workflow.ui.e4 or something else more logical.

erwindl0 commented 8 years ago

I would prefer org.eclipse.triquetrum.ui.e4.

Not all in Triquetrum is purely workflow-related, so this bundle might grow to provide other perspectives, general views or other useful UI components for Triquetrum.

It will be great to get an e4-related contribution!

hugo-bluecorn commented 8 years ago

So... running into issues where adding a perspective to the IDE using E4 is not well documented or not possible using declarations but possible by coding against the platform model instance. I suggest adding the perspective using the E3 extension mechanisms for now. We could do a plugin:

org.eclipse.triquetrum.ui.e3 ???

Here is the eclipse bug to kind of follow the e4 stuff:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=502963

hugo-bluecorn commented 8 years ago

I found a working example of how to do the perspetive here:

https://www.eclipse.org/forums/index.php/t/1066500/

Now to implement it.

erwindl0 commented 8 years ago

so that would be an e4 implementation after all?

looking forward to see the result!

hugo-bluecorn commented 8 years ago

I just commited a branch in my fork. It has a basic perspective with just the Project Explorer and the Editor Area. It is meant to work with the Eclipse IDE and not with with standalone RCP.

I had to do the following to add the plugin and be able to run it:

The reference for adding the perspective to the Eclipse IDE is:

https://www.eclipse.org/forums/index.php/t/1079673/