Examples of createLabel()


Examples of org.cojen.classfile.CodeBuilder.createLabel()

                // If case-sensitive is off and a collator is provided and
                // property could be a String, apply collator.
                if ((bc.mFlags & 0x04) == 0 && bc.mCollator != null &&
                    propertyClass.isAssignableFrom(String.class)) {

                    Label resultLabel = builder.createLabel();

                    if (!String.class.isAssignableFrom(propertyClass)) {
                        // Check if both property values are strings at
                        // runtime. If they aren't, cast to Comparable and call
                        // compareTo.
View Full Code Here

Examples of org.cojen.classfile.CodeBuilder.createLabel()

                        TypeDesc stringType = TypeDesc.STRING;

                        builder.loadLocal(p1);
                        builder.instanceOf(stringType);
                        Label notString = builder.createLabel();
                        builder.ifZeroComparisonBranch(notString, "==");
                        builder.loadLocal(p2);
                        builder.instanceOf(stringType);
                        Label isString = builder.createLabel();
                        builder.ifZeroComparisonBranch(isString, "!=");
View Full Code Here

Examples of org.cojen.classfile.CodeBuilder.createLabel()

                        builder.instanceOf(stringType);
                        Label notString = builder.createLabel();
                        builder.ifZeroComparisonBranch(notString, "==");
                        builder.loadLocal(p2);
                        builder.instanceOf(stringType);
                        Label isString = builder.createLabel();
                        builder.ifZeroComparisonBranch(isString, "!=");

                        notString.setLocation();
                        generateComparableCompareTo
                            (builder, propertyClass, compareToMethod,
View Full Code Here

Examples of org.eclipse.ui.forms.widgets.FormToolkit.createLabel()

   
   
    if (!_model.hasPluginConfig()) {
      GridLayout gridLayout = new GridLayout(1, false);
      form.getBody().setLayout(gridLayout);
      toolkit.createLabel(form.getBody(), "This design is currently not configured to be used as WGA Plugin.");
      _btnCreatePluginConfig = toolkit.createButton(form.getBody(), "Create WGA Plugin Configuration", SWT.PUSH);
      _btnCreatePluginConfig.addSelectionListener(new org.eclipse.swt.events.SelectionAdapter() {
        public void widgetSelected(org.eclipse.swt.events.SelectionEvent e) {
          handleCreatePluginConfig();
        }
View Full Code Here

Examples of org.eclipse.ui.forms.widgets.FormToolkit.createLabel()

          registerField("pluginAuthenticationSource", _comboAuthenticationSource);
         
          _comboPersMode = factory.createCombo(sectionClient, "Personalisation mode:", "pluginPersonalisationMode");
          registerField("pluginPersonalisationMode", _comboPersMode);
         
          toolkit.createLabel(sectionClient, "Usage:");
         
          _chkUsageDesignProvider = toolkit.createButton(sectionClient, "Design Provider", SWT.CHECK);
          _chkUsageDesignProvider.setData("pluginUsageAsDesignProvider");
          registerField("pluginUsageAsDesignProvider", _chkUsageDesignProvider);
       
View Full Code Here

Examples of org.eclipse.ui.forms.widgets.FormToolkit.createLabel()

          _chkUsageDesignProvider = toolkit.createButton(sectionClient, "Design Provider", SWT.CHECK);
          _chkUsageDesignProvider.setData("pluginUsageAsDesignProvider");
          registerField("pluginUsageAsDesignProvider", _chkUsageDesignProvider);
       
         
          toolkit.createLabel(sectionClient, "")
          _chkUsageAuthSource = toolkit.createButton(sectionClient, "Authentication Source", SWT.CHECK);
        _chkUsageAuthSource.setData("pluginUsageAsAuthenticationSource");
        registerField("pluginUsageAsAuthenticationSource", _chkUsageAuthSource);
       
        toolkit.createLabel(sectionClient, "");
View Full Code Here

Examples of org.eclipse.ui.forms.widgets.FormToolkit.createLabel()

          toolkit.createLabel(sectionClient, "")
          _chkUsageAuthSource = toolkit.createButton(sectionClient, "Authentication Source", SWT.CHECK);
        _chkUsageAuthSource.setData("pluginUsageAsAuthenticationSource");
        registerField("pluginUsageAsAuthenticationSource", _chkUsageAuthSource);
       
        toolkit.createLabel(sectionClient, "");
        _chkUsageContentStore = toolkit.createButton(sectionClient, "Published WGA Content Store", SWT.CHECK);
          _chkUsageContentStore.setData("pluginUsageAsContentStore");
          _chkUsageContentStore.setData(SWTBotIDs.WIDGET_KEY, ResourceIDs.BUTTON_IN_DESGINPLUGIN_EDITOR);
          registerField("pluginUsageAsContentStore", _chkUsageContentStore);
         
View Full Code Here

Examples of org.eclipse.ui.forms.widgets.FormToolkit.createLabel()

//      _txtMaxPerm = factory.createText(sectionClient, "Maximum java permgen size (in MB):", "maxPermSize");
//      _txtMaxPerm.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
     

     
    Label lbl = toolkit.createLabel(sectionClient, "Additional jvm options:");
      lbl.setLayoutData(new GridData(GridData.BEGINNING));
      _txtJvmOptions = toolkit.createText(sectionClient, "", SWT.MULTI|SWT.BORDER|SWT.V_SCROLL);
      _txtJvmOptions.setData("jvmOptions");
      GridData jvmOptionLayout = new GridData(GridData.FILL_BOTH);
      jvmOptionLayout.minimumHeight = WidgetFactory.computeFontHeight(_txtJvmOptions) * 5;
 
View Full Code Here

Examples of org.eclipse.ui.forms.widgets.FormToolkit.createLabel()

        FormToolkit toolkit = managedForm.getToolkit();
        Composite parent = form.getBody();
        parent.setLayout( new GridLayout( 2, false ) );

        // Error Image
        Label errorImageLabel = toolkit.createLabel( parent, null );
        errorImageLabel.setImage( Display.getCurrent().getSystemImage( SWT.ICON_ERROR ) );

        // Error Label
        toolkit.createLabel( parent, Messages.getString( "ErrorPage.ErrorOpeningTheEditor" ) ); //$NON-NLS-1$
View Full Code Here

Examples of org.eclipse.ui.forms.widgets.FormToolkit.createLabel()

        // Error Image
        Label errorImageLabel = toolkit.createLabel( parent, null );
        errorImageLabel.setImage( Display.getCurrent().getSystemImage( SWT.ICON_ERROR ) );

        // Error Label
        toolkit.createLabel( parent, Messages.getString( "ErrorPage.ErrorOpeningTheEditor" ) ); //$NON-NLS-1$

        // Details Label
        Label detailsLabel = toolkit.createLabel( parent, Messages.getString( "ErrorPage.Details" ) ); //$NON-NLS-1$
        detailsLabel.setLayoutData( new GridData( SWT.NONE, SWT.NONE, false, false, 2, 1 ) );
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.