org.eclipse.core.runtime.internal.adaptor
Class EclipseCommandProvider

java.lang.Object
  extended by org.eclipse.core.runtime.internal.adaptor.EclipseCommandProvider
All Implemented Interfaces:
CommandProvider

public class EclipseCommandProvider
extends java.lang.Object
implements CommandProvider

Internal class.


Field Summary
static java.lang.String NEW_LINE
           
static java.lang.String TAB
           
 
Constructor Summary
EclipseCommandProvider(BundleContext context)
           
 
Method Summary
 void _diag(CommandInterpreter ci)
           
 void _disableBundle(CommandInterpreter ci)
           
 void _disabledBundles(CommandInterpreter ci)
           
 void _enableBundle(CommandInterpreter ci)
           
 java.lang.Object _help(CommandInterpreter intp)
          Handles the help command
 java.lang.String getHelp()
          Answer a string (may be as many lines as you like) with help texts that explain the command.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NEW_LINE

public static final java.lang.String NEW_LINE
See Also:
Constant Field Values

TAB

public static final java.lang.String TAB
See Also:
Constant Field Values
Constructor Detail

EclipseCommandProvider

public EclipseCommandProvider(BundleContext context)
Method Detail

getHelp

public java.lang.String getHelp()
Description copied from interface: CommandProvider
Answer a string (may be as many lines as you like) with help texts that explain the command.

Specified by:
getHelp in interface CommandProvider

_diag

public void _diag(CommandInterpreter ci)
           throws java.lang.Exception
Throws:
java.lang.Exception

_enableBundle

public void _enableBundle(CommandInterpreter ci)
                   throws java.lang.Exception
Throws:
java.lang.Exception

_disableBundle

public void _disableBundle(CommandInterpreter ci)
                    throws java.lang.Exception
Throws:
java.lang.Exception

_disabledBundles

public void _disabledBundles(CommandInterpreter ci)
                      throws java.lang.Exception
Throws:
java.lang.Exception

_help

public java.lang.Object _help(CommandInterpreter intp)
Handles the help command

Parameters:
intp -
Returns:
description for a particular command or false if there is no command with the specified name


Copyright © 2007-2012 FuseSource, Corp.. All Rights Reserved.