简体   繁体   English

JavaFX中的拖放选项卡

[英]Drag-drop tabs in JavaFX

I'm searching for a way to migrate current application from Eclipse RCP framework into default JavaFX. 我正在寻找一种将当前应用程序从Eclipse RCP框架迁移到默认JavaFX的方法。 Now when I analyse all the functionallity of Eclipse RCP framework GUI, I found some difficult features to migrate. 现在,当我分析Eclipse RCP框架GUI的所有功能时,发现了一些难以迁移的功能。

  • Drag drop tab to other perspective 将下拉选项卡拖动到其他角度
  • Drog drop tab to new screen Drog拖放选项卡到新屏幕
  • Split screen when a tab (perspective) will be dropped between other perspective 在其他透视图之间放置选项卡(透视图)时分屏
  • Resize of perspectives/components by the user 用户调整视角/组件的大小

Are all those features possible in default JavaFX? 所有这些功能都可以在默认JavaFX中使用吗? Does somebody know any framework in pure JavaFX that feels like Eclipse RCP framework? 有人知道纯JavaFX中的任何类似于Eclipse RCP框架的框架吗?

We're currently working on such a framework for the Drombler FX application framework, but it's still work-in-progress: http://www.drombler.org/drombler-fx/0.7/docs/tutorial/docking-framework.html#dockingFramework 我们目前正在为Drombler FX应用程序框架开发这种框架,但仍在开发中: http : //www.drombler.org/drombler-fx/0.7/docs/tutorial/docking-framework.html #dockingFramework

The Docking framework can even be used outside Drombler FX, but without annotation support and you have to programmtically setup everything. Docking框架甚至可以在Drombler FX之外使用,但是没有注释支持,您必须以编程方式设置所有内容。 Here is a sample . 这是一个样本

Found the best sollution for our application. 找到了适合我们应用的最佳解决方案。 We searched for a javaFx library with the same capabilities as the Eclipse framework. 我们搜索了具有与Eclipse框架相同功能的javaFx库。 The tiwulfx does just that job. tiwulfx可以完成这项工作。 It's easy in use. 易于使用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM