diff options
Diffstat (limited to 'plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/dialogs/DeleteModuleDialog.java')
-rw-r--r-- | plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/dialogs/DeleteModuleDialog.java | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/dialogs/DeleteModuleDialog.java b/plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/dialogs/DeleteModuleDialog.java deleted file mode 100644 index 5eaac2394..000000000 --- a/plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/dialogs/DeleteModuleDialog.java +++ /dev/null @@ -1,47 +0,0 @@ -/*************************************************************************************************** - * Copyright (c) 2003, 2004 IBM Corporation and others. All rights reserved. This program and the - * accompanying materials are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: IBM Corporation - initial API and implementation - **************************************************************************************************/ -package org.eclipse.jst.j2ee.internal.dialogs; - - - -import org.eclipse.jst.j2ee.internal.delete.DeleteOptions; -import org.eclipse.swt.SWT; -import org.eclipse.swt.layout.GridData; -import org.eclipse.swt.widgets.Composite; -import org.eclipse.swt.widgets.Control; -import org.eclipse.swt.widgets.Shell; -import org.eclipse.ui.help.WorkbenchHelp; - - -public class DeleteModuleDialog extends J2EEDeleteDialog implements J2EEDeleteUIConstants { - - protected DeleteModuleComposite deleteComposite; - - public DeleteModuleDialog(Shell parentShell) { - super(parentShell, DELETE_MODULE_OPTIONS); - } - - protected Control createCustomArea(Composite parent) { - WorkbenchHelp.setHelp(parent, "com.ibm.etools.commonedit.navm2000"); //$NON-NLS-1$ - deleteComposite = new DeleteModuleComposite(parent, SWT.NONE); - GridData data = new GridData(GridData.FILL_BOTH); - data.horizontalIndent = 10; - deleteComposite.setLayoutData(data); - return deleteComposite; - } - - public void createDeleteOptions() { - deleteOptions = new DeleteOptions(); - deleteOptions.setDeleteProjects(deleteComposite.shouldDeleteProjects()); - deleteOptions.setDeleteModules(deleteComposite.shouldDeleteModules()); - deleteOptions.setDeleteModuleDependencies(deleteComposite.shouldDeleteModuleDependencies()); - } - -} - |