Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Own perspective via Branding-Plugin
Own perspective via Branding-Plugin [message #1747268] Fri, 11 November 2016 12:56 Go to next message
Alexander Fichtinger is currently offline Alexander FichtingerFriend
Messages: 62
Registered: January 2013
Member
Hey guys,

we have the following issue:

=======================================
CURRENTLY EXISTING
=======================================

We have a Branding-Plugin which contains a plugin_customization.ini file.
This ini-File is specified in the extension point "org.eclipse.core.runtime.products" in the property "preferenceCustomization".

In this plugin_customization.ini file we have defined the default perspective that should be opened when our application launches.

This works all perfectly.

======================================
TO SOLVE / PROBLEM
======================================

Now we have a customer, who wants to open his own perspective, when our application launches.

We already tried to "override" the plugin_customization.ini file via creating an own branding plugin, and in this plugin we created an ini-File with referencing the new Perspective (also located in this plugin).
Also we specified the plugin_customization.ini file in the extension point "org.eclipse.core.runtime.products" in the property "preferenceCustomization" (as we did in our original plugin).

BUT, the whole strategy which I mentioned above, did not work....

Are we on the right way? Or is there an other / better way to achieve this?

Re: Own perspective via Branding-Plugin [message #1747304 is a reply to message #1747268] Fri, 11 November 2016 20:04 Go to previous messageGo to next message
Brian de Alwis is currently offline Brian de AlwisFriend
Messages: 772
Registered: January 2012
Senior Member

Creating your own branding plugin is certainly one approach. You'll need to explicitly launch your app with a -product command-line to specify this new product though. It doesn't override your existing product.

There are alternatives however:

You can specify a revised plugin_customization.ini file with -pluginCustomization on the command-line.

You can specify the default perspective with -perspective argument on the command-line.

You can see the full list of command-line options at the Eclipse Help.


Eclipse Platform committer. Ask me about Eclipse support, training, and consulting.
Re: Own perspective via Branding-Plugin [message #1747374 is a reply to message #1747304] Mon, 14 November 2016 07:12 Go to previous message
Alexander Fichtinger is currently offline Alexander FichtingerFriend
Messages: 62
Registered: January 2013
Member
Hey Brian,

thanks for your answer. =)

I think the own branding plugin is the best option for us. We will try this today =).

Previous Topic:Product Export Wizard
Next Topic:Eclipse RCP Project to RAP Convert
Goto Forum:
  


Current Time: Mon Sep 24 15:01:14 GMT 2018

Powered by FUDForum. Page generated in 0.04482 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top