Package org.rssowl.ui.internal.editors.feed

Examples of org.rssowl.ui.internal.editors.feed.NewsTableLabelProvider


    /* Apply ContentProvider */
    fResultViewer.setContentProvider(getContentProvider());

    /* Create LabelProvider (Custom Owner Drawn enabled!) */
    final NewsTableLabelProvider newsTableLabelProvider = new ScoredNewsLabelProvider(fResultViewer);
    if (USE_CUSTOM_OWNER_DRAWN) {
      fResultViewer.getControl().addListener(SWT.EraseItem, new Listener() {
        public void handleEvent(Event event) {
          Object element = event.item.getData();
          newsTableLabelProvider.erase(event, element);
        }
      });
    }

    //OwnerDrawLabelProvider.setUpOwnerDraw(fViewer); Not being used due to performance reasons
View Full Code Here

TOP

Related Classes of org.rssowl.ui.internal.editors.feed.NewsTableLabelProvider

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.