Examples of IStatusLineManager


Examples of org.eclipse.jface.action.IStatusLineManager

      public void selectionChanged(SelectionChangedEvent event) {
        IStructuredSelection sel = (IStructuredSelection) event.getSelection();
        if(sel != null) {
          int size = sel.toArray().length;
          if(size > 0) {
            IStatusLineManager slManager = getViewSite().getActionBars().getStatusLineManager();
            slManager.setMessage("Selected " + size + (size > 1 ? " entries." : "entry."));
          }
        }
      }
    });
   
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.