Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » e4xmi view class uri
e4xmi view class uri [message #1749427] Tue, 06 December 2016 15:26 Go to next message
Dimg Cim is currently offline Dimg CimFriend
Messages: 31
Registered: December 2015
Hello everybody,

I want to understand the viewpart mapping in the application model.
When I have a Viewpart, I set the ViewPart Class in the e4xmi, e.g.
Class URI:bundleclass://BUNDLE_ID/BUNDLE_ID.TestPart.

How can this be interpreted by the workbench renderer?
Which place should I look for this.

The interesting thing, how can bundleClass be read as View and added to the workbench?

The other question is how to convert this class uri to Java Object (Pojo?)

Hope my questions is clear enough.


Re: e4xmi view class uri [message #1752544 is a reply to message #1749427] Wed, 25 January 2017 00:36 Go to previous message
Patrik Suzzi is currently offline Patrik SuzziFriend
Messages: 86
Registered: June 2010
Location: Imola, Italy

In the Class URI, you have: bundleclass://<BUNDLE-NAME>/<FULL-PATH-TO-PART-CLASS>

- bundleclass:// is the prefix indicating you are loading a class from your bundle
- <BUNDLE-NAME>: name of your plug-in or your application
- <FULL-PATH-TO-PART-CLASS>: full class name for the Part you want to use

as an example:


Loads the class ExampleView (in package com.example.myplugin.views), from inside the plugin named MyPluginOrApplication.

Kind Regards,

Ing. Patrik Suzzi
Consultant Software Engineer,
Eclipse Platform Committer

[Updated on: Wed, 25 January 2017 00:37]

Report message to a moderator

Previous Topic:Label decoration in e4
Next Topic:How to use dialog in e4 application model
Goto Forum:

Current Time: Thu Mar 22 00:42:01 GMT 2018

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

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