【发布时间】:2012-01-12 16:13:15
【问题描述】:
我正在编写一个测试来学习如何使用CheckedTreeSelectionDialog。这是代码。
CheckedTreeSelectionDialog dialog =
new CheckedTreeSelectionDialog(shell, new LabelProvider(), new TreeContentProvider() );
dialog.setTitle("Tree Selection");
dialog.setMessage("Select the elements from the tree:");
ElementTree et = new ElementTree();
et.createElement(new Path("element_1"), "element_1");
dialog.setInput(dt);
dialog.open();
但我得到了例外:
org.eclipse.swt.SWTException: 无法执行 runnable (java.lang.NoClassDefFoundError: org/eclipse/pde/internal/ui/elements/TreeContentProvider)
我真的很感激任何提示!
谢谢!
【问题讨论】:
标签: eclipse eclipse-plugin eclipse-pde