1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-22 14:12:10 +02:00

[203124] Fix HTML errors in rse.doc.isv (patch by Olivier Thomann)

This commit is contained in:
Martin Oberhuber 2007-09-12 19:02:08 +00:00
parent fcb877ed59
commit bd2910e381
17 changed files with 943 additions and 942 deletions

View file

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- ===================================================================== --> <!-- ===================================================================== -->
<!-- Custom targets called from a project's generated build.xml --> <!-- Custom targets called from a project's generated build.xml -->
<!-- Set customBuildCallbacks=<path/to/this/file> in your build.properties.--> <!-- Set customBuildCallbacks=<path/to/this/file> in your build.properties.-->

View file

@ -31,7 +31,7 @@ help simplify the creation of action classes, especially when used together with
<h2>RSE-Supplied Base Classes for Actions</h2> <h2>RSE-Supplied Base Classes for Actions</h2>
<p>Here are the primary base classes the RSE supplies for actions, all of which are found in the <p>Here are the primary base classes the RSE supplies for actions, all of which are found in the
package <samp><A href="../../../reference/api/org/eclipse/rse/ui/actions/package-summary.html"org.eclipse.rse.ui.actions</A></samp> package <samp><A href="../../../reference/api/org/eclipse/rse/ui/actions/package-summary.html">org.eclipse.rse.ui.actions</A></samp>
in the plugin <samp>org.eclipse.rse.ui</samp>:</p> in the plugin <samp>org.eclipse.rse.ui</samp>:</p>
<TABLE border="1"> <TABLE border="1">
<TBODY> <TBODY>

View file

@ -15,7 +15,7 @@ you use:
</p> </p>
<ul> <ul>
<li>Static methods in the <li>Static methods in the
<samp><A href="../../../reference/api/org/eclipse/rse/ui/SystemBasePlugin.html"org.eclipse.rse.ui.SystemBasePlugin</A></samp> <samp><A href="../../../reference/api/org/eclipse/rse/ui/SystemBasePlugin.html">org.eclipse.rse.ui.SystemBasePlugin</A></samp>
class to load the message file and extract messages from it. class to load the message file and extract messages from it.
<li>Classes in the <li>Classes in the
<samp><A href="../../../reference/api/org/eclipse/rse/ui/messages/package-summary.html">org.eclipse.rse.ui.messages</A></samp> <samp><A href="../../../reference/api/org/eclipse/rse/ui/messages/package-summary.html">org.eclipse.rse.ui.messages</A></samp>

View file

@ -12,7 +12,7 @@
<body bgcolor="#ffffff"> <body bgcolor="#ffffff">
<h1>Plugging In Property Pages</h1> <h1>Plugging In Property Pages</h1>
<p>The <samp><a href="../../../org.eclipse.platform.doc.isv/reference/extension-points/org_eclipse_ui_propertyPages.html">org.eclipse.ui.propertyPages</a></samp> extension point <p>The <samp><a href="../../../org.eclipse.platform.doc.isv/reference/extension-points/org_eclipse_ui_propertyPages.html">org.eclipse.ui.propertyPages</a></samp> extension point
from the base Eclipse Platform is used to contribute property pages.<BR/> from the base Eclipse Platform is used to contribute property pages.<BR>
What is a property page? What is a property page?
It is a page that shows up in the Eclipse <A href="propertypage_figure2.gif">Properties dialog</A> that users It is a page that shows up in the Eclipse <A href="propertypage_figure2.gif">Properties dialog</A> that users
get to by right-clicking on an object within any tree or table view, and selecting get to by right-clicking on an object within any tree or table view, and selecting

View file

@ -19,6 +19,7 @@ It provides an
<li><a href="rse_int_architecture.html">Architectural Overview</a>,</li> <li><a href="rse_int_architecture.html">Architectural Overview</a>,</li>
<li><a href="usingAPIs.html">API Description</a> as well as some extensive</li> <li><a href="usingAPIs.html">API Description</a> as well as some extensive</li>
<li><a href="tutorials.html">Tutorials</a></li>. <li><a href="tutorials.html">Tutorials</a></li>.
</ul>
</div> </div>
<h2>Provisional API</h2> <h2>Provisional API</h2>

