It is theoretically possible, but it is not something we currently
support. You will most likely need to create a custom subclass of
ApplicationContext that uses the AWT/SWT bridge to host the context's
DisplayHost in the SWT Composite.
Out of curiosity, what is the use case you are trying to address?
Greg
On Oct 9, 2009, at 9:41 AM, Manoj Kumar S wrote:
Thanks for the pointer. I was able to integrate pivot jars into
the RCP.
Now the next step i was trying is to render the labels,text, etc
onto the eclipse view.
For swt we use the Composite object to render.
Eg:
Composite parent;
label l = new label(parent, SWT.WRAP);
l.setText("Test Label");
Was wondering if its possible to render the pivot label object onto
the RCP's Composite parent object?
Thanks,
-Manoj.
On Thu, Oct 8, 2009 at 8:58 PM, Noel Grandin <noelgran...@gmail.com>
wrote:
With Eclipse RCP, you're operating in a plugin (OSGi-type)
environment, so you'll probably need to configure something in the
manifest or one of the plugin declaration files.
There should be a tutorial somewhere about integrating third-party
jars.
-- Noel.
Manoj Kumar S wrote:
Thanks for the reply. I do have all the jars in the build path
already. Still it never works.
Thanks,
-Manoj.
On Thu, Oct 8, 2009 at 7:44 PM, Greg Brown <gkbr...@mac.com> wrote:
Sounds like you need to make sure the Pivot JARs are on your
classpath.
However, you are somewhat in uncharted waters. Pivot is based on
AWT and Java2D, whereas Eclipse uses SWT. You may need to use the
AWT/SWT bridge to accomplish what you are trying to do. This is not
something we have tested, so you may run into issues that we are
not aware of and may not be able to resolve.
But please let us know how it goes. Others may be able to share
some experience that may help, and we will try to be of assistance
if we can.
Greg
On Thursday, October 08, 2009, at 02:50AM, "Manoj Kumar S" <m4ma...@gmail.com
> wrote:
>
Hi,
Was trying to use pivot in an Eclipse RCP application. When I try
to instantiate any object (like Label) within a view, i get a run
time exception of NoClassDefenition found.
Any one has tried this before? Any examples?
Appreciate your help.
Thanks,
-Manoj.