public class EquinoxFeature extends CommandRegistry implements ShellFeature
Constructor and Description |
---|
EquinoxFeature() |
Modifier and Type | Method and Description |
---|---|
void |
autorun(Shell shell)
Override this to automatically run some commands at startup if needed.
|
void |
connect(String url,
String username,
String password) |
void |
disconnect() |
String |
getDescription() |
String |
getPrompt(Shell shell)
Override this to provide a custom prompt for your command namespace
|
String |
getTitle() |
void |
install(Shell shell)
Install the feature in the given shell instance.
|
void |
loadCommands() |
addAnnotatedCommand, addCommandType, clear, getCommandNames, getCommandNameSet, getCommandType, getCommandTypes, getCommandTypesByNamespace, getCommandTypeSet, getLocalCommandTypes, getName, getParent
public void install(Shell shell)
ShellFeature
install
in interface ShellFeature
public void loadCommands()
public String getTitle()
getTitle
in class CommandRegistry
public String getDescription()
getDescription
in class CommandRegistry
public String getPrompt(Shell shell)
CommandRegistry
getPrompt
in class CommandRegistry
public void disconnect()
public void autorun(Shell shell)
CommandRegistry
autorun
in class CommandRegistry
Copyright © 2015 Nuxeo SA. All rights reserved.