Processing view inside Eclipse RCP
in
Integration and Hardware
•
2 years ago
Hi there,
I am trying to insert an processing view inside an eclipse EditorPart. Does anyone have ever tried to do that?
I have added the "core.jar" to the Reference Libraries, and created a class ProcessingViewer extends PApplet, that implements the Toroid example. At my EditorPart class, inside the createPartControl I did the following:
ProcessingViewer pap = new ProcessingViewer();
I googled "Eclipse RCP" + "processing" but I couldn't find any tip of how to add an processing view to the RCP's EditorPart. It seems to me that there are 2 main problems:
1) I should add "pap" to its parent
2) I should call something like pap.main(....), but it doesn't seems to be appropriate in this case
Can anyone give me a tip of how to do that?
Thanks in advance,
Flávio Mello
I am trying to insert an processing view inside an eclipse EditorPart. Does anyone have ever tried to do that?
I have added the "core.jar" to the Reference Libraries, and created a class ProcessingViewer extends PApplet, that implements the Toroid example. At my EditorPart class, inside the createPartControl I did the following:
ProcessingViewer pap = new ProcessingViewer();
I googled "Eclipse RCP" + "processing" but I couldn't find any tip of how to add an processing view to the RCP's EditorPart. It seems to me that there are 2 main problems:
1) I should add "pap" to its parent
2) I should call something like pap.main(....), but it doesn't seems to be appropriate in this case
Can anyone give me a tip of how to do that?
Thanks in advance,
Flávio Mello
1