diff options
author | cbridgha | 2008-11-13 19:02:03 +0000 |
---|---|---|
committer | cbridgha | 2008-11-13 19:02:03 +0000 |
commit | c5e3b07193f10d3efeff58cc135bdf53917d19e2 (patch) | |
tree | 81dd5c4ab00ffa8e1bb9af3dbe997b4a1273c896 /plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/dialogs/DeleteModuleDialog.java | |
parent | 4be1d718efaef4f4e6d09cb97a57717963e9a1d1 (diff) | |
download | webtools.javaee-200811131902.tar.gz webtools.javaee-200811131902.tar.xz webtools.javaee-200811131902.zip |
This commit was manufactured by cvs2svn to create tag 'v200811131902'.v200811131902
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 | 50 |
1 files changed, 0 insertions, 50 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 cfb80fe79..000000000 --- a/plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/dialogs/DeleteModuleDialog.java +++ /dev/null @@ -1,50 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2003, 2005 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.actions.IJ2EEUIContextIds; -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.PlatformUI; - - -public class DeleteModuleDialog extends J2EEDeleteDialog implements J2EEDeleteUIConstants { - - protected DeleteModuleComposite deleteComposite; - - public DeleteModuleDialog(Shell parentShell) { - super(parentShell, DELETE_MODULE_OPTIONS); - } - - protected Control createCustomArea(Composite parent) { - PlatformUI.getWorkbench().getHelpSystem().setHelp(parent, IJ2EEUIContextIds.DELEATE_MODULE_DIALOG_1); //$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()); - } - -} - |