Skip to main content



      Home
Home » Eclipse Projects » Eclipse 4 » Drag a tree view node from one JavaFX part to another part of an eclipse E4 RCP application (Drag a tree view node from one JavaFX part to another part of an eclipse E4 RCP application )
Drag a tree view node from one JavaFX part to another part of an eclipse E4 RCP application [message #1781226] Sat, 03 February 2018 10:37
Eclipse UserFriend
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 13:23] by Moderator

Previous Topic:Drag of Toolbar & fast views in RCP 3.x applications running in eclipse 4 target environment
Next Topic:Preferences in ConfigurationScope are not written
Goto Forum:
  


Current Time: Thu Jul 03 11:22:45 EDT 2025

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

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

Back to the top