Package org.eclipse.ui.dialogs

Examples of org.eclipse.ui.dialogs.WorkingSetGroup


    Composite workingSetComposite = new Composite(composite, SWT.NONE);
    workingSetComposite.setLayout(new GridLayout());
    workingSetComposite.setLayoutData(new GridData(SWT.FILL, SWT.NONE, true, false, 2, 1));

    String[] workingSetIds = new String[] { "org.eclipse.ui.resourceWorkingSetPage", "org.eclipse.jdt.ui.JavaWorkingSetPage" };
    workingSetGroup = new WorkingSetGroup(workingSetComposite, selection, workingSetIds);

    setPageComplete(false);

    setControl(composite);
View Full Code Here


     * @since 3.4
     */
    public WorkingSetGroup createWorkingSetGroup(Composite composite, IStructuredSelection selection, String[] supportedWorkingSetTypes) {
        if (workingSetGroup != null)
            return workingSetGroup;
        workingSetGroup = new WorkingSetGroup(composite, selection, supportedWorkingSetTypes);
        return workingSetGroup;
    }
View Full Code Here

     * @since 3.4
     */
    public WorkingSetGroup createWorkingSetGroup(Composite composite, IStructuredSelection selection, String[] supportedWorkingSetTypes) {
        if (workingSetGroup != null)
            return workingSetGroup;
        workingSetGroup = new WorkingSetGroup(composite, selection, supportedWorkingSetTypes);
        return workingSetGroup;
    }
View Full Code Here

    // TODO: replace hardcoded ids once bug 245106 is fixed
    String[] workingSetTypes = new String[] {
        "org.eclipse.ui.resourceWorkingSetPage", //$NON-NLS-1$
        "org.eclipse.jdt.ui.JavaWorkingSetPage" //$NON-NLS-1$
    };
    workingSetGroup = new WorkingSetGroup(workArea, null, workingSetTypes);
  }
View Full Code Here

    // TODO: replace hardcoded ids once bug 245106 is fixed
    String[] workingSetTypes = new String[] {
        "org.eclipse.ui.resourceWorkingSetPage", //$NON-NLS-1$
        "org.eclipse.jdt.ui.JavaWorkingSetPage" //$NON-NLS-1$
    };
    workingSetGroup = new WorkingSetGroup(group, null, workingSetTypes);
  }
View Full Code Here

  }

  @Override
  public void createContents(Composite page) {
    String[] workingSetTypes= new String[] { IWorkingSetIDs.JAVA, IWorkingSetIDs.RESOURCE };
    this.group = new WorkingSetGroup(page, selection, workingSetTypes);
  }
View Full Code Here

  }

  public WorkingSetGroup createWorkingSetGroup(Composite composite, IStructuredSelection selection,
      String[] supportedWorkingSetTypes) {

    workingSetGroup = new WorkingSetGroup(composite, selection, supportedWorkingSetTypes);
    return workingSetGroup;
  }
View Full Code Here

TOP

Related Classes of org.eclipse.ui.dialogs.WorkingSetGroup

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.