forked from eclipse-jdt/eclipse.jdt.ui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Dirk Baeumer
committed
Mar 31, 2004
1 parent
b0eebc5
commit 5365759
Showing
106 changed files
with
8,304 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<classpath> | ||
<classpathentry kind="src" path="src"/> | ||
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> | ||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> | ||
<classpathentry kind="output" path="bin"/> | ||
</classpath> |
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,2 @@ | ||
bin | ||
|
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,28 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>org.eclipse.ltk.core.refactoring.tests</name> | ||
<comment></comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
<buildCommand> | ||
<name>org.eclipse.jdt.core.javabuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>org.eclipse.pde.ManifestBuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>org.eclipse.pde.SchemaBuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
</buildSpec> | ||
<natures> | ||
<nature>org.eclipse.pde.PluginNature</nature> | ||
<nature>org.eclipse.jdt.core.javanature</nature> | ||
</natures> | ||
</projectDescription> |
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,4 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<form> | ||
<p/><p><b>Tips on working with this plug-in project</b></p><li>For the view of the new plug-in at a glance, go to the <img href="pageImage"/><a href="OverviewPage">Overview</a>.</li><li>You can test the contributions of this plug-in by launching another instance of the workbench. On the <b>Run</b> menu, click <b>Run As</b> and choose <img href="runTimeWorkbenchImage"/><a href="action.run">Run-time Workbench</a> from the available choices.</li><li>You can add more functionality to this plug-in by adding extensions using the <a href="action.newExtension">New Extension Wizard</a>.</li><li>The plug-in project contains Java code that you can debug. Place breakpoints in Java classes. On the <b>Run</b> menu, select <b>Debug As</b> and choose <img href="runTimeWorkbenchImage"/><a href="action.debug">Run-time Workbench</a> from the available choices.</li> | ||
</form> |
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,4 @@ | ||
source.refcoretests.jar = src/ | ||
output.refcoretests.jar = bin/ | ||
bin.includes = plugin.xml,\ | ||
refcoretests.jar |
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,12 @@ | ||
############################################################################### | ||
# Copyright (c) 2000, 2004 IBM Corporation and others. | ||
# All rights reserved. This program and the accompanying materials | ||
# are made available under the terms of the Common Public License v1.0 | ||
# which accompanies this distribution, and is available at | ||
# http://www.eclipse.org/legal/cpl-v10.html | ||
# | ||
# Contributors: | ||
# IBM Corporation - initial API and implementation | ||
############################################################################### | ||
pluginName= Refactoring Core Test Plug-in | ||
providerName= Eclipse.org |
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,27 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<?eclipse version="3.0"?> | ||
<plugin | ||
id="org.eclipse.ltk.core.refactoring.tests" | ||
name="%pluginName" | ||
version="3.0.0" | ||
provider-name="%providerName" | ||
class="org.eclipse.ltk.core.refactoring.tests.RefactoringCoreTestPlugin"> | ||
|
||
<runtime> | ||
<library name="refcoretests.jar"> | ||
<export name="*"/> | ||
<packages prefixes="org.eclipse.ltk.core.refactoring,org.eclipse.ltk.internal.core.refactoring"/> | ||
</library> | ||
</runtime> | ||
|
||
<requires> | ||
<import plugin="org.junit"/> | ||
<import plugin="org.eclipse.core.expressions"/> | ||
<import plugin="org.eclipse.core.filebuffers"/> | ||
<import plugin="org.eclipse.core.resources"/> | ||
<import plugin="org.eclipse.text"/> | ||
<import plugin="org.eclipse.core.runtime.compatibility"/> | ||
<import plugin="org.eclipse.ltk.core.refactoring"/> | ||
</requires> | ||
|
||
</plugin> |
24 changes: 24 additions & 0 deletions
24
...lipse.ltk.core.refactoring.tests/src/org/eclipse/ltk/core/refactoring/tests/AllTests.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,24 @@ | ||
/******************************************************************************* | ||
* Copyright (c) 2000, 2003 IBM Corporation and others. | ||
* All rights reserved. This program and the accompanying materials | ||
* are made available under the terms of the Common Public License v1.0 | ||
* which accompanies this distribution, and is available at | ||
* http://www.eclipse.org/legal/cpl-v10.html | ||
* | ||
* Contributors: | ||
* IBM Corporation - initial API and implementation | ||
*******************************************************************************/ | ||
package org.eclipse.ltk.core.refactoring.tests; | ||
|
||
import junit.framework.Test; | ||
import junit.framework.TestSuite; | ||
|
||
public class AllTests { | ||
|
||
public static Test suite() { | ||
TestSuite suite= new TestSuite("All Refactoring Core Tests"); //$NON-NLS-1$ | ||
suite.addTestSuite(EmptySuite.class); | ||
return suite; | ||
} | ||
} | ||
|
19 changes: 19 additions & 0 deletions
19
...pse.ltk.core.refactoring.tests/src/org/eclipse/ltk/core/refactoring/tests/EmptySuite.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,19 @@ | ||
/******************************************************************************* | ||
* Copyright (c) 2000, 2004 IBM Corporation and others. | ||
* All rights reserved. This program and the accompanying materials | ||
* are made available under the terms of the Common Public License v1.0 | ||
* which accompanies this distribution, and is available at | ||
* http://www.eclipse.org/legal/cpl-v10.html | ||
* | ||
* Contributors: | ||
* IBM Corporation - initial API and implementation | ||
*******************************************************************************/ | ||
package org.eclipse.ltk.core.refactoring.tests; | ||
|
||
import junit.framework.TestCase; | ||
|
||
public class EmptySuite extends TestCase { | ||
|
||
public void test0() { | ||
} | ||
} |
32 changes: 32 additions & 0 deletions
32
...factoring.tests/src/org/eclipse/ltk/core/refactoring/tests/RefactoringCoreTestPlugin.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,32 @@ | ||
/******************************************************************************* | ||
* Copyright (c) 2000, 2004 IBM Corporation and others. | ||
* All rights reserved. This program and the accompanying materials | ||
* are made available under the terms of the Common Public License v1.0 | ||
* which accompanies this distribution, and is available at | ||
* http://www.eclipse.org/legal/cpl-v10.html | ||
* | ||
* Contributors: | ||
* IBM Corporation - initial API and implementation | ||
*******************************************************************************/ | ||
package org.eclipse.ltk.core.refactoring.tests; | ||
|
||
import org.eclipse.core.runtime.IPluginDescriptor; | ||
import org.eclipse.core.runtime.Plugin; | ||
|
||
public class RefactoringCoreTestPlugin extends Plugin { | ||
|
||
private static RefactoringCoreTestPlugin fgDefault; | ||
|
||
public RefactoringCoreTestPlugin(IPluginDescriptor descriptor) { | ||
super(descriptor); | ||
fgDefault= this; | ||
} | ||
|
||
public static RefactoringCoreTestPlugin getDefault() { | ||
return fgDefault; | ||
} | ||
|
||
public static String getPluginId() { | ||
return getDefault().getDescriptor().getUniqueIdentifier(); | ||
} | ||
} |
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,51 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<project name="testsuite" default="run" basedir="."> | ||
<!-- The property ${eclipse-home} should be passed into this script --> | ||
<!-- Set a meaningful default value for when it is not. --> | ||
<property name="eclipse-home" value="${basedir}\..\.."/> | ||
|
||
<!-- sets the properties eclipse-home, and library-file --> | ||
<property name="plugin-name" value="org.eclipse.ltk.core.refactoring.tests"/> | ||
<property name="library-file" | ||
value="${eclipse-home}/plugins/org.eclipse.test/library.xml"/> | ||
|
||
<!-- This target holds all initialization code that needs to be done for --> | ||
<!-- all tests that are to be run. Initialization for individual tests --> | ||
<!-- should be done within the body of the suite target. --> | ||
<target name="init"> | ||
<tstamp/> | ||
<delete> | ||
<fileset dir="${eclipse-home}" includes="org*.xml"/> | ||
</delete> | ||
</target> | ||
|
||
<!-- This target defines the tests that need to be run. --> | ||
<target name="suite"> | ||
<property name="refactoring-core-folder" | ||
value="${eclipse-home}/refactoring_core_folder"/> | ||
<delete dir="${refactoring-core-folder}" quiet="true"/> | ||
<ant target="ui-test" antfile="${library-file}" dir="${eclipse-home}"> | ||
<property name="data-dir" value="${refactoring-core-folder}"/> | ||
<property name="plugin-name" value="${plugin-name}"/> | ||
<property name="classname" | ||
value="org.eclipse.ltk.core.refactoring.tests.AllTests"/> | ||
</ant> | ||
</target> | ||
|
||
<!-- This target holds code to cleanup the testing environment after --> | ||
<!-- after all of the tests have been run. You can use this target to --> | ||
<!-- delete temporary files that have been created. --> | ||
<target name="cleanup"> | ||
</target> | ||
|
||
<!-- This target runs the test suite. Any actions that need to happen --> | ||
<!-- after all the tests have been run should go here. --> | ||
<target name="run" depends="init,suite,cleanup"> | ||
<ant target="collect" antfile="${library-file}" dir="${eclipse-home}"> | ||
<property name="includes" value="org*.xml"/> | ||
<property name="output-file" value="${plugin-name}.xml"/> | ||
</ant> | ||
</target> | ||
|
||
</project> |
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,7 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<classpath> | ||
<classpathentry kind="src" path="src"/> | ||
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> | ||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> | ||
<classpathentry kind="output" path="bin"/> | ||
</classpath> |
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,2 @@ | ||
bin | ||
|
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,28 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>org.eclipse.ltk.core.refactoring</name> | ||
<comment></comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
<buildCommand> | ||
<name>org.eclipse.jdt.core.javabuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>org.eclipse.pde.ManifestBuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>org.eclipse.pde.SchemaBuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
</buildSpec> | ||
<natures> | ||
<nature>org.eclipse.pde.PluginNature</nature> | ||
<nature>org.eclipse.jdt.core.javanature</nature> | ||
</natures> | ||
</projectDescription> |
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,4 @@ | ||
source.refcore.jar = src/ | ||
output.refcore.jar = bin/ | ||
bin.includes = plugin.xml,\ | ||
refcore.jar |
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,18 @@ | ||
############################################################################### | ||
# Copyright (c) 2000, 2004 IBM Corporation and others. | ||
# All rights reserved. This program and the accompanying materials | ||
# are made available under the terms of the Common Public License v1.0 | ||
# which accompanies this distribution, and is available at | ||
# http://www.eclipse.org/legal/cpl-v10.html | ||
# | ||
# Contributors: | ||
# IBM Corporation - initial API and implementation | ||
############################################################################### | ||
pluginName= Refactoring Core | ||
providerName= Eclipse.org | ||
|
||
renameParticipantsExtensionPoint= Rename Participants | ||
createParticipantsExtensionPoint= Create Participants | ||
deleteParticipantsExtensionPoint= Delete Participants | ||
moveParticipantsExtensionPoint= Move Participants | ||
copyParticipantsExtensionPoint= Copy Participants |
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,31 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<?eclipse version="3.0"?> | ||
<plugin | ||
id="org.eclipse.ltk.core.refactoring" | ||
name="%pluginName" | ||
version="3.0.0" | ||
provider-name="%providerName" | ||
class="org.eclipse.ltk.internal.core.refactoring.RefactoringCorePlugin"> | ||
|
||
<runtime> | ||
<library name="refcore.jar"> | ||
<export name="*"/> | ||
<packages prefixes="org.eclipse.ltk.core.refactoring,org.eclipse.ltk.internal.core.refactoring"/> | ||
</library> | ||
</runtime> | ||
|
||
<requires> | ||
<import plugin="org.eclipse.core.expressions"/> | ||
<import plugin="org.eclipse.core.filebuffers"/> | ||
<import plugin="org.eclipse.core.resources"/> | ||
<import plugin="org.eclipse.text"/> | ||
<import plugin="org.eclipse.core.runtime.compatibility"/> | ||
</requires> | ||
|
||
<extension-point id="renameParticipants" name="%renameParticipantsExtensionPoint"/> | ||
<extension-point id="createParticipants" name="%createParticipantsExtensionPoint"/> | ||
<extension-point id="deleteParticipants" name="%deleteParticipantsExtensionPoint"/> | ||
<extension-point id="moveParticipants" name="%moveParticipantsExtensionPoint"/> | ||
<extension-point id="copyParticipants" name="%copyParticipantsExtensionPoint"/> | ||
|
||
</plugin> |
Oops, something went wrong.