0
我想在Eclipse RCE应用程序中使用JFace实现选项卡式对话框。其中一个选项卡的内容应该是ContainerSelectionDialog
,其内容如下所示:带有标签的JFace对话框
ContainerSelectionDialog dialog = new ContainerSelectionDialog(
Display.getDefault().getActiveShell(), container, true,
"Please select target folder");
int open = dialog.open();
if (!(open == org.eclipse.jface.window.Window.OK))
return null;
Object[] result = dialog.getResult();
IPath path = (IPath) result[0];
targetFolder = ResourcesPlugin.getWorkspace().getRoot().findMember(path);
containerPath = targetFolder.getLocation().toPortableString();
这怎么可能imlement一个标签对话框,并添加ContainerSelectionDialog
的标签之一?