Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to find the perspectiveID of the "Work Items" eclipse perspective? " eclipse.exe -perspective perspectiveId " command

Hello,
I'm using the RTC 6.0.2 plug-in into an Eclipse workbench.
I would like to have always the "Work Items" perspective opened at startup. Eclipse help says to use
eclipse.exe -perspective perspectiveId

My problem here is how to find out the perspectiveId of the "Work Items" perspective?

Eclipse help reference:
http://help.eclipse.org/neon/topic/org.eclipse.platform.doc.user/tasks/running_eclipse.htm?resultof=%22%65%63%6c%69%70%73%65%22%20%22%65%63%6c%69%70%73%22%20%22%70%61%72%61%6d%65%74%65%72%22%20%22%70%61%72%61%6d%65%74%22%20

0 votes



2 answers

Permanent link
From
http://stackoverflow.com/questions/3383470/how-to-get-an-id-perspective-of-eclipse

If you are running Eclipse with PDE (Plugin Development Environment), hit ALT + Shift + F2 to use the Plugin Menu Spy. The cursor will change its' shape, now press the desired perspective button and you will get the perspective ID.

Another option is to run a plug-in search (from Search → Plugin). Look for the string " org.eclipse.ui.perspectives " which is the name of the extension point that defines a perspective.

If you don't have PDE, you can search for the same string in the plugin.xml files which are found inside the plugins JARs. If you have a tool that can search within JARs, that would be helpful. Otherwise, you will need to guess which JAR to open for the search (or open all the JARs).


0 votes


Permanent link
 Use the below in the Eclipse.ini to open the "Work items" perspective always

-perspective
com.ibm.magnolia.ui.workItemPerspective

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 6,132
× 127

Question asked: Dec 21 '16, 10:31 a.m.

Question was seen: 3,414 times

Last updated: Dec 22 '16, 9:52 a.m.

Confirmation Cancel Confirm