Package org.locationtech.udig.issues.internal.view

Examples of org.locationtech.udig.issues.internal.view.IssuesView$IssuesTreeViewer


public class IssuesViewRefresherTest {
   
    @Test
    public void testRefresh() throws Exception {
        IssuesView view = (IssuesView) PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().showView(IssueConstants.VIEW_ID);
       
        final boolean[] refresh=new boolean[1];
       
        view.setContentProvider(new IssuesContentProvider(){
            @Override
            public Object[] getElements( Object inputElement ) {
                refresh[0]=true;
                return super.getElements(inputElement);
            }
View Full Code Here


      public void run() {
        IWorkbenchPage page = findPage();
        if( page!=null ){
          IViewPart view = page.findView(IssuesView.VIEW_ID);
          if (view instanceof IssuesView) {
            IssuesView issuesView = (IssuesView) view;
            issuesView.setSelection(new StructuredSelection(issues.toArray()));
          }
        }
      }
    });
  }
View Full Code Here

TOP

Related Classes of org.locationtech.udig.issues.internal.view.IssuesView$IssuesTreeViewer

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.