private void doAddJar() {
ElementTreeSelectionDialog dialog = new ElementTreeSelectionDialog(getSection().getShell(), new WorkbenchLabelProvider(), new WorkbenchContentProvider());
dialog.setAllowMultiple(true);
dialog.setTitle("JAR Selection");
dialog.setMessage("Select JAR Files to add to the Classpath.");
dialog.addFilter(new FileExtensionFilter("jar")); //$NON-NLS-1$
IResource resource = getInputResource();
dialog.setInput(resource.getProject());
if (dialog.open() == Window.OK) {