blob: 0f90399541f6650f073f3ba01eca9beb48f131b6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
/*******************************************************************************
* Copyright (c) 2000, 2004 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Common Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/cpl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.ui.console;
/**
* A pattern match listener is registered with an <code>IOConsole</code>,
* and is notified when its pattern has been matched to the contents in
* that console.
*
* @see org.eclipse.ui.console.IOConsole
* @since 3.1
*/
public interface IPatternMatchListener {
/**
* Returns the pattern to be used for matching. The pattern is
* a string representing a regular expression.
*
* @return the regular expression to be used for matching
*/
public String getPattern();
public int getCompilerFlags();
/**
* Notification that a match has been found.
*
* @param event event describing where the match was found
*/
public void matchFound(PatternMatchEvent event);
}
|