|
From: <mba...@us...> - 2006-08-08 06:36:56
|
Revision: 1552 Author: mbarchfe Date: 2006-08-07 23:36:30 -0700 (Mon, 07 Aug 2006) ViewCVS: http://svn.sourceforge.net/rubyeclipse/?rev=1552&view=rev Log Message: ----------- designker patch: Restored Welcome page, moved cheatsheet actions from rdt.debug.ui to rdt Modified Paths: -------------- trunk/org.rubypeople.rdt/.classpath trunk/org.rubypeople.rdt/build.properties trunk/org.rubypeople.rdt/intro/css/rdt.properties trunk/org.rubypeople.rdt/intro/rdtNewsExtensionContent.xml trunk/org.rubypeople.rdt/intro/rdtOverviewExtensionContent.xml trunk/org.rubypeople.rdt/intro/rdtTutorialsExtensionContent.xml trunk/org.rubypeople.rdt/plugin.properties trunk/org.rubypeople.rdt/plugin.xml trunk/org.rubypeople.rdt.debug.ui/cheatsheets/WebServices.xml Added Paths: ----------- trunk/org.rubypeople.rdt/META-INF/ trunk/org.rubypeople.rdt/META-INF/MANIFEST.MF trunk/org.rubypeople.rdt/src/ trunk/org.rubypeople.rdt/src/org/ trunk/org.rubypeople.rdt/src/org/rubypeople/ trunk/org.rubypeople.rdt/src/org/rubypeople/rdt/ trunk/org.rubypeople.rdt/src/org/rubypeople/rdt/internal/ trunk/org.rubypeople.rdt/src/org/rubypeople/rdt/internal/cheatsheets/ trunk/org.rubypeople.rdt/src/org/rubypeople/rdt/internal/cheatsheets/RdtPlugin.java trunk/org.rubypeople.rdt/src/org/rubypeople/rdt/internal/cheatsheets/webservice/ trunk/org.rubypeople.rdt/src/org/rubypeople/rdt/internal/cheatsheets/webservice/CopyContentAction.java trunk/org.rubypeople.rdt/src/org/rubypeople/rdt/internal/cheatsheets/webservice/CreateWsdlFileAction.java trunk/org.rubypeople.rdt/src/org/rubypeople/rdt/internal/cheatsheets/webservice/OpenNewRubyProjectWizardAction.java trunk/org.rubypeople.rdt/src/org/rubypeople/rdt/internal/cheatsheets/webservice/OpenRunConfigurationAction.java Modified: trunk/org.rubypeople.rdt/.classpath =================================================================== --- trunk/org.rubypeople.rdt/.classpath 2006-07-31 20:22:07 UTC (rev 1551) +++ trunk/org.rubypeople.rdt/.classpath 2006-08-08 06:36:30 UTC (rev 1552) @@ -1,5 +1,6 @@ <?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"/> Added: trunk/org.rubypeople.rdt/META-INF/MANIFEST.MF =================================================================== --- trunk/org.rubypeople.rdt/META-INF/MANIFEST.MF (rev 0) +++ trunk/org.rubypeople.rdt/META-INF/MANIFEST.MF 2006-08-08 06:36:30 UTC (rev 1552) @@ -0,0 +1,20 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: %pluginName +Bundle-SymbolicName: org.rubypeople.rdt;singleton:=true +Bundle-Version: 0.0.0 +Bundle-Localization: plugin +Require-Bundle: org.eclipse.core.resources, + org.eclipse.debug.ui, + org.rubypeople.rdt.ui, + org.rubypeople.rdt.core, + org.rubypeople.rdt.debug.core, + org.eclipse.ui.ide, + org.eclipse.ui.cheatsheets, + org.eclipse.core.runtime, + org.rubypeople.rdt.debug.ui, + org.eclipse.jface, + org.eclipse.ui.workbench +Eclipse-LazyStart: true +Bundle-Activator: org.rubypeople.rdt.internal.cheatsheets.RdtPlugin +Bundle-Vendor: %providerName Modified: trunk/org.rubypeople.rdt/build.properties =================================================================== --- trunk/org.rubypeople.rdt/build.properties 2006-07-31 20:22:07 UTC (rev 1551) +++ trunk/org.rubypeople.rdt/build.properties 2006-08-08 06:36:30 UTC (rev 1552) @@ -8,4 +8,6 @@ ruby.png,\ intro/,\ rdt.license,\ - Changelog.txt + Changelog.txt,\ + cheatsheets/,\ + META-INF/ Modified: trunk/org.rubypeople.rdt/intro/css/rdt.properties =================================================================== --- trunk/org.rubypeople.rdt/intro/css/rdt.properties 2006-07-31 20:22:07 UTC (rev 1551) +++ trunk/org.rubypeople.rdt/intro/css/rdt.properties 2006-08-08 06:36:30 UTC (rev 1552) @@ -1,8 +1,11 @@ # this is the configuration for swt based presentation of the # intro pages, like it is used for os=linux and ws=motif -overview.page-content.overview-links.rdt.link-icon = intro/css/graphics/rdt_overview.gif +overview.rdt.link-icon = intro/css/graphics/rdt_overview.gif +tutorials.rdt-introduction.link-icon = intro/css/graphics/rdt_tutorial.gif +tutorials.rdt-introduction.hover-icon = intro/css/graphics/rdt_tutorialhov.gif + tutorials.page-content.rdt.layout.ncolumns = 1 tutorials.page-content.rdt.rdt-introduction.link-icon = intro/css/graphics/rdt_tutorial.gif Modified: trunk/org.rubypeople.rdt/intro/rdtNewsExtensionContent.xml =================================================================== --- trunk/org.rubypeople.rdt/intro/rdtNewsExtensionContent.xml 2006-07-31 20:22:07 UTC (rev 1551) +++ trunk/org.rubypeople.rdt/intro/rdtNewsExtensionContent.xml 2006-08-08 06:36:30 UTC (rev 1552) @@ -1,9 +1,11 @@ <?xml version="1.0" encoding="UTF-8" ?> <introContent> - <!-- Extension to the SDK What's New Page. --> - <extensionContent alt-style="css/rdt.properties" path="news/page-content/noteworthy-links/generalAnchor"> - <link label="Ruby Development Tools" url="http://org.eclipse.ui.intro/showHelpTopic?id=/org.rubypeople.rdt.doc.user/html/ch04.html" id="rdt-noteworthy" style-id="noteworthy-link"> - <text>News about RDT for this release</text> - </link> - </extensionContent> + <!-- Extension to the SDK What's New Page. --> + <extensionContent id="org.eclipse.rdt.news" name="Ruby Development Tools" path="whatsnew/@"> + <group style-id="content-group" id="content-group"> + <link label="Ruby Development Tools" url="http://org.eclipse.ui.intro/showHelpTopic?id=/org.rubypeople.rdt.doc.user/html/ch03.html" id="rdt-noteworthy" style-id="content-link"> + <text>News about RDT for this release</text> + </link> + </group> + </extensionContent> </introContent> \ No newline at end of file Modified: trunk/org.rubypeople.rdt/intro/rdtOverviewExtensionContent.xml =================================================================== --- trunk/org.rubypeople.rdt/intro/rdtOverviewExtensionContent.xml 2006-07-31 20:22:07 UTC (rev 1551) +++ trunk/org.rubypeople.rdt/intro/rdtOverviewExtensionContent.xml 2006-08-08 06:36:30 UTC (rev 1552) @@ -1,9 +1,11 @@ -<?xml version="1.0" encoding="UTF-8" ?> +<?xml version="1.0" encoding="utf-8" ?> <introContent> - <!-- Extension to the SDK Overview Page. --> - <extensionContent alt-style="css/rdt.properties" style="css/rdtOverview.css" path="overview/page-content/overview-links/endAnchor"> - <link label="Ruby Development Tools" url="http://org.eclipse.ui.intro/showHelpTopic?id=/org.rubypeople.rdt.doc.user/html/index.html" id="rdt"> - <text>Overview of the Ruby Development Tools (RDT)</text> - </link> - </extensionContent> + <!-- Extension to the SDK Overview Page. --> + <extensionContent id="org.eclipse.rdt.overview" alt-style="css/rdt.properties" style="css/rdtOverview.css" name="Ruby Development" path="overview/@"> + <group style-id="content-group" id="content-group"> + <link label="Ruby Development" url="http://org.eclipse.ui.intro/showHelpTopic?id=/org.rubypeople.rdt.doc.user/html/index.html" id="ruby" style-id="content-link"> + <text>Get familiar with developing Ruby programs Using Eclipse</text> + </link> + </group> + </extensionContent> </introContent> \ No newline at end of file Modified: trunk/org.rubypeople.rdt/intro/rdtTutorialsExtensionContent.xml =================================================================== --- trunk/org.rubypeople.rdt/intro/rdtTutorialsExtensionContent.xml 2006-07-31 20:22:07 UTC (rev 1551) +++ trunk/org.rubypeople.rdt/intro/rdtTutorialsExtensionContent.xml 2006-08-08 06:36:30 UTC (rev 1552) @@ -1,10 +1,10 @@ <?xml version="1.0" encoding="UTF-8" ?> <introContent> <!-- Extension to the SDK Tutorials Page. --> - <extensionContent alt-style="css/rdt.properties" style="css/rdtTutorials.css" path="tutorials/page-content/endAnchor"> - <group label="Ruby Development Tools" id="rdt" style-id="tutorials-group"> - <link url="http://org.eclipse.ui.intro/showStandby?partId=org.eclipse.platform.cheatsheet&input=org.rubypeople.rdt.cheatsheets.webservices" label="Introduction to RDT" id="rdt-introduction" style-id="tutorials-link"> - <text>Learn how to create ruby projects and how to run and debug ruby programs using soap4r as example</text> + <extensionContent id="org.eclipse.rdt.tutorials" alt-style="css/rdt.properties" style="css/rdtTutorials.css" name="Ruby Development" path="tutorials/@"> + <group style-id="content-group" id="ruby-introduction-group"> + <link url="http://org.eclipse.ui.intro/showStandby?partId=org.eclipse.platform.cheatsheet&input=org.rubypeople.rdt.cheatsheets.webservices" label="Introduction to RDT" id="ruby-introduction" style-id="content-link"> + <text>Learn how to create ruby projects and how to run and debug ruby programs using soap4r as an example</text> </link> </group> </extensionContent> Modified: trunk/org.rubypeople.rdt/plugin.properties =================================================================== --- trunk/org.rubypeople.rdt/plugin.properties 2006-07-31 20:22:07 UTC (rev 1551) +++ trunk/org.rubypeople.rdt/plugin.properties 2006-08-08 06:36:30 UTC (rev 1552) @@ -1,2 +1,6 @@ pluginName=Ruby Development Tools -providerName=RubyPeople, Inc. \ No newline at end of file +providerName=RubyPeople, Inc. + +cheatsheet.category.rdt = Ruby Development +cheatsheet.webservices.name=RDT Introduction +cheatsheet.webservices.desc=Ruby Development Tools (RDT) Introduction Modified: trunk/org.rubypeople.rdt/plugin.xml =================================================================== --- trunk/org.rubypeople.rdt/plugin.xml 2006-07-31 20:22:07 UTC (rev 1551) +++ trunk/org.rubypeople.rdt/plugin.xml 2006-08-08 06:36:30 UTC (rev 1552) @@ -1,25 +1,35 @@ <?xml version="1.0" encoding="UTF-8"?> -<?eclipse version="3.0"?> -<plugin - id="org.rubypeople.rdt" - name="%pluginName" - version="0.0.0" - provider-name="%providerName"> - <requires> - <import plugin="org.eclipse.ui.intro"/> - </requires> +<?eclipse version="3.2"?> +<plugin> + <extension point="org.eclipse.ui.intro.configExtension"> <configExtension + content="intro/rdtOverviewExtensionContent.xml" + configId="org.eclipse.ui.intro.universalConfig"/> + <configExtension content="intro/rdtTutorialsExtensionContent.xml" - configId="org.eclipse.platform.introConfig"/> + configId="org.eclipse.ui.intro.universalConfig"/> <configExtension - content="intro/rdtOverviewExtensionContent.xml" - configId="org.eclipse.platform.introConfig"/> - <configExtension content="intro/rdtNewsExtensionContent.xml" - configId="org.eclipse.platform.introConfig"/> + configId="org.eclipse.ui.intro.universalConfig"/> </extension> + <extension + point="org.eclipse.ui.cheatsheets.cheatSheetContent"> + <category + id="org.rubypeople.rdt.cheatsheet.category" + name="%cheatsheet.category.rdt"/> + <cheatsheet + category="org.rubypeople.rdt.cheatsheet.category" + composite="false" + contentFile="$nl$/cheatsheets/WebServices.xml" + id="org.rubypeople.rdt.cheatsheets.webservices" + name="%cheatsheet.webservices.name"> + <description> + %cheatsheet.webservices.desc + </description> + </cheatsheet> + </extension> </plugin> Added: trunk/org.rubypeople.rdt/src/org/rubypeople/rdt/internal/cheatsheets/RdtPlugin.java =================================================================== --- trunk/org.rubypeople.rdt/src/org/rubypeople/rdt/internal/cheatsheets/RdtPlugin.java (rev 0) +++ trunk/org.rubypeople.rdt/src/org/rubypeople/rdt/internal/cheatsheets/RdtPlugin.java 2006-08-08 06:36:30 UTC (rev 1552) @@ -0,0 +1,20 @@ +package org.rubypeople.rdt.internal.cheatsheets; + +import org.eclipse.ui.plugin.AbstractUIPlugin; + + +public class RdtPlugin extends AbstractUIPlugin { + + public static final String PLUGIN_ID = "org.rubypeople.rdt"; //$NON-NLS-1$ + protected static RdtPlugin plugin; + + public RdtPlugin() { + super(); + plugin = this; + } + + public static RdtPlugin getDefault() { + return plugin; + } +} + Added: trunk/org.rubypeople.rdt/src/org/rubypeople/rdt/internal/cheatsheets/webservice/CopyContentAction.java =================================================================== --- trunk/org.rubypeople.rdt/src/org/rubypeople/rdt/internal/cheatsheets/webservice/CopyContentAction.java (rev 0) +++ trunk/org.rubypeople.rdt/src/org/rubypeople/rdt/internal/cheatsheets/webservice/CopyContentAction.java 2006-08-08 06:36:30 UTC (rev 1552) @@ -0,0 +1,43 @@ +package org.rubypeople.rdt.internal.cheatsheets.webservice; + +import java.io.File; +import java.io.FileInputStream; +import java.io.InputStream; + +import org.eclipse.core.resources.IFile; +import org.eclipse.core.runtime.Path; +import org.eclipse.jface.action.Action; +import org.eclipse.ui.cheatsheets.ICheatSheetAction; +import org.eclipse.ui.cheatsheets.ICheatSheetManager; +import org.rubypeople.rdt.core.RubyCore; +import org.rubypeople.rdt.internal.cheatsheets.RdtPlugin; +import org.rubypeople.rdt.internal.ui.RubyPlugin; + + +public class CopyContentAction extends Action implements ICheatSheetAction { + + /* (non-Javadoc) + * @see org.eclipse.ui.cheatsheets.ICheatSheetAction#run(java.lang.String[], org.eclipse.ui.cheatsheets.ICheatSheetManager) + */ + public void run(String[] params, ICheatSheetManager manager) { + File sourceFile = new File(RubyCore.getOSDirectory(RdtPlugin.getDefault()) + params[0]); + if (!sourceFile.exists()) { + this.notifyResult(false); + return; + } + + IFile dest = RubyPlugin.getWorkspace().getRoot().getFile(new Path(params[1])); + if (dest == null || !dest.exists()) { + this.notifyResult(false); + return; + } + try { + InputStream inputStream = new FileInputStream(sourceFile); + dest.setContents(inputStream, true, true, null); + this.notifyResult(true); + } catch (Exception e) { + this.notifyResult(false); + } + } + +} Added: trunk/org.rubypeople.rdt/src/org/rubypeople/rdt/internal/cheatsheets/webservice/CreateWsdlFileAction.java =================================================================== --- trunk/org.rubypeople.rdt/src/org/rubypeople/rdt/internal/cheatsheets/webservice/CreateWsdlFileAction.java (rev 0) +++ trunk/org.rubypeople.rdt/src/org/rubypeople/rdt/internal/cheatsheets/webservice/CreateWsdlFileAction.java 2006-08-08 06:36:30 UTC (rev 1552) @@ -0,0 +1,38 @@ +package org.rubypeople.rdt.internal.cheatsheets.webservice; + +import org.eclipse.core.resources.IProject; +import org.eclipse.jface.action.Action; +import org.eclipse.jface.viewers.StructuredSelection; +import org.eclipse.jface.wizard.WizardDialog; +import org.eclipse.ui.PlatformUI; +import org.eclipse.ui.cheatsheets.ICheatSheetAction; +import org.eclipse.ui.cheatsheets.ICheatSheetManager; +import org.eclipse.ui.wizards.newresource.BasicNewFileResourceWizard; +import org.rubypeople.rdt.internal.ui.RubyPlugin; + + +public class CreateWsdlFileAction extends Action implements ICheatSheetAction { + + + public void run(String[] params, ICheatSheetManager manager) { + + BasicNewFileResourceWizard wizard = new BasicNewFileResourceWizard(); + + + String projectName = params.length > 0 ? params[0] : "Unbekannt" ; + IProject project = RubyPlugin.getWorkspace().getRoot().getProject(projectName) ; + + if (project == null) { + // show error dialog + return ; + } + + wizard.init(PlatformUI.getWorkbench(), new StructuredSelection(project)); + WizardDialog dialog = new WizardDialog(RubyPlugin.getActiveWorkbenchShell(), wizard); + dialog.create(); + dialog.getShell().setText(wizard.getWindowTitle()); + int result = dialog.open(); + notifyResult(result==WizardDialog.OK); + } + +} Added: trunk/org.rubypeople.rdt/src/org/rubypeople/rdt/internal/cheatsheets/webservice/OpenNewRubyProjectWizardAction.java =================================================================== --- trunk/org.rubypeople.rdt/src/org/rubypeople/rdt/internal/cheatsheets/webservice/OpenNewRubyProjectWizardAction.java (rev 0) +++ trunk/org.rubypeople.rdt/src/org/rubypeople/rdt/internal/cheatsheets/webservice/OpenNewRubyProjectWizardAction.java 2006-08-08 06:36:30 UTC (rev 1552) @@ -0,0 +1,45 @@ +package org.rubypeople.rdt.internal.cheatsheets.webservice; + +import org.eclipse.jface.action.Action; +import org.eclipse.jface.viewers.StructuredSelection; +import org.eclipse.jface.wizard.WizardDialog; +import org.eclipse.ui.PlatformUI; +import org.eclipse.ui.cheatsheets.ICheatSheetAction; +import org.eclipse.ui.cheatsheets.ICheatSheetManager; +import org.rubypeople.rdt.internal.ui.RubyPlugin; +import org.rubypeople.rdt.internal.ui.wizards.NewProjectCreationWizard; + + +/** + * @author markus + * + */ +public class OpenNewRubyProjectWizardAction extends Action implements ICheatSheetAction { + public OpenNewRubyProjectWizardAction() { + super("OpenProject"); //$NON-NLS-1$ + } + + /** + * @see IActionDelegate#run(IAction) + */ + public void run() { + run(new String [] {}, null); + } + + /* (non-Javadoc) + * @see org.eclipse.ui.cheatsheets.ICheatSheetAction#run(java.lang.String[], org.eclipse.ui.cheatsheets.ICheatSheetManager) + */ + public void run(String[] params, ICheatSheetManager manager) { + NewProjectCreationWizard wizard = new NewProjectCreationWizard(); + if (params.length > 0) { + wizard.setDefaultProjectName(params[0]) ; + } + wizard.init(PlatformUI.getWorkbench(), new StructuredSelection()); + WizardDialog dialog = new WizardDialog(RubyPlugin.getActiveWorkbenchShell(), wizard); + dialog.create(); + //SWTUtil.setDialogSize(dialog, 500, 500); + dialog.getShell().setText(wizard.getWindowTitle()); + int result = dialog.open(); + notifyResult(result==WizardDialog.OK); + } +} Added: trunk/org.rubypeople.rdt/src/org/rubypeople/rdt/internal/cheatsheets/webservice/OpenRunConfigurationAction.java =================================================================== --- trunk/org.rubypeople.rdt/src/org/rubypeople/rdt/internal/cheatsheets/webservice/OpenRunConfigurationAction.java (rev 0) +++ trunk/org.rubypeople.rdt/src/org/rubypeople/rdt/internal/cheatsheets/webservice/OpenRunConfigurationAction.java 2006-08-08 06:36:30 UTC (rev 1552) @@ -0,0 +1,23 @@ +package org.rubypeople.rdt.internal.cheatsheets.webservice; + +import org.eclipse.debug.internal.ui.DebugUIPlugin; +import org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog; +import org.eclipse.debug.ui.IDebugUIConstants; +import org.eclipse.jface.action.Action; +import org.eclipse.ui.cheatsheets.ICheatSheetAction; +import org.eclipse.ui.cheatsheets.ICheatSheetManager; + + +public class OpenRunConfigurationAction extends Action implements ICheatSheetAction { + + /* (non-Javadoc) + * @see org.eclipse.ui.cheatsheets.ICheatSheetAction#run(java.lang.String[], org.eclipse.ui.cheatsheets.ICheatSheetManager) + */ + public void run(String[] params, ICheatSheetManager manager) { + LaunchConfigurationsDialog dialog = new LaunchConfigurationsDialog(DebugUIPlugin.getShell(), DebugUIPlugin.getDefault().getLaunchConfigurationManager().getDefaultLanuchGroup(IDebugUIConstants.ID_RUN_LAUNCH_GROUP)); + dialog.setOpenMode(LaunchConfigurationsDialog.LAUNCH_CONFIGURATION_DIALOG_OPEN_ON_LAST_LAUNCHED); + dialog.open(); + + } + +} Modified: trunk/org.rubypeople.rdt.debug.ui/cheatsheets/WebServices.xml =================================================================== --- trunk/org.rubypeople.rdt.debug.ui/cheatsheets/WebServices.xml 2006-07-31 20:22:07 UTC (rev 1551) +++ trunk/org.rubypeople.rdt.debug.ui/cheatsheets/WebServices.xml 2006-08-08 06:36:30 UTC (rev 1552) @@ -15,16 +15,18 @@ Click on the help button if you don't know how to do that. </description> </item> <item title="Switch to Ruby Perspective"> + <!-- Fix missing class <action pluginId="org.rubypeople.rdt.debug.ui" - class="org.rubypeople.rdt.internal.debug.ui.cheatsheets.webservice.OpenRubyPerspectiveAction"/> + class="org.rubypeople.rdt.internal.cheatsheets.webservice.OpenRubyPerspectiveAction"/> +--> <description> Use the "Click to Perform" button to open the ruby perspective. This can also be done manually by choosing "Window->Open Perspective->Other..." from the main menu and selecting "Ruby" from the dialog which opens. </description> </item> <item title="Create Ruby project on soap4r"> - <action pluginId="org.rubypeople.rdt.debug.ui" param1="soap4r" - class="org.rubypeople.rdt.internal.debug.ui.cheatsheets.webservice.OpenNewRubyProjectWizardAction"/> + <action pluginId="org.rubypeople.rdt" param1="soap4r" + class="org.rubypeople.rdt.internal.cheatsheets.webservice.OpenNewRubyProjectWizardAction"/> <description> In order to run wsdl2ruby.rb from the soap4r package, you create a ruby project called soap4r on top of the soap4r installation directory at first. After clicking the "Click to Perform" button below, the "New @@ -34,8 +36,8 @@ unzipped the soap4r tar ball. </description> </item> <item title="Create MyWebservice project"> - <action pluginId="org.rubypeople.rdt.debug.ui" param1="MyWebservice" - class="org.rubypeople.rdt.internal.debug.ui.cheatsheets.webservice.OpenNewRubyProjectWizardAction"/> + <action pluginId="org.rubypeople.rdt" param1="MyWebservice" + class="org.rubypeople.rdt.internal.cheatsheets.webservice.OpenNewRubyProjectWizardAction"/> <description> In this step you create a new project within your workspace, which will be used to hold the wsdl file and the generated code from this file. The project is called @@ -45,8 +47,8 @@ subdirectory into your workspace location. </description> </item> <item title="Add wsdl file to MyWebservice"> - <action pluginId="org.rubypeople.rdt.debug.ui" param1="MyWebservice" - class="org.rubypeople.rdt.internal.debug.ui.cheatsheets.webservice.CreateWsdlFileAction"/> + <action pluginId="org.rubypeople.rdt" param1="MyWebservice" + class="org.rubypeople.rdt.internal.cheatsheets.webservice.CreateWsdlFileAction"/> <description> Add a new file called sample.wsdl to the MyWebservice project. In the dialog which "Click to Perform" brings up you only have to enter the file name @@ -54,9 +56,9 @@ container of this new resource. </description> </item> <item title="Add content to sample.wsdl"> - <action pluginId="org.rubypeople.rdt.debug.ui" + <action pluginId="org.rubypeople.rdt" param1="/cheatsheets/Sample.wsdl" param2="/MyWebservice/sample.wsdl" - class="org.rubypeople.rdt.internal.debug.ui.cheatsheets.webservice.CopyContentAction"/> + class="org.rubypeople.rdt.internal.cheatsheets.webservice.CopyContentAction"/> <description> In the last step you have created the file "sample.wsdl". But why is it not there? It is, but is filtered out: In the Ruby Resources views menu deselect @@ -73,8 +75,8 @@ process. There you find the required command line options. </description> </item> <item title="Modify the run configuration for server generation"> - <action pluginId="org.rubypeople.rdt.debug.ui" - class="org.rubypeople.rdt.internal.debug.ui.cheatsheets.webservice.OpenRunConfigurationAction"/> + <action pluginId="org.rubypeople.rdt" + class="org.rubypeople.rdt.internal.cheatsheets.webservice.OpenRunConfigurationAction"/> <description> "Click to Perform" opens the run configuration dialog, which is also available as Run As->Run... from the main menu. The running of wsdl2ruby.rb in the last step has created a run-configuration named @@ -98,8 +100,8 @@ </description> </item> <item title="Create Run-Configuration for client generation"> - <action pluginId="org.rubypeople.rdt.debug.ui" - class="org.rubypeople.rdt.internal.debug.ui.cheatsheets.webservice.OpenRunConfigurationAction"/> + <action pluginId="org.rubypeople.rdt" + class="org.rubypeople.rdt.internal.cheatsheets.webservice.OpenRunConfigurationAction"/> <description> "Click to Perform" opens the run configuration dialog again. Perform "Duplicate" from the context menu of the wsdl-gen-server run configuration. A duplicate "wsdl-gen-server @@ -138,8 +140,8 @@ from the toolbar or ctrl+s.</description> </item> <item title="Run the client"> - <action pluginId="org.rubypeople.rdt.debug.ui" - class="org.rubypeople.rdt.internal.debug.ui.cheatsheets.webservice.OpenRunConfigurationAction"/> + <action pluginId="org.rubypeople.rdt" + class="org.rubypeople.rdt.internal.cheatsheets.webservice.OpenRunConfigurationAction"/> <description> Use the "Click to perform" button or select "Run->Run..." from the main menu to open the run configuration dialog. Select "Ruby Application" and click "New". This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |