Drag a tree view node from one JavaFX part to another part of an eclipse E4 RCP application [message #1781226] |
Sat, 03 February 2018 15:37 |
Anoop V N Messages: 3 Registered: July 2012 |
Junior Member |
|
|
Hi,
I am new to Eclipse E4 RCP and GEF5 development. Currently i am working on RCP app which is having 3 parts in partstash container.
1.A treeview with items listed as a toolbar pallete which should be draggable.
2. A main part which is having an FX canvas used to create nodes and connections between nodes(still to implement)
3.When selecting a node in FX canvas its properties shod show in the view part.I am using GEF5 for this.
In this i am not able to find any code snippet which is doing drag and drop between two javafx parts in E4 application.
I have succeded to get the the drop event on Fxcanvas but iam not able to find an IPolicy or Handler class to do the creation of the new node when the same is dropped on a canvas.
Can anyone help on this?
I have gone through the Mind Map tutorial but in that the node creation is done using IOnClickHandler and creation policy.
[Updated on: Sat, 03 February 2018 18:23] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.02453 seconds