Skip to content
This repository has been archived by the owner on Oct 7, 2021. It is now read-only.

Triquetrum perspective #179

Open
hugo-bluecorn opened this issue Oct 3, 2016 · 5 comments
Open

Triquetrum perspective #179

hugo-bluecorn opened this issue Oct 3, 2016 · 5 comments

Comments

@hugo-bluecorn
Copy link

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
Copy link
Contributor

erwindl0 commented Oct 4, 2016

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
Copy link
Author

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
Copy link
Author

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
Copy link
Contributor

erwindl0 commented Oct 8, 2016

so that would be an e4 implementation after all?

looking forward to see the result!

@hugo-bluecorn
Copy link
Author

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:

  • Added org.eclipse.triquetrum.ui.e4 to org.eclipse.triquetrum.core.feature
  • Updated the depencies of org.eclipse.triquetrum.core.feature by selecting Compute in the Dependencies tab.
  • Added required features in the content page fof the Triquetrum.product by selecting Add Required.
  • Deleted the current run configuration and created a new one from the product defintion.
  • Added -clearPersistedState to the Arguments tab of the run configuration.

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

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants