Adding PatternMatchListener to Eclipse Console in which stage of View Lifecycle -
i developing eclipse plug-in triggered specific pattern string found (e.g., stack trace) in default console opened in eclipse , show notification in custom view. know how add listener available consoles.but not sure in phase of eclipse view life cycle need add listener. adding in createpartcontrol not want, because forces me open view manually perform binding listener consoles.
public void createpartcontrol(composite parent) { //got default console consoleplugin textconsole tconsole=(textconsole)defaultconsole; tconsole.addpatternmatchlistener(new ipatternmatchlistener() { // implementation codes goes here }
}
any appreciated.
Comments
Post a Comment