Search in sources :

Example 1 with BookmarkServiceEvent

use of org.eclipse.scout.rt.client.services.common.bookmark.BookmarkServiceEvent in project scout.rt by eclipse.

the class AbstractBookmarkMenu method execInitAction.

@Override
@ConfigOperation
@Order(10)
protected void execInitAction() {
    BEANS.get(IBookmarkService.class).addBookmarkServiceListener(new BookmarkServiceListener() {

        @Override
        public void bookmarksChanged(BookmarkServiceEvent e) {
            handleBookmarksChanged();
        }
    });
    handleBookmarksChanged();
}
Also used : BookmarkServiceListener(org.eclipse.scout.rt.client.services.common.bookmark.BookmarkServiceListener) IBookmarkService(org.eclipse.scout.rt.client.services.common.bookmark.IBookmarkService) BookmarkServiceEvent(org.eclipse.scout.rt.client.services.common.bookmark.BookmarkServiceEvent) Order(org.eclipse.scout.rt.platform.Order) ConfigOperation(org.eclipse.scout.rt.platform.annotations.ConfigOperation)

Aggregations

BookmarkServiceEvent (org.eclipse.scout.rt.client.services.common.bookmark.BookmarkServiceEvent)1 BookmarkServiceListener (org.eclipse.scout.rt.client.services.common.bookmark.BookmarkServiceListener)1 IBookmarkService (org.eclipse.scout.rt.client.services.common.bookmark.IBookmarkService)1 Order (org.eclipse.scout.rt.platform.Order)1 ConfigOperation (org.eclipse.scout.rt.platform.annotations.ConfigOperation)1