Java 类org.eclipse.ui.dialogs.WorkingSetConfigurationBlock 实例源码

项目:asakusafw-shafu    文件:SelectGradleProjectsPage.java   
private void createWorkingSetSettings(Composite pane) {
    Group group = new Group(pane, SWT.NONE);
    group.setText(Messages.SelectGradleProjectsPage_workingSetGroupLabel);
    group.setLayoutData(GridDataFactory.swtDefaults()
            .align(SWT.FILL, SWT.BEGINNING)
            .grab(true, false)
            .indent(convertWidthInCharsToPixels(1), convertHeightInCharsToPixels(1))
            .create());
    group.setLayout(new GridLayout());
    this.workingSets = new WorkingSetConfigurationBlock(
            WORKING_SETS,
            Activator.getDialogSettings(getClass().getSimpleName()));
    if (selection != null) {
        workingSets.setWorkingSets(workingSets.findApplicableWorkingSets(selection));
    }
    workingSets.createContent(group);
}
项目:Eclipse-Postfix-Code-Completion    文件:NewJavaProjectWizardPageOne.java   
public WorkingSetGroup() {
    String[] workingSetIds= new String[] { IWorkingSetIDs.JAVA, IWorkingSetIDs.RESOURCE };
    fWorkingSetBlock= new WorkingSetConfigurationBlock(workingSetIds, JavaPlugin.getDefault().getDialogSettings());
    //fWorkingSetBlock.setDialogMessage(NewWizardMessages.NewJavaProjectWizardPageOne_WorkingSetSelection_message);
}
项目:Eclipse-Postfix-Code-Completion-Juno38    文件:NewJavaProjectWizardPageOne.java   
public WorkingSetGroup() {
    String[] workingSetIds= new String[] { IWorkingSetIDs.JAVA, IWorkingSetIDs.RESOURCE };
    fWorkingSetBlock= new WorkingSetConfigurationBlock(workingSetIds, JavaPlugin.getDefault().getDialogSettings());
    //fWorkingSetBlock.setDialogMessage(NewWizardMessages.NewJavaProjectWizardPageOne_WorkingSetSelection_message);
}
项目:Pydev    文件:NewProjectNameAndLocationWizardPage.java   
public WorkingSetGroup() {
    String[] workingSetIds = new String[] { RESOURCE };
    fWorkingSetBlock = new WorkingSetConfigurationBlock(workingSetIds, PydevPlugin.getDefault()
            .getDialogSettings());
}