Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mdt-papyrus.dev] RCP opening the default Papyrus Perspective

Hi,

Seem strange that you cannot get it to work. For Papyrus-RT we have made an Oomph product setup file, which utilizes a plugin_customization.ini file to set the default perspective to the Papyrus perspective. This works fines, and when installing Papyrus-RT using this, you get the Papyrus perspective set by default.

What could be missing is the -pluginCustomization option in the eclipse.ini file. That is at least how it is done for Papyrus-RT using the Oomph setup-file.

Please check the .setup-file referenced from the following page:


In that .setup-file there is one Resource Creation task that creates the plugin_customization.ini file and one Eclipse Ini task that adds the -pluginCustomization option to eclipse.ini to reference the created plugin_customization.ini file.

/Peter Cigéhn


On 7 April 2016 at 13:23, LE FEVRE FRANCOIS <francois.le-fevre@xxxxxx> wrote:

Thanks.

It works like a charm.

 

I will put it for SysML RCP and also Papyrus RCP.

Have a good day!

 

 

De : mdt-papyrus.dev-bounces@xxxxxxxxxxx [mailto:mdt-papyrus.dev-bounces@xxxxxxxxxxx] De la part de REVOL Sébastien
Envoyé : jeudi 7 avril 2016 11:59
À : Papyrus Project list <mdt-papyrus.dev@xxxxxxxxxxx>
Objet : [PROVENANCE INTERNET] Re: [mdt-papyrus.dev] RCP opening the default Papyrus Perspective

 

Hi François, 

I know that the perspective id can be specified as a command-line argument (-perspective perspectiveID) [1]

So I think you can specify this argument in the “program arguments” section of the “Launching’ tab of tour product file.

 

Best regards,

 

Seb

 

 

 

[1] http://help.eclipse.org/mars/index.jsp?topic=%2Forg.eclipse.platform.doc.user%2Ftasks%2Frunning_eclipse.htm)

 

 

De : mdt-papyrus.dev-bounces@xxxxxxxxxxx [mailto:mdt-papyrus.dev-bounces@xxxxxxxxxxx] De la part de LE FEVRE FRANCOIS
Envoyé : jeudi 7 avril 2016 11:20
À : Papyrus Project list <mdt-papyrus.dev@xxxxxxxxxxx>
Objet : [PROVENANCE INTERNET] [mdt-papyrus.dev] RCP opening the default Papyrus Perspective

 

Dear all,

I would like to have any advice to make a RCP that will open by default the Papyrus perspective.

I have a bug on it in SysML project [1]

 

I have created a plugin_customization.ini where I have set the following variable

# perspective that the workbench opens initially

org.eclipse.ui/defaultPerspectiveId=org.eclipse.papyrus.infra.core.perspective

 

nevertheless when I open the RCP I do not have papyrus as default view…

any idea?

 

[1]: https://bugs.eclipse.org/bugs/show_bug.cgi?id=484695

 


_______________________________________________
mdt-papyrus.dev mailing list
mdt-papyrus.dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/mdt-papyrus.dev


Back to the top