Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding getServerRuntime in RuntimePref page
- fixes #1711 Signed-off-by: Ondrej Dockal <odockal@redhat.com>
- Loading branch information
Showing
4 changed files
with
122 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
...r.eclipse.test/src/org/eclipse/reddeer/eclipse/test/wst/server/ui/TestServerRuntime2.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
/******************************************************************************* | ||
* Copyright (c) 2018 Red Hat, Inc 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: | ||
* Red Hat Inc. - initial API and implementation | ||
*******************************************************************************/ | ||
package org.eclipse.reddeer.eclipse.test.wst.server.ui; | ||
|
||
import org.eclipse.core.runtime.IProgressMonitor; | ||
import org.eclipse.core.runtime.IStatus; | ||
import org.eclipse.core.runtime.Path; | ||
import org.eclipse.core.runtime.Status; | ||
import org.eclipse.wst.server.core.model.RuntimeDelegate; | ||
|
||
public class TestServerRuntime2 extends RuntimeDelegate { | ||
|
||
public static final String ID = "org.eclipse.reddeer.eclipse.test.wst.server.testserverruntime"; | ||
|
||
public static final String CATEGORY = "Basic"; | ||
|
||
public static final String NAME = "Test runtime 2"; | ||
|
||
public static final String TYPE = "Test runtime 2"; | ||
|
||
public IStatus validate() { | ||
return Status.OK_STATUS; | ||
} | ||
|
||
public void setDefaults(IProgressMonitor monitor) { | ||
getRuntimeWorkingCopy().setLocation(new Path("")); | ||
} | ||
} |