Page 1 of 1
More than one CUSTOM view (SDK)
Posted: Sun Feb 27, 2011 10:43 am
by nithril
Hello,
I want to create more than one custom view which will contains differents domains of the same business logic.
I'm not able with the current SDK to add more than one custom view.
Do you plan to add this type of feature ?
Regards,
Nicolas
Re: More than one CUSTOM view (SDK)
Posted: Mon Feb 28, 2011 12:50 pm
by Radu
Hi Nicolas,
For now there is a single custom view to which you can provide custom content. We plan to increase the number of custom views and toolbars to which you can contribute.
But what you can do for now:
From the
ViewComponentCustomizer you can contribute to an already existing Oxygen view by overwriting its content (and title, icon) with your own content. So you can choose an Oxygen view which is not usually used and replace its content with your own.
Example:
Code: Select all
pluginWorkspaceAccess.addViewComponentCustomizer(new ViewComponentCustomizer() {
/**
* @see ro.sync.exml.workspace.api.standalone.ViewComponentCustomizer#customizeView(ro.sync.exml.workspace.api.standalone.ViewInfo)
*/
public void customizeView(ViewInfo viewInfo) {
if("Dynamic_Help".equals(viewInfo.getViewID())) {
viewInfo.setTitle("MY VIEW");
viewInfo.setComponent(new JLabel("My content"));
}
}
});
Regards,
Radu
Re: More than one CUSTOM view (SDK)
Posted: Tue Mar 01, 2011 5:00 pm
by nithril
Hi Radu,
Thanks for your answer. I will test it.
Regards,
Nicolas
Re: More than one CUSTOM view (SDK)
Posted: Thu May 12, 2011 3:25 pm
by Radu
Hi,
Oxygen 12.2 which will be available in a couple of weeks will allow you to contribute multiple views and toolbars from a Workspace Access plugin by registering extensions in the plugin.xml descriptor.
Regards,
Radu
Re: More than one CUSTOM view (SDK)
Posted: Wed Aug 17, 2011 1:55 pm
by nithril
Great news! It will simplify development.
Regards,
Nicolas
Re: More than one CUSTOM view (SDK)
Posted: Wed Aug 17, 2011 2:01 pm
by Radu
Hi Nicolas,
My post was quite old, Oxygen 12.2 (+ SDK) is already available, we are getting close to releasing Oxygen 13 so you can test the new functionality right away.
Regards,
Radu
Re: More than one CUSTOM view (SDK)
Posted: Wed Aug 17, 2011 2:15 pm
by nithril
Radu wrote:Hi Nicolas,
My post was quite old, Oxygen 12.2 (+ SDK) is already available, we are getting close to releasing Oxygen 13 so you can test the new functionality right away.
Regards,
Radu
Sorry for the delay I forgot to enable email notification.
Ironically I open this post to past it to a colleague in order to show him that Oxygen cannot handle more than one custom view.
But I'm wrong, Oyxgen 12.2 now handles this feature. I will read more cautiously the release notes.
Great works!
Nicolas