public interface CommandProvider
The interface contains only methods for the help. The console should use inspection to find the commands. All public commands, starting with a '_' and taking a CommandInterpreter as parameter will be found. E.g.
public Object _hello( CommandInterpreter intp ) {
return "hello " + intp.nextArgument();
}
Clients may implement this interface.
| Modifier and Type | Method and Description |
|---|---|
String |
getHelp()
Answer a string (may be as many lines as you like) with help
texts that explain the command.
|
String getHelp()
Copyright (c) 2000, 2017 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.