1 11 package org.eclipse.ui.internal.ide.dialogs; 12 13 import org.eclipse.core.resources.IContainer; 14 import org.eclipse.swt.widgets.Shell; 15 import org.eclipse.ui.PlatformUI; 16 import org.eclipse.ui.dialogs.FilteredResourcesSelectionDialog; 17 import org.eclipse.ui.internal.ide.IDEWorkbenchMessages; 18 import org.eclipse.ui.internal.ide.IIDEHelpContextIds; 19 20 26 public class OpenResourceDialog extends FilteredResourcesSelectionDialog { 27 28 38 public OpenResourceDialog(Shell parentShell, IContainer container, 39 int typesMask) { 40 super(parentShell, true, container, typesMask); 41 setTitle(IDEWorkbenchMessages.OpenResourceDialog_title); 42 PlatformUI.getWorkbench().getHelpSystem().setHelp(parentShell, 43 IIDEHelpContextIds.OPEN_RESOURCE_DIALOG); 44 } 45 } 46 | Popular Tags |