View file

@ -151,7 +151,7 @@ public class DeveloperFilterStringEditPane extends SystemFilterStringEditPane {
if ((textTeam == null) || (textDevr == null)) if ((textTeam == null) || (textDevr == null))
return false; return false;
else else
return (textTeam.getText().trim().length()>0) && (textDevr.getText().trim().length()>0); return (textTeam.getText().trim().length()&gt;0) &amp;&amp; (textDevr.getText().trim().length()&gt;0);
}</strong> }</strong>
/** /**

View file

@ -125,7 +125,7 @@ public class DeveloperSubSystem extends SubSystem
* @param parent - the parent resource object being expanded * @param parent - the parent resource object being expanded
* @param filterString - typically defaults to "*". In future additional user-specific quick-filters may be supported. * @param filterString - typically defaults to "*". In future additional user-specific quick-filters may be supported.
*/ */
<a id="resolveFilterString"/>protected Object[] internalResolveFilterString(Object parent, String filterString, IProgressMonitor monitor) <a id="resolveFilterString"></a>protected Object[] internalResolveFilterString(Object parent, String filterString, IProgressMonitor monitor)
throws java.lang.reflect.InvocationTargetException, throws java.lang.reflect.InvocationTargetException,
java.lang.InterruptedException java.lang.InterruptedException
{ {

View file

@ -108,7 +108,7 @@ public class DeveloperSubSystem extends SubSystem
// Now, subset master list, based on filter string... // Now, subset master list, based on filter string...
NamePatternMatcher subsetter = new NamePatternMatcher(filterString); NamePatternMatcher subsetter = new NamePatternMatcher(filterString);
Vector v = new Vector(); Vector v = new Vector();
for (int idx=0; idx &lt1; allTeams.length; idx++) for (int idx=0; idx &lt; allTeams.length; idx++)
{ {
if (subsetter.matches(allTeams[idx].getName())) if (subsetter.matches(allTeams[idx].getName()))
v.addElement(allTeams[idx]); v.addElement(allTeams[idx]);
@ -124,7 +124,7 @@ public class DeveloperSubSystem extends SubSystem
String devrName = filterString.substring(slashIdx+1); String devrName = filterString.substring(slashIdx+1);
TeamResource[] allTeams = getAllTeams(); TeamResource[] allTeams = getAllTeams();
TeamResource match = null; TeamResource match = null;
for (int idx=0; (match==null) && (idx &lt; allTeams.length); idx++) for (int idx=0; (match==null) &amp;&amp; (idx &lt; allTeams.length); idx++)
if (allTeams[idx].getName().equals(teamName)) if (allTeams[idx].getName().equals(teamName))
match = allTeams[idx]; match = allTeams[idx];
if (match != null) if (match != null)

View file

@ -59,7 +59,7 @@ public class DeveloperSubSystemConfiguration extends SubSystemConfiguration {
* We intercept so that we can create an initial filter in that pool, which will * We intercept so that we can create an initial filter in that pool, which will
* list all teams. * list all teams.
*/ */
<a id="createDefaultFilterPool"/><strong>protected ISystemFilterPool createDefaultFilterPool(ISystemFilterPoolManager mgr) <a id="createDefaultFilterPool"></a><strong>protected ISystemFilterPool createDefaultFilterPool(ISystemFilterPoolManager mgr)
{ {
ISystemFilterPool defaultPool = null; ISystemFilterPool defaultPool = null;
try { try {

View file

@ -128,7 +128,7 @@ public class FolderInfoPropertyPage
*/ */
private void killThread() private void killThread()
{ {
if (!stopped && workerThread.isAlive()) if (!stopped &amp;&amp; workerThread.isAlive())
{ {
stopped = true; stopped = true;
try { try {
@ -199,9 +199,9 @@ public class FolderInfoPropertyPage
try try
{ {
IRemoteFile[] folders = currFolder.getParentRemoteFileSubSystem().listFoldersAndFiles( currFolder, null); IRemoteFile[] folders = currFolder.getParentRemoteFileSubSystem().listFoldersAndFiles( currFolder, null);
if ((folders != null) && (folders.length>0)) if ((folders != null) &amp;&amp; (folders.length&gt;0))
{ {
for (int idx=0; !stopped && (idx&lt;folders.length); idx++) for (int idx=0; !stopped &amp;&amp; (idx&lt;folders.length); idx++)
{ {
// is this a folder? // is this a folder?
if (folders[idx].isDirectory()) if (folders[idx].isDirectory())

View file

@ -11,7 +11,6 @@
<body> <body>
<h1>RSESamplesPlugin Class</h1> <h1>RSESamplesPlugin Class</h1>
<pre><samp>
<pre><code> <pre><code>
package rsesamples; package rsesamples;
@ -168,6 +167,6 @@ public class RSESamplesPlugin extends SystemBasePlugin {
} }
} }
</code></pre></samp></pre> </code></pre>
</body> </body>
</html> </html>

View file

@ -79,7 +79,7 @@ public class ShowJarContents implements IObjectActionDelegate {
//get the Command subsystem associated with the current host //get the Command subsystem associated with the current host
IHost myHost = getSubSystem().getHost(); IHost myHost = getSubSystem().getHost();
IRemoteCmdSubSystem[] subsys = RemoteCommandHelpers.getCmdSubSystems(myHost); IRemoteCmdSubSystem[] subsys = RemoteCommandHelpers.getCmdSubSystems(myHost);
for (int i = 0; i < subsys.length; i++) { for (int i = 0; i &lt; subsys.length; i++) {
if (subsys[i].getSubSystemConfiguration().supportsCommands()) { if (subsys[i].getSubSystemConfiguration().supportsCommands()) {
return subsys[i]; return subsys[i];
} }
@ -89,7 +89,7 @@ public class ShowJarContents implements IObjectActionDelegate {
public void runCommand(String command) throws Exception { public void runCommand(String command) throws Exception {
IRemoteCmdSubSystem cmdss = getRemoteCmdSubSystem(); IRemoteCmdSubSystem cmdss = getRemoteCmdSubSystem();
if (cmdss != null && cmdss.isConnected()) { if (cmdss != null &amp;&amp; cmdss.isConnected()) {
// Run the command in a visible shell // Run the command in a visible shell
RemoteCommandHelpers.runUniversalCommand(getShell(), command, ".", cmdss); //$NON-NLS-1$ RemoteCommandHelpers.runUniversalCommand(getShell(), command, ".", cmdss); //$NON-NLS-1$
} else { } else {

View file

@ -66,7 +66,7 @@ public class TeamResourceAdapter extends AbstractSystemViewAdapter implements
/* (non-Javadoc) /* (non-Javadoc)
* @see org.eclipse.rse.ui.view.AbstractSystemViewAdapter#getAbsoluteName(java.lang.Object) * @see org.eclipse.rse.ui.view.AbstractSystemViewAdapter#getAbsoluteName(java.lang.Object)
*/ */
<a id="getAbsoluteName"/>public String getAbsoluteName(Object object) <a id="getAbsoluteName"></a>public String getAbsoluteName(Object object)
{ {
<strong>TeamResource team = (TeamResource)object; <strong>TeamResource team = (TeamResource)object;
return "Team_"+team.getName();</strong> return "Team_"+team.getName();</strong>
@ -124,7 +124,7 @@ public class TeamResourceAdapter extends AbstractSystemViewAdapter implements
* Intercept of parent method to indicate these objects can be renamed using the RSE-supplied * Intercept of parent method to indicate these objects can be renamed using the RSE-supplied
* rename action. * rename action.
*/ */
<a id="canRename"/>public boolean canRename(Object element) <a id="canRename"></a>public boolean canRename(Object element)
{ {
<strong>return true;</strong> <strong>return true;</strong>
} }
@ -133,7 +133,7 @@ public class TeamResourceAdapter extends AbstractSystemViewAdapter implements
* Intercept of parent method to actually do the rename. RSE supplies the rename GUI, but * Intercept of parent method to actually do the rename. RSE supplies the rename GUI, but
* defers the action work of renaming to this adapter method. * defers the action work of renaming to this adapter method.
*/ */
<a id="doRename"/>public boolean doRename(Shell shell, Object element, String newName) <a id="doRename"></a>public boolean doRename(Shell shell, Object element, String newName)
{ {
<strong>((TeamResource)element).setName(newName); <strong>((TeamResource)element).setName(newName);
return true;</strong> return true;</strong>
@ -185,7 +185,7 @@ public class TeamResourceAdapter extends AbstractSystemViewAdapter implements
/* (non-Javadoc) /* (non-Javadoc)
* @see org.eclipse.rse.ui.view.ISystemRemoteElementAdapter#refreshRemoteObject(java.lang.Object, java.lang.Object) * @see org.eclipse.rse.ui.view.ISystemRemoteElementAdapter#refreshRemoteObject(java.lang.Object, java.lang.Object)
*/ */
<a id="refreshRemoteObject"/>public boolean refreshRemoteObject(Object oldElement, Object newElement) <a id="refreshRemoteObject"></a>public boolean refreshRemoteObject(Object oldElement, Object newElement)
{ {
<strong>TeamResource oldTeam = (TeamResource)oldElement; <strong>TeamResource oldTeam = (TeamResource)oldElement;
TeamResource newTeam = (TeamResource)newElement; TeamResource newTeam = (TeamResource)newElement;
@ -204,7 +204,7 @@ public class TeamResourceAdapter extends AbstractSystemViewAdapter implements
/* (non-Javadoc) /* (non-Javadoc)
* @see org.eclipse.rse.ui.view.ISystemRemoteElementAdapter#getRemoteParentNamesInUse(org.eclipse.swt.widgets.Shell, java.lang.Object) * @see org.eclipse.rse.ui.view.ISystemRemoteElementAdapter#getRemoteParentNamesInUse(org.eclipse.swt.widgets.Shell, java.lang.Object)
*/ */
<a id="getNames"/>public String[] getRemoteParentNamesInUse(Shell shell, Object element) <a id="getNames"></a>public String[] getRemoteParentNamesInUse(Shell shell, Object element)
throws Exception throws Exception
{ {
<strong>DeveloperSubSystem ourSS = (DeveloperSubSystem)getSubSystem(element); <strong>DeveloperSubSystem ourSS = (DeveloperSubSystem)getSubSystem(element);

View file

@ -19,16 +19,16 @@
<ol> <ol>
<li>Select <b>File-&gt;New-&gt;Project.</b></li> <li>Select <b>File-&gt;New-&gt;Project.</b></li>
<li>In the dialog box select the <b>Plug-in Project</b> wizard. Click <b>Next &gt;</b>. <li>In the dialog box select the <b>Plug-in Project</b> wizard. Click <b>Next &gt;</b>.
<br /><img src="pdeProj_1.png"> <br><img src="pdeProj_1.png">
</li> </li>
<li>In the first page of the wizard enter <b>&quot;RSESamples&quot;</b> for the project name (without the quotes). Click <b>Next &gt;</b>. <li>In the first page of the wizard enter <b>&quot;RSESamples&quot;</b> for the project name (without the quotes). Click <b>Next &gt;</b>.
<br /><img src="pdeProj_wiz_page1.png"> <br><img src="pdeProj_wiz_page1.png">
</li> </li>
<li>In the second page of the wizard enter your company for the <b>Plug-in Provider</b>, change the <b>Activator</b> to be "rsesamples.RSESamplesPlugin", and click <b>Next &gt;</b>. <li>In the second page of the wizard enter your company for the <b>Plug-in Provider</b>, change the <b>Activator</b> to be "rsesamples.RSESamplesPlugin", and click <b>Next &gt;</b>.
<br /><img src="pdeProj_wiz_page2.png"> <br><img src="pdeProj_wiz_page2.png">
</li> </li>
<li>In the third page of the wizard uncheck the "Create a plug-in using one of the templates" checkbox and click <b>Finish</b>. <li>In the third page of the wizard uncheck the "Create a plug-in using one of the templates" checkbox and click <b>Finish</b>.
<br /><img src="pdeProj_wiz_page3.png"> <br><img src="pdeProj_wiz_page3.png">
</li> </li>
<li>Your new plugin project is created and visible in the Package Explorer of the Plug-in Development perspective. Your new plugin properties are also open in the plug-in editor.</li> <li>Your new plugin project is created and visible in the Package Explorer of the Plug-in Development perspective. Your new plugin properties are also open in the plug-in editor.</li>
<li>Go to the dependencies tab of the plug-in editor and add the following plugins to the list: <li>Go to the dependencies tab of the plug-in editor and add the following plugins to the list:

View file

@ -97,7 +97,7 @@ Use the "Source -&gt; Organize Imports" context menu item to add the appropriate
<pre><code> <pre><code>
public void runCommand(String command) { public void runCommand(String command) {
IRemoteCmdSubSystem cmdss = getRemoteCmdSubSystem(); IRemoteCmdSubSystem cmdss = getRemoteCmdSubSystem();
if (cmdss != null && cmdss.isConnected()) { if (cmdss != null &amp;&amp; cmdss.isConnected()) {
// Run the command in a visible shell // Run the command in a visible shell
RemoteCommandHelpers.runUniversalCommand(getShell(), command, ".", cmdss); //$NON-NLS-1$ RemoteCommandHelpers.runUniversalCommand(getShell(), command, ".", cmdss); //$NON-NLS-1$
} else { } else {
@ -111,7 +111,7 @@ Use the "Source -&gt; Organize Imports" context menu item to add the appropriate
public IRemoteCmdSubSystem getRemoteCmdSubSystem() { public IRemoteCmdSubSystem getRemoteCmdSubSystem() {
IHost myHost = getSubSystem().getHost(); IHost myHost = getSubSystem().getHost();
IRemoteCmdSubSystem[] subsys = RemoteCommandHelpers.getCmdSubSystems(myHost); IRemoteCmdSubSystem[] subsys = RemoteCommandHelpers.getCmdSubSystems(myHost);
for (int i = 0; i < subsys.length; i++) { for (int i = 0; i &lt; subsys.length; i++) {
if (subsys[i].getSubSystemConfiguration().supportsCommands()) { if (subsys[i].getSubSystemConfiguration().supportsCommands()) {
return subsys[i]; return subsys[i];
} }

View file

@ -14,7 +14,7 @@
extend the RSE: extend the RSE:
<ul> <ul>
<li>Popup menu actions for remote resources should now be contributed via the standard Eclipse extension point, <tt>org.eclipse.ui.popupMenus</tt>. An example of this usage is provided in the <tt>org.eclipse.rse.examples.tutorial</tt> plug-in. <li>Popup menu actions for remote resources should now be contributed via the standard Eclipse extension point, <tt>org.eclipse.ui.popupMenus</tt>. An example of this usage is provided in the <tt>org.eclipse.rse.examples.tutorial</tt> plug-in.
<li>Property pages should for remote resources now be contributed via the standard Eclipse extension point, <tt>org.eclipse.ui.propertyPages<tt>. An example of this usage is provided in the <tt>org.eclipse.rse.examples.tutorial</tt> plug-in. <li>Property pages should for remote resources now be contributed via the standard Eclipse extension point, <tt>org.eclipse.ui.propertyPages</tt>. An example of this usage is provided in the <tt>org.eclipse.rse.examples.tutorial</tt> plug-in.
<li><a href="tutorial/subsystem.html">Creating a subsystem configuration</a> for working with remote resources, using the <a href="plugin/subsystem.html">org.eclipse.rse.core.subsystemConfigurations</a> extension point. <li><a href="tutorial/subsystem.html">Creating a subsystem configuration</a> for working with remote resources, using the <a href="plugin/subsystem.html">org.eclipse.rse.core.subsystemConfigurations</a> extension point.
</ul> </ul>
<p>The source code for all tutorials is available in the RSE-examples package, which <p>The source code for all tutorials is available in the RSE-examples package, which

View file

@ -10,6 +10,6 @@
</head> </head>
<body> <body>
<h1>Installing The Examples <h1>Installing The Examples</h1>
</body> </body>
</html> </html>