Examples of DrillDownAdapter


Examples of org.eclipse.ui.part.DrillDownAdapter

  }
 
  @Override
  public void createPartControl(Composite parent) {
    viewer = new TreeViewer(parent, SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL);
    drillDownAdapter = new DrillDownAdapter(viewer);
    viewer.setContentProvider(new ASTViewerContentProvider(this));
    viewer.setLabelProvider(new ASTViewerLabelProvider(this));
    viewer.addSelectionChangedListener(this);
    viewer.addDoubleClickListener(this);
   
View Full Code Here

Examples of org.eclipse.ui.part.DrillDownAdapter

   * This is a callback that will allow us
   * to create the viewer and initialize it.
   */
  public void createPartControl(Composite parent) {
    viewer = new TreeViewer(parent, SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL);
    drillDownAdapter = new DrillDownAdapter(viewer);
    model = new JavaToBpelMappingModel();   
    viewer.setContentProvider(model);
    viewer.setLabelProvider(model);
    viewer.setInput(getViewSite())
    model.addMappingChangedListener(this);
View Full Code Here

Examples of org.eclipse.ui.part.DrillDownAdapter

    menuManager.addMenuListener(createMenuListener());
    addAction = new AddScopeAction(viewer, model);
    excludeAction = new ExcludeScopeAction(viewer, model);
    viewer.getControl().setMenu(menuManager.createContextMenu(viewer.getControl()));
    getSite().setSelectionProvider(viewer);
    drillDown = new DrillDownAdapter(viewer);
    contributeToActionBars();   
  }
View Full Code Here

Examples of org.eclipse.ui.part.DrillDownAdapter

     * (non-Javadoc)
     * @see org.eclipse.ui.part.WorkbenchPart#createPartControl(org.eclipse.swt.widgets.Composite)
     */
    public void createPartControl(Composite parent) {
        viewer = new TreeViewer(parent, SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL);
        drillDownAdapter = new DrillDownAdapter(viewer);
        viewer.setContentProvider(new RepositoryContentProvider());
        viewer.setLabelProvider(new RepositoryLabelProvider());
        viewer.setSorter(new NameSorter());
        viewer.setInput(viewer);
        makeActions();
View Full Code Here

Examples of org.eclipse.ui.part.DrillDownAdapter

   * @see org.eclipse.ui.IWorkbenchPart#createPartControl(org.eclipse.swt.widgets.Composite)
   */
  public void createPartControl(Composite parent) {
    fSash= new SashForm(parent, SWT.VERTICAL | SWT.SMOOTH);
    fViewer = new TreeViewer(fSash, SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL);
    fDrillDownAdapter = new DrillDownAdapter(fViewer);
    fViewer.setContentProvider(new ASTViewContentProvider());
    fASTLabelProvider= new ASTViewLabelProvider();
    fViewer.setLabelProvider(fASTLabelProvider);
    fViewer.addSelectionChangedListener(fSuperListener);
    fViewer.addDoubleClickListener(fSuperListener);
View Full Code Here

Examples of org.eclipse.ui.part.DrillDownAdapter

      });
     

      // The dictionary tree viewer
      viewer = new TreeViewer(topHalf, SWT.RESIZE | SWT.BORDER | SWT.V_SCROLL | SWT.H_SCROLL);
      drillDownAdapter = new DrillDownAdapter(viewer);
     
      viewer.setContentProvider(contentprovider);
      viewer.setLabelProvider(new ViewLabelProvider());
      viewer.setSorter(new NameSorter());
      GridData viewerGD = new GridData(GridData.FILL_BOTH);
View Full Code Here

Examples of org.eclipse.ui.part.DrillDownAdapter

   
       
         
    //Site Tree
    viewer = new TreeViewer(parent, SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL);
    drillDownAdapter = new DrillDownAdapter(viewer);
    viewer.setContentProvider(new ViewContentProvider());
    viewer.setLabelProvider(new ViewLabelProvider());
    viewer.setSorter(new NameSorter());
    viewer.setInput(getViewSite());
   
View Full Code Here

Examples of org.eclipse.ui.part.DrillDownAdapter

    layoutData.horizontalAlignment = GridData.FILL;
    layoutData.verticalAlignment = GridData.FILL;
   
    viewer = new TreeViewer(parent, SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL | SWT.BORDER);
    viewer.getControl().setLayoutData(layoutData);
    drillDownAdapter = new DrillDownAdapter(viewer);
   
    FBXViewContentProvider fbxContent = new FBXViewContentProvider(projcombo.getText());
    viewer.setUseHashlookup(true);
    viewer.setContentProvider(fbxContent);
    viewer.setLabelProvider(new ViewLabelProvider());
View Full Code Here

Examples of org.eclipse.ui.part.DrillDownAdapter

    GridData gd = new GridData( GridData.FILL_HORIZONTAL | GridData.FILL_VERTICAL );
    gd.horizontalSpan = 2;
    treePanel.setLayoutData( gd );
   
    tests = new TreeViewer(treePanel, SWT.SINGLE | SWT.H_SCROLL | SWT.V_SCROLL);
    new DrillDownAdapter( tests );
    tests.setContentProvider(new CFUnitViewTestListContent());
    tests.setLabelProvider(new CFUnitViewTestListLabels());
    tests.setInput( CFUnitTestSuite.getInstence() );

    tests.addSelectionChangedListener(
View Full Code Here

Examples of org.eclipse.ui.part.DrillDownAdapter

   */
  @Override
  public void createPartControl(Composite parent) {
    viewer = new TreeViewer(parent, SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL);
    Tree tree = viewer.getTree();
    drillDownAdapter = new DrillDownAdapter(viewer);

    TreeColumn trclmnTestName = new TreeColumn(tree, SWT.NONE);
    trclmnTestName.setWidth(389);
    trclmnTestName.setText("Test Name");

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.