Package org.eclipse.swt.widgets

Examples of org.eclipse.swt.widgets.ProgressBar


   
    // create and add the progressbar and percentage label
    percentageLabel = new Label(parent, SWT.NONE);
    percentageLabel.setText("0%");

    progressBar = new ProgressBar(parent, SWT.HORIZONTAL | SWT.SMOOTH);
    progressBar.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false));
   
    detailsArea =  new DetailsArea(parent);
    detailsArea.setVisible(false);
    ((GridData) detailsArea.getLayoutData()).exclude = true;
View Full Code Here


      stepProgressComposite.setLayout(new GridLayout(2, false));
      stepPercentageLabel = new Label(stepProgressComposite, SWT.NONE);
      stepPercentageLabel.setText("n.a.");
      stepPercentageLabel.setLayoutData(new GridData(SWT.BEGINNING, SWT.CENTER, false, false));
     
      stepProgressBar = new ProgressBar(stepProgressComposite, SWT.HORIZONTAL | SWT.SMOOTH);
      stepProgressBar.setMinimum(0);
      stepProgressBar.setMaximum(100);
      stepProgressBar.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false));
    }
View Full Code Here

    occurrenceLabel.setText("A conex�o com o Servidor foi perdida. \nClique no bot�o Fechar para finalizar o Gerente Digital!");
    occurrenceLabel.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
  }
  
   private void createProgressReconnectionBar(){
     ProgressBar reconnectBar = new ProgressBar(dialog, SWT.INDETERMINATE);
     reconnectBar.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL));
     reconnectBar.setMinimum(0);
     reconnectBar.setMaximum(15);
   }
View Full Code Here

    shell.setMaximized( true );
    GridLayout layout = new GridLayout();
    layout.marginHeight = 0;
    layout.marginWidth = 0;
    shell.setLayout( layout );
    ProgressBar progressBar = new ProgressBar( shell, SWT.HORIZONTAL | SWT.INDETERMINATE );
    progressBar.setMinimum( 50 );
    progressBar.setMaximum( 150 );
    progressBar.setLayoutData( new GridData( SWT.FILL, SWT.CENTER, true, true ) );
    shell.open();
  }
View Full Code Here

        title.setLayoutData(new GridData(GridData.FILL, GridData.VERTICAL_ALIGN_BEGINNING, true, false, 2, 1));
        title.setText(Messages.getString("moduleadmin.detail.title")); //$NON-NLS-1$

        _usedSpaceLabel = new Label(detail, SWT.NONE);
    _usedSpaceLabel.setText(Messages.getString("moduleadmin.detail.used.space")); //$NON-NLS-1$
        _usedBar = new ProgressBar(detail, SWT.NONE);
        _usedBar.setLayoutData(new GridData(GridData.FILL, GridData.VERTICAL_ALIGN_BEGINNING, true, false, 1, 1));
        _usedBar.setMinimum(0);
       
        updateUsedBar();
       
View Full Code Here

    Label tryLabel = new Label(shell, SWT.NONE);
    tryLabel.setText(Labels.getLabel("text.configDetect.tries"));
    tryLabel.setLayoutData(LayoutHelper.formData(new FormAttachment(0), null, new FormAttachment(hostLabel, 10), null));
    tryCountLabel = new Label(shell, SWT.NONE);
    tryCountLabel.setLayoutData(LayoutHelper.formData(new FormAttachment(tryLabel, -5), new FormAttachment(100), new FormAttachment(hostLabel, 10), null));
    tryProgressBar = new ProgressBar(shell, SWT.NONE);
    tryProgressBar.setLayoutData(LayoutHelper.formData(new FormAttachment(0), new FormAttachment(100), new FormAttachment(tryLabel), null));
   
    Label successLabel = new Label(shell, SWT.NONE);
    successLabel.setText(Labels.getLabel("text.configDetect.successes"));
    successLabel.setLayoutData(LayoutHelper.formData(new FormAttachment(0), null, new FormAttachment(tryProgressBar, 10), null));
    successCountLabel = new Label(shell, SWT.NONE);
    successCountLabel.setLayoutData(LayoutHelper.formData(new FormAttachment(successLabel, -5), new FormAttachment(100), new FormAttachment(tryProgressBar, 10), null));
    successProgressBar = new ProgressBar(shell, SWT.NONE);
    successProgressBar.setLayoutData(LayoutHelper.formData(new FormAttachment(0), new FormAttachment(100), new FormAttachment(successLabel), null));
   
    startButton = new Button(shell, SWT.NONE);
    startButton.setText(Labels.getLabel("button.start"));
    startButton.addListener(SWT.Selection, new StartButtonListener());
View Full Code Here

    label.setLayoutData(gd);
    return label;
  }
 
  private ProgressBar createProgressBar(Composite parent) {
    final ProgressBar progress = new ProgressBar(parent, SWT.SMOOTH);
    progress.setMinimum(0);
    progress.setMaximum(100);
    final GridData gd = new GridData(SWT.FILL, SWT.BOTTOM, true, true);
    gd.widthHint = 400;
    progress.setLayoutData(gd);
    return progress;
  }
View Full Code Here

        }
        okButton.setEnabled(selection != null);
      }
    });

    progressBar = new ProgressBar(composite, SWT.HORIZONTAL | SWT.INDETERMINATE);
    progressBar.setVisible(false);
    gd = new GridData();
    gd.grabExcessHorizontalSpace = true;
    gd.grabExcessVerticalSpace = false;
    gd.widthHint = 250;
View Full Code Here

    elapsedTime.setText("Verstrichene Zeit:");

    _lElapsedTime = new Label(passedTimeComp, SWT.NONE);
    _lElapsedTime.setLayoutData("hmin 0, wmin 0, growx");

    _progress = new ProgressBar(comp, SWT.HORIZONTAL | SWT.SMOOTH);
    _progress.setLayoutData("hmin 0, wmin 0, growx");
    _progress.setMaximum(getController().getProject().getParameter().getIterationCount());

    resetBinding();
  }
View Full Code Here

        Composite composite = toolkit.createComposite( parent );
        composite.setLayout( new GridLayout() );
        composite.setLayoutData( new GridData( SWT.CENTER, SWT.CENTER, true, true ) );

        ProgressBar progressBar = new ProgressBar( composite, SWT.INDETERMINATE );
        progressBar.setLayoutData( new GridData( SWT.CENTER, SWT.NONE, false, false ) );

        Label label = toolkit.createLabel( composite, Messages.getString("LoadingPage.LoadingTheConfigurationPleaseWait") ); //$NON-NLS-1$
        label.setLayoutData( new GridData( SWT.CENTER, SWT.NONE, false, false ) );
    }
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.