mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-22 06:02:11 +02:00
[203124] Fix HTML errors in rse.doc.isv (patch by Olivier Thomann)
This commit is contained in:
parent
fcb877ed59
commit
bd2910e381
17 changed files with 943 additions and 942 deletions
|
@ -1,3 +1,4 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- ===================================================================== -->
|
||||
<!-- Custom targets called from a project's generated build.xml -->
|
||||
<!-- Set customBuildCallbacks=<path/to/this/file> in your build.properties.-->
|
||||
|
|
|
@ -31,7 +31,7 @@ help simplify the creation of action classes, especially when used together with
|
|||
|
||||
<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
|
||||
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>
|
||||
<TABLE border="1">
|
||||
<TBODY>
|
||||
|
|
|
@ -15,7 +15,7 @@ you use:
|
|||
</p>
|
||||
<ul>
|
||||
<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.
|
||||
<li>Classes in the
|
||||
<samp><A href="../../../reference/api/org/eclipse/rse/ui/messages/package-summary.html">org.eclipse.rse.ui.messages</A></samp>
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
<body bgcolor="#ffffff">
|
||||
<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
|
||||
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?
|
||||
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
|
||||
|
|
|
@ -19,6 +19,7 @@ It provides an
|
|||
<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="tutorials.html">Tutorials</a></li>.
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<h2>Provisional API</h2>
|
||||
|
|
|
@ -151,7 +151,7 @@ public class DeveloperFilterStringEditPane extends SystemFilterStringEditPane {
|
|||
if ((textTeam == null) || (textDevr == null))
|
||||
return false;
|
||||
else
|
||||
return (textTeam.getText().trim().length()>0) && (textDevr.getText().trim().length()>0);
|
||||
return (textTeam.getText().trim().length()>0) && (textDevr.getText().trim().length()>0);
|
||||
}</strong>
|
||||
|
||||
/**
|
||||
|
|
|
@ -125,7 +125,7 @@ public class DeveloperSubSystem extends SubSystem
|
|||
* @param parent - the parent resource object being expanded
|
||||
* @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,
|
||||
java.lang.InterruptedException
|
||||
{
|
||||
|
|
|
@ -108,7 +108,7 @@ public class DeveloperSubSystem extends SubSystem
|
|||
// Now, subset master list, based on filter string...
|
||||
NamePatternMatcher subsetter = new NamePatternMatcher(filterString);
|
||||
Vector v = new Vector();
|
||||
for (int idx=0; idx <1; allTeams.length; idx++)
|
||||
for (int idx=0; idx < allTeams.length; idx++)
|
||||
{
|
||||
if (subsetter.matches(allTeams[idx].getName()))
|
||||
v.addElement(allTeams[idx]);
|
||||
|
@ -124,7 +124,7 @@ public class DeveloperSubSystem extends SubSystem
|
|||
String devrName = filterString.substring(slashIdx+1);
|
||||
TeamResource[] allTeams = getAllTeams();
|
||||
TeamResource match = null;
|
||||
for (int idx=0; (match==null) && (idx < allTeams.length); idx++)
|
||||
for (int idx=0; (match==null) && (idx < allTeams.length); idx++)
|
||||
if (allTeams[idx].getName().equals(teamName))
|
||||
match = allTeams[idx];
|
||||
if (match != null)
|
||||
|
|
|
@ -59,7 +59,7 @@ public class DeveloperSubSystemConfiguration extends SubSystemConfiguration {
|
|||
* We intercept so that we can create an initial filter in that pool, which will
|
||||
* 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;
|
||||
try {
|
||||
|
|
|
@ -128,7 +128,7 @@ public class FolderInfoPropertyPage
|
|||
*/
|
||||
private void killThread()
|
||||
{
|
||||
if (!stopped && workerThread.isAlive())
|
||||
if (!stopped && workerThread.isAlive())
|
||||
{
|
||||
stopped = true;
|
||||
try {
|
||||
|
@ -199,9 +199,9 @@ public class FolderInfoPropertyPage
|
|||
try
|
||||
{
|
||||
IRemoteFile[] folders = currFolder.getParentRemoteFileSubSystem().listFoldersAndFiles( currFolder, null);
|
||||
if ((folders != null) && (folders.length>0))
|
||||
if ((folders != null) && (folders.length>0))
|
||||
{
|
||||
for (int idx=0; !stopped && (idx<folders.length); idx++)
|
||||
for (int idx=0; !stopped && (idx<folders.length); idx++)
|
||||
{
|
||||
// is this a folder?
|
||||
if (folders[idx].isDirectory())
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
|
||||
<body>
|
||||
<h1>RSESamplesPlugin Class</h1>
|
||||
<pre><samp>
|
||||
<pre><code>
|
||||
package rsesamples;
|
||||
|
||||
|
@ -168,6 +167,6 @@ public class RSESamplesPlugin extends SystemBasePlugin {
|
|||
}
|
||||
|
||||
}
|
||||
</code></pre></samp></pre>
|
||||
</code></pre>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -79,7 +79,7 @@ public class ShowJarContents implements IObjectActionDelegate {
|
|||
//get the Command subsystem associated with the current host
|
||||
IHost myHost = getSubSystem().getHost();
|
||||
IRemoteCmdSubSystem[] subsys = RemoteCommandHelpers.getCmdSubSystems(myHost);
|
||||
for (int i = 0; i < subsys.length; i++) {
|
||||
for (int i = 0; i < subsys.length; i++) {
|
||||
if (subsys[i].getSubSystemConfiguration().supportsCommands()) {
|
||||
return subsys[i];
|
||||
}
|
||||
|
@ -89,7 +89,7 @@ public class ShowJarContents implements IObjectActionDelegate {
|
|||
|
||||
public void runCommand(String command) throws Exception {
|
||||
IRemoteCmdSubSystem cmdss = getRemoteCmdSubSystem();
|
||||
if (cmdss != null && cmdss.isConnected()) {
|
||||
if (cmdss != null && cmdss.isConnected()) {
|
||||
// Run the command in a visible shell
|
||||
RemoteCommandHelpers.runUniversalCommand(getShell(), command, ".", cmdss); //$NON-NLS-1$
|
||||
} else {
|
||||
|
|
|
@ -66,7 +66,7 @@ public class TeamResourceAdapter extends AbstractSystemViewAdapter implements
|
|||
/* (non-Javadoc)
|
||||
* @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;
|
||||
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
|
||||
* rename action.
|
||||
*/
|
||||
<a id="canRename"/>public boolean canRename(Object element)
|
||||
<a id="canRename"></a>public boolean canRename(Object element)
|
||||
{
|
||||
<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
|
||||
* 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);
|
||||
return true;</strong>
|
||||
|
@ -185,7 +185,7 @@ public class TeamResourceAdapter extends AbstractSystemViewAdapter implements
|
|||
/* (non-Javadoc)
|
||||
* @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;
|
||||
TeamResource newTeam = (TeamResource)newElement;
|
||||
|
@ -204,7 +204,7 @@ public class TeamResourceAdapter extends AbstractSystemViewAdapter implements
|
|||
/* (non-Javadoc)
|
||||
* @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
|
||||
{
|
||||
<strong>DeveloperSubSystem ourSS = (DeveloperSubSystem)getSubSystem(element);
|
||||
|
|
|
@ -19,16 +19,16 @@
|
|||
<ol>
|
||||
<li>Select <b>File->New->Project.</b></li>
|
||||
<li>In the dialog box select the <b>Plug-in Project</b> wizard. Click <b>Next ></b>.
|
||||
<br /><img src="pdeProj_1.png">
|
||||
<br><img src="pdeProj_1.png">
|
||||
</li>
|
||||
<li>In the first page of the wizard enter <b>"RSESamples"</b> for the project name (without the quotes). Click <b>Next ></b>.
|
||||
<br /><img src="pdeProj_wiz_page1.png">
|
||||
<br><img src="pdeProj_wiz_page1.png">
|
||||
</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 ></b>.
|
||||
<br /><img src="pdeProj_wiz_page2.png">
|
||||
<br><img src="pdeProj_wiz_page2.png">
|
||||
</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>.
|
||||
<br /><img src="pdeProj_wiz_page3.png">
|
||||
<br><img src="pdeProj_wiz_page3.png">
|
||||
</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:
|
||||
|
|
|
@ -97,7 +97,7 @@ Use the "Source -> Organize Imports" context menu item to add the appropriate
|
|||
<pre><code>
|
||||
public void runCommand(String command) {
|
||||
IRemoteCmdSubSystem cmdss = getRemoteCmdSubSystem();
|
||||
if (cmdss != null && cmdss.isConnected()) {
|
||||
if (cmdss != null && cmdss.isConnected()) {
|
||||
// Run the command in a visible shell
|
||||
RemoteCommandHelpers.runUniversalCommand(getShell(), command, ".", cmdss); //$NON-NLS-1$
|
||||
} else {
|
||||
|
@ -111,7 +111,7 @@ Use the "Source -> Organize Imports" context menu item to add the appropriate
|
|||
public IRemoteCmdSubSystem getRemoteCmdSubSystem() {
|
||||
IHost myHost = getSubSystem().getHost();
|
||||
IRemoteCmdSubSystem[] subsys = RemoteCommandHelpers.getCmdSubSystems(myHost);
|
||||
for (int i = 0; i < subsys.length; i++) {
|
||||
for (int i = 0; i < subsys.length; i++) {
|
||||
if (subsys[i].getSubSystemConfiguration().supportsCommands()) {
|
||||
return subsys[i];
|
||||
}
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
extend the RSE:
|
||||
<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>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.
|
||||
</ul>
|
||||
<p>The source code for all tutorials is available in the RSE-examples package, which
|
||||
|
|
|
@ -10,6 +10,6 @@
|
|||
</head>
|
||||
|
||||
<body>
|
||||
<h1>Installing The Examples
|
||||
<h1>Installing The Examples</h1>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Reference in a new issue