|
Eclipse Platform Release 3.7 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
org.eclipse.ui.console.PatternMatchEvent
public class PatternMatchEvent
An event describing a pattern match in a text console. The source of the event
is a TextConsole.
Clients may instantiate this class.
IPatternMatchListener,
TextConsole,
Serialized Form| Field Summary |
|---|
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
PatternMatchEvent(TextConsole console,
int matchOffset,
int matchLength)
Constructs a new pattern match event. |
|
| Method Summary | |
|---|---|
int |
getLength()
Returns the length of the matched string. |
int |
getOffset()
Returns the offset of the match within the document. |
| Methods inherited from class java.util.EventObject |
|---|
getSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PatternMatchEvent(TextConsole console,
int matchOffset,
int matchLength)
console - the console in which the match was foundmatchOffset - the offset at which the match was foundmatchLength - the length of the text that matched| Method Detail |
|---|
public int getLength()
public int getOffset()
|
Eclipse Platform Release 3.7 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2011. All rights reserved.