Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » e(fx)clipse » Create DndTabPane with my own DragFinishedConsumer
Create DndTabPane with my own DragFinishedConsumer [message #1775707] Fri, 03 November 2017 17:35 Go to next message
Maxim Martynov is currently offline Maxim MartynovFriend
Messages: 16
Registered: February 2017
Junior Member
How i can create DndTabPane with my own DragFinishedConsumer?

Now i'm create TabPane
TabPane tabs =  DndTabPaneFactory.createDefaultDnDPane(FeedbackType.MARKER);


i cant get private DragSetup setup; because it'is private and i can't invoke setDragFinishedConsumer. At the same time i can't create org.eclipse.fx.ui.controls.tabpane.skin.DndTabPaneSkinHooker because packege not exported in Manifest.mf

And the second questions. Why method
private static void handleFinished(GenericTab tab) {
		cleanup();
	}
invoked after mouse go outside the bounds of TabPane but not dropped yet?

[Updated on: Fri, 03 November 2017 17:36]

Report message to a moderator

Re: Create DndTabPane with my own DragFinishedConsumer [message #1777956 is a reply to message #1775707] Wed, 06 December 2017 18:50 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6365
Registered: July 2009
Senior Member
Sorry for not responding earlier. You can just use DndTabPane and DragSetup is notthing you setup yourself but the consumer-callback gets passed the setup instance.
Previous Topic:Tutorial 3 in Oxygen
Next Topic:"unknown protocol: dyndata" after upgrade to 3.1.0
Goto Forum:
  


Current Time: Fri Dec 15 14:18:53 GMT 2017

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

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