Update of /cvsroot/cpptool/rfta/src/eclipseplugin/PluginCode In directory sc8-pr-cvs1:/tmp/cvs-serv30463 Added Files: pluginbuild.jardesc plugin.xml build.xml build.properties .template .project .cvsignore .classpath Log Message: eclipse project files --- NEW FILE: pluginbuild.jardesc --- <?xml version="1.0" encoding="UTF-8"?> <jardesc> <jar path="D:/Projects/Cpptool/rfta/src/eclipseplugin/PluginCode/bin/cpprefactoring.jar"/> <options overwrite="true" compress="true" exportErrors="true" exportWarnings="true" saveDescription="true" descriptionLocation="/org.eclipse.cpprefactoring/pluginbuild.jardesc" useSourceFolders="false" buildIfNeeded="true"/> <manifest manifestVersion="1.0" usesManifest="true" reuseManifest="false" saveManifest="false" generateManifest="true" manifestLocation=""> <sealing sealJar="false"> <packagesToSeal/> <packagesToUnSeal/> </sealing> </manifest> <selectedElements exportClassFiles="true" exportJavaFiles="false"> <javaElement handleIdentifier="=org.eclipse.cpprefactoring/src"/> </selectedElements> </jardesc> --- NEW FILE: plugin.xml --- <?xml version="1.0" encoding="UTF-8"?> <plugin id="org.eclipse.cpprefactoring" name="Helloworld Plug-in" version="0.0.0" provider-name="My" class="org.eclipse.cpprefactoring.RefactorPluginMain"> <runtime> <library name="cpprefactoring.jar"/> </runtime> <requires> <import plugin="org.eclipse.core.resources"/> <import plugin="org.eclipse.ui"/> </requires> <extension point="org.eclipse.ui.actionSets"> <actionSet label="Cpp Refactoring Actions" visible="true" id="org.eclipse.cpprefactoring.actionSet"> <menu label="CppRefactoring" id="CppRefactoringMenu"> <separator name="refactoringGroup"> </separator> </menu> <action label="&RenameLocaleVariableAction" icon="icons/RenameVariable.gif" tooltip="Rename a local variable" class="org.eclipse.cpprefactoring.actions.RenameLocaleVariableAction" menubarPath="CppRefactoringMenu/refactoringGroup" toolbarPath="Normal" id="org.eclipse.cpprefactoring.actions.RenameLocaleVariableAction.Menu"> </action> </actionSet> </extension> <extension point="org.eclipse.ui.perspectiveExtensions"> <perspectiveExtension targetID="org.eclipse.ui.resourcePerspective"> <actionSet id="org.eclipse.cpprefactoring.actionSet"> </actionSet> </perspectiveExtension> </extension> <extension point="org.eclipse.ui.popupMenus"> <viewerContribution targetID="#CEditorContext" id="RenameLocaleVariableAction"> <action label="Rename Local Variable" icon="icons/RenameVariable.gif" class="org.eclipse.cpprefactoring.actions.RenameLocaleVariableAction" menubarPath="CppRefactoring" id="org.eclipse.cpprefactoring.actions.RenameLocaleVariableAction.Popup"> </action> </viewerContribution> </extension> </plugin> --- NEW FILE: build.xml --- <project name="MyProject" default="dist" basedir="."> <description> simple example build file </description> <!-- set global properties for this build --> <property name="src" location="src"/> <property name="bin" location="bin"/> <property name="build" location="..\..\..\build\eclipseplugin"/> <property name="deplib" location="..\..\..\deplib"/> <property name="signatures" location="..\GeneratedCode"/> <target name="build-jni-header" description="calls javah to generate the jni header of the class 'EclipseBridge'" > <exec executable="J:\Programmer\java\j2sdk1.4.0_02\bin\javah.exe" > <arg line="-d ${signatures} -classpath ${bin} org.eclipse.cpprefactoring.internal.EclipseBridge" /> </exec> </target> <target name="output-signatures" description="calls javap to create a file containing the signatures of classes accessed by native code" > <!-- <exec executable="J:\Programmer\java\j2sdk1.4.0_02\bin\javap.exe" output="${signatures}\RefactoringTextDocumentProvider.signatures.txt"> <arg line="-s -p -classpath ${bin} org.eclipse.cpprefactoring.internal.RefactoringTextDocumentProvider" /> </exec> <exec executable="J:\Programmer\java\j2sdk1.4.0_02\bin\javap.exe" output="${signatures}\RefactoringSourceRange.signatures.txt"> <arg line="-s -p -classpath ${bin} org.eclipse.cpprefactoring.internal.RefactoringSourceRange" /> </exec> <exec executable="J:\Programmer\java\j2sdk1.4.0_02\bin\javap.exe" output="${signatures}\EclipseBridge.signatures.txt"> <arg line="-s -p -classpath ${bin} org.eclipse.cpprefactoring.internal.EclipseBridge" /> </exec> <exec executable="J:\Programmer\java\j2sdk1.4.0_02\bin\javap.exe" output="${signatures}\StringBuffer.signatures.txt"> <arg line="-s -p -classpath ${bin} java.lang.StringBuffer" /> </exec>--> <exec executable="J:\Programmer\java\j2sdk1.4.0_02\bin\javap.exe" output="${signatures}\RenameLocalVariableDialog.signatures.txt"> <arg line="-s -p -classpath ${bin};d:\programme\Eclipse-FULL-2.0.2\plugins\org.eclipse.ui_2.0.2/workbench.jar org.eclipse.cpprefactoring.ui.RenameLocalVariableDialog" /> </exec> </target> <target name="distribute" description="copies a distributable plugin in the build directory" > <copy file="${bin}\cpprefactoring.jar" todir="${build}\org.eclipse.cpprefactoring" /> <copy file="${build}\Release\eclipseplugin.dll" todir="${build}\org.eclipse.cpprefactoring" /> <copy file="${build}\..\rfta\Release\rfta_mdr.ext" todir="${build}\org.eclipse.cpprefactoring" /> <copy file="${build}\..\rftaparser\Release\rftaparser_mdr.ext" todir="${build}\org.eclipse.cpprefactoring" /> <copy file="${deplib}\cppunit\lib\cppunit_dll.dll" todir="${build}\org.eclipse.cpprefactoring" /> <copy file="icons\RenameVariable.gif" todir="${build}\org.eclipse.cpprefactoring\icons" /> <copy file="plugin.xml" todir="${build}\org.eclipse.cpprefactoring" /> </target> </project> --- NEW FILE: build.properties --- source.helloworld.jar = src/ --- NEW FILE: .template --- <?xml version="1.0" encoding="UTF-8"?> <form> <p><b>Generated content</b></p><p>This plug-in has been created using content templates. The following templates were used:</p> <li style="text" value="1."><b>Sample Action Set.</b>This template creates a simple action set that adds <b>Sample Menu</b> to the menu bar and a button to the tool bar. Both the menu item in the new menu and the button invoke the same <b>Sample Action</b>. Its role is to open a simple message dialog with a message of your choice.</li> <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> --- NEW FILE: .project --- <?xml version="1.0" encoding="UTF-8"?> <projectDescription> <name>org.eclipse.cpprefactoring</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.jdt.core.javanature</nature> <nature>org.eclipse.pde.PluginNature</nature> </natures> </projectDescription> --- NEW FILE: .cvsignore --- bin *.dll *.ext --- NEW FILE: .classpath --- <?xml version="1.0" encoding="UTF-8"?> <classpath> <classpathentry kind="src" path="src/"/> <classpathentry kind="var" path="ECLIPSE_HOME/plugins/org.eclipse.core.resources_2.0.1/resources.jar" sourcepath="_ORG_ECLIPSE_PLATFORM_SOURCE/org.eclipse.core.resources_2.0.1/resourcessrc.zip"/> <classpathentry kind="var" path="ECLIPSE_HOME/plugins/org.eclipse.ui_2.0.2/workbench.jar" sourcepath="_ORG_ECLIPSE_PLATFORM_SOURCE/org.eclipse.ui_2.0.2/workbenchsrc.zip"/> <classpathentry kind="var" path="ECLIPSE_HOME/plugins/org.eclipse.ui.win32_2.0.0/workbenchwin32.jar" sourcepath="_ORG_ECLIPSE_PLATFORM_WIN32_SOURCE/org.eclipse.ui.win32_2.0.0/workbenchwin32src.zip"/> <classpathentry kind="var" path="ECLIPSE_HOME/plugins/org.eclipse.swt.win32_2.0.2/ws/win32/swt.jar" sourcepath="_ORG_ECLIPSE_PLATFORM_WIN32_SOURCE/org.eclipse.swt.win32_2.0.2/ws/win32/swtsrc.zip"/> <classpathentry kind="var" path="ECLIPSE_HOME/plugins/org.eclipse.core.runtime_2.0.2/runtime.jar" sourcepath="_ORG_ECLIPSE_PLATFORM_SOURCE/org.eclipse.core.runtime_2.0.2/runtimesrc.zip"/> <classpathentry kind="var" path="ECLIPSE_HOME/plugins/org.eclipse.core.boot_2.0.2/boot.jar" sourcepath="_ORG_ECLIPSE_PLATFORM_SOURCE/org.eclipse.core.boot_2.0.2/bootsrc.zip"/> <classpathentry kind="var" path="JRE_LIB" rootpath="JRE_SRCROOT" sourcepath="JRE_SRC"/> <classpathentry kind="lib" path="D:/Programme/eclipse-FULL-2.0.2/plugins/org.eclipse.cdt.ui_1.0.1/cdtui.jar"/> <classpathentry kind="output" path="bin"/> </classpath> |