How to make Parts movable within a PartStack

这一生的挚爱 提交于 2019-12-14 00:36:03

问题


I'm trying to figure out how to make the Part's movable within a Part Stack in e4.

Any ideas ?


回答1:


To support drag and drop of parts you need the DndAddon and CleanupAddon specified in your Application.e4xmi.

The Class URIs are:

bundleclass://org.eclipse.e4.ui.workbench.addons.swt/org.eclipse.e4.ui.workbench.addons.dndaddon.DnDAddon

bundleclass://org.eclipse.e4.ui.workbench.addons.swt/org.eclipse.e4.ui.workbench.addons.cleanupaddon.CleanupAddon

This requires the org.eclipse.e4.ui.workbench.addons.swt plugin



来源:https://stackoverflow.com/questions/23031690/how-to-make-parts-movable-within-a-partstack

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!