|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.mat.ui.snapshot.panes.oql.contentAssist.ClassNameExtractor
public class ClassNameExtractor
Context extractor to be used in the FROM clause of a query. If last character is not a space gets back up to the first space.
| Constructor Summary | |
|---|---|
ClassNameExtractor()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getPrefix(ITextViewer source,
int currentPosition)
If the last character is a space it returns an empty String If not it returns the last substring up to a space |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClassNameExtractor()
| Method Detail |
|---|
public java.lang.String getPrefix(ITextViewer source,
int currentPosition)
getPrefix in interface ContextExtractor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||