KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > jdt > internal > launching > Standard11xVM


1 /*******************************************************************************
2  * Copyright (c) 2000, 2005 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.internal.launching;
12
13
14 import org.eclipse.debug.core.ILaunchManager;
15 import org.eclipse.jdt.launching.IVMInstallType;
16 import org.eclipse.jdt.launching.IVMRunner;
17
18 /**
19  * A 1.1.x VM
20  */

21 public class Standard11xVM extends StandardVM {
22
23     public Standard11xVM(IVMInstallType type, String JavaDoc id) {
24         super(type, id);
25     }
26
27
28     /**
29      * @see org.eclipse.jdt.launching.IVMInstall#getVMRunner(String)
30      */

31     public IVMRunner getVMRunner(String JavaDoc mode) {
32         if (ILaunchManager.RUN_MODE.equals(mode)) {
33             return new Standard11xVMRunner(this);
34         }
35         return null;
36     }
37
38
39 }
40
41
Popular Tags