|
Eclipse JDT Kepler |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICommandAccess
Correction proposals can implement this interface to be invokable by a command (which can be bound to a keyboard shortcut).
Field Summary | |
---|---|
static java.lang.String |
ASSIST_SUFFIX
Commands for quick assists must have this suffix. |
static java.lang.String |
COMMAND_ID_PREFIX
Correction commands starting with this prefix will be handled by the Java editor. |
Method Summary | |
---|---|
java.lang.String |
getCommandId()
Returns the id of the command that should invoke this correction proposal. |
Field Detail |
---|
static final java.lang.String COMMAND_ID_PREFIX
static final java.lang.String ASSIST_SUFFIX
Method Detail |
---|
java.lang.String getCommandId()
null
if this proposal does not have a command.
This id must start with COMMAND_ID_PREFIX
to be recognized as a correction
command. In addition, the id must end with ASSIST_SUFFIX
to be recognized as
a quick assist command.
|
Eclipse JDT Kepler |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) 2000, 2012 IBM Corporation and others. All rights reserved.