|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectSourceViewer
com.ibm.etools.systems.core.ui.commands.SystemCommandEditor
Class used for constructing a command editor widget with * UDA substitution variable completion
Field Summary | |
---|---|
protected ISystemValidator |
cmdValidator
|
static String |
copyright
|
protected boolean |
ignoreChanges
|
protected boolean |
menuListenerAdded
|
Constructor Summary | |
---|---|
SystemCommandEditor(IViewSite site,
Composite parent,
int attributes,
int columnSpan,
SourceViewerConfiguration sourceViewerConfiguration,
String cmd,
String contentAssistText)
Constructor for the editor * Create the editor widget |
Method Summary | |
---|---|
void |
addModifyListener(ISystemCommandTextModifyListener listener)
Add a modify listener |
void |
doOperation(int operation)
|
String |
getCommandText()
|
String |
getSelectedText()
|
boolean |
isInCodeAssist()
|
void |
releaseWidgetToken(IWidgetTokenKeeper tokenKeeper)
|
void |
removeModifyListener(ISystemCommandTextModifyListener listener)
Remove a modify listener |
boolean |
requestWidgetToken(IWidgetTokenKeeper requester)
|
void |
setActionHandlers()
|
void |
setCommandValidator(ISystemValidator cmdValidator)
Set the command validator to validate contents per keystroke |
void |
setIgnoreChanges(boolean ignore)
Turn on or off event ignoring flag |
void |
setInCodeAssist(boolean flag)
|
void |
setViewSite(IViewSite site)
|
protected void |
updateAction(String actionId)
|
protected void |
updateSelectionDependentActions()
|
protected void |
updateUndoAction()
|
SystemMessage |
validateCommand()
Validate command input |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String copyright
protected boolean menuListenerAdded
protected ISystemValidator cmdValidator
protected boolean ignoreChanges
Constructor Detail |
public SystemCommandEditor(IViewSite site, Composite parent, int attributes, int columnSpan, SourceViewerConfiguration sourceViewerConfiguration, String cmd, String contentAssistText)
Method Detail |
public String getCommandText()
public String getSelectedText()
public void addModifyListener(ISystemCommandTextModifyListener listener)
public void removeModifyListener(ISystemCommandTextModifyListener listener)
public void setIgnoreChanges(boolean ignore)
public SystemMessage validateCommand()
public void setCommandValidator(ISystemValidator cmdValidator)
public void setViewSite(IViewSite site)
public void setActionHandlers()
protected void updateSelectionDependentActions()
protected void updateUndoAction()
protected void updateAction(String actionId)
public void setInCodeAssist(boolean flag)
public boolean requestWidgetToken(IWidgetTokenKeeper requester)
public void releaseWidgetToken(IWidgetTokenKeeper tokenKeeper)
public boolean isInCodeAssist()
public void doOperation(int operation)
|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |