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 Object
implements CommandProvider

Internal class.


Field Summary
static String NEW_LINE
           
static 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)
           
 Object _help(CommandInterpreter intp)
          Handles the help command
 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 String NEW_LINE
See Also:
Constant Field Values

TAB

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

EclipseCommandProvider

public EclipseCommandProvider(BundleContext context)
Method Detail

getHelp

public 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 Exception
Throws:
Exception

_enableBundle

public void _enableBundle(CommandInterpreter ci)
                   throws Exception
Throws:
Exception

_disableBundle

public void _disableBundle(CommandInterpreter ci)
                    throws Exception
Throws:
Exception

_disabledBundles

public void _disabledBundles(CommandInterpreter ci)
                      throws Exception
Throws:
Exception

_help

public 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–2014 The Apache Software Foundation. All rights reserved.