Package org.eclipse.swt.widgets

Examples of org.eclipse.swt.widgets.ProgressBar


     * @param parent
     *            The widgets parent
     */
    public ProgressIndicator(Composite parent) {
        super(parent, SWT.NULL);
        determinateProgressBar = new ProgressBar(this, SWT.HORIZONTAL);
        indeterminateProgressBar = new ProgressBar(this, SWT.HORIZONTAL
                | SWT.INDETERMINATE);
        layout = new StackLayout();
        setLayout(layout);
    }
View Full Code Here


      content.setLayout(new GridLayout());
      Group groupMemory = new Group(content, SWT.NONE);
      groupMemory.setLayout(new GridLayout(2, false));
      groupMemory.setText("VM Memory");

      progressBarMemory = new ProgressBar(groupMemory, SWT.NONE);
      GridData progressBarMemoryLData = new GridData();
      progressBarMemoryLData.horizontalAlignment = SWT.FILL;
      progressBarMemoryLData.horizontalSpan = 2;
      progressBarMemory.setLayoutData(progressBarMemoryLData);
View Full Code Here

    chequedListBox = new List(shell, SWT.None);
    chequedListBox.setBounds(new Rectangle(889, 65, 67, 64));
    progressBarLabel = new Label(shell, SWT.None);
    progressBarLabel.setBounds(new Rectangle(23, 125, 61, 13));
    progressBarLabel.setText("progressBar");
    progressBar = new ProgressBar(shell, SWT.None);
    progressBar.setBounds(new Rectangle(96, 124, 162, 18));
    progressBar.setSelection(50);
    labelForTree = new Label(shell, SWT.None);
    labelForTree.setBounds(new Rectangle(284, 123, 54, 13));
    labelForTree.setText("ped");
View Full Code Here

  @Override
  public void createPartControl(Composite arg0) {
    // TODO Auto-generated method stub
    top = new Composite(arg0, SWT.NONE);
    top.setLayout(new GridLayout());
    progressBar = new ProgressBar(top, SWT.NONE);
    progressBar.setSelection(30);
  }
View Full Code Here

                task.stop();                                    //后台任务停止
                infoqTask.stop();
            }
        });
       
        progressBar = new ProgressBar(shell, SWT.NONE);            //创建进度条
        progressBar.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
        //输出调试信息的文本框
        consoleText = new Text(shell, SWT.MULTI|SWT.BORDER|SWT.V_SCROLL);
        consoleText.setLayoutData(new GridData(GridData.FILL_BOTH));
        //------------------------------------------------------
View Full Code Here

TOP

Related Classes of org.eclipse.swt.widgets.ProgressBar

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.