|
Eclipse Platform Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IKeyFormatter
Any formatter capable of taking key sequence or a key stroke and converting it into a string. These formatters are used to produce the strings that the user sees in the keys preference page and the menus, as well as the strings that are used for persistent storage.
Method Summary | |
---|---|
java.lang.String |
format(Key key)
Deprecated. Formats an individual key into a human readable format. |
java.lang.String |
format(KeySequence keySequence)
Deprecated. Format the given key sequence into a string. |
java.lang.String |
format(KeyStroke keyStroke)
Deprecated. Format the given key strokes into a string. |
Method Detail |
---|
java.lang.String format(Key key)
key
- The key to format; must not be null
.
null
.java.lang.String format(KeySequence keySequence)
keySequence
- The key sequence to convert; must not be null
.
null
.java.lang.String format(KeyStroke keyStroke)
keyStroke
- The key stroke to convert; must not be null
.
null
|
Eclipse Platform Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.