|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Update label of search page [message #1804663 is a reply to message #1804662] |
Fri, 29 March 2019 18:43 |
|
i assume everything can be overriden.
here is how it looks like now
protected IQueryListener createQueryListener() {
return new IQueryListener() {
@Override
public void queryStarting(ISearchQuery query) {
showBusyLabel(true);
}
@Override
public void queryRemoved(ISearchQuery query) {
showBusyLabel(false);
}
@Override
public void queryFinished(ISearchQuery query) {
showBusyLabel(false);
Display.getDefault().asyncExec(new Runnable() {
@Override
public void run() {
ReferenceSearchViewPage.this.part.updateLabel();
}
});
}
@Override
public void queryAdded(ISearchQuery query) {
showBusyLabel(false);
}
};
}
(am not sure which stuff is visible from a subclass, in doubt reflection)
we would also need a github issue at eclipse/xtext-eclipse for that
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
[Updated on: Fri, 29 March 2019 18:49] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.04474 seconds