KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > jdt > debug > ui > launchConfigurations > AppletArgumentsTab


1 /*******************************************************************************
2  * Copyright (c) 2000, 2006 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.jdt.debug.ui.launchConfigurations;
12
13 import org.eclipse.jdt.internal.debug.ui.IJavaDebugHelpContextIds;
14 import org.eclipse.jdt.internal.debug.ui.launcher.AppletWorkingDirectoryBlock;
15 import org.eclipse.jdt.internal.debug.ui.launcher.WorkingDirectoryBlock;
16 import org.eclipse.ui.PlatformUI;
17
18 /**
19  * A launch configuration tab that displays and edits program arguments,
20  * VM arguments, and working directory launch configuration attributes,
21  * for an applet.
22  * <p>
23  * This class may be instantiated. This class is not intended to be subclassed.
24  * </p>
25  * @since 2.1
26  */

27 public class AppletArgumentsTab extends JavaArgumentsTab {
28
29     /**
30      * @see org.eclipse.jdt.debug.ui.launchConfigurations.JavaArgumentsTab#createWorkingDirBlock()
31      */

32     protected WorkingDirectoryBlock createWorkingDirBlock() {
33         return new AppletWorkingDirectoryBlock();
34     }
35
36     /**
37      * @see org.eclipse.jdt.debug.ui.launchConfigurations.JavaArgumentsTab#setHelpContextId()
38      */

39     protected void setHelpContextId() {
40         PlatformUI.getWorkbench().getHelpSystem().setHelp(getControl(), IJavaDebugHelpContextIds.LAUNCH_CONFIGURATION_DIALOG_APPLET_ARGUMENTS_TAB);
41     }
42             
43 }
44
Popular Tags