Examples of addEditorControl()


Examples of org.eclipse.sapphire.ui.assist.internal.PropertyEditorAssistDecorator.addEditorControl()

                    final PropertyEditorAssistDecorator decorator = new PropertyEditorAssistDecorator( part, property, typeSelectorComposite );
                    decorator.control().setLayoutData( gd() );
                   
                    final Button masterCheckBox = new Button( typeSelectorComposite, SWT.CHECK );
                    masterCheckBox.setLayoutData( gd() );
                    decorator.addEditorControl( masterCheckBox );
                    actionPresentationKeyboard.attach( masterCheckBox );
                    attachHelp( masterCheckBox, property );
                   
                    if( showLabel )
                    {
View Full Code Here

Examples of org.eclipse.sapphire.ui.assist.internal.PropertyEditorAssistDecorator.addEditorControl()

                        {
                            final String label = type.getLabel( true, CapitalizationType.FIRST_WORD_ONLY, false );
                            final Button button = radioButtonsGroup.addRadioButton( label );
                            typeToButton.put( type, button );
                            buttonToType.put( button, type );
                            decorator.addEditorControl( button );
                            actionPresentationKeyboard.attach( button );
                            attachHelp( button, property );
                        }
                       
                        final Button noneButton = radioButtonsGroup.addRadioButton( noneSelection.text() );
View Full Code Here

Examples of org.eclipse.sapphire.ui.assist.internal.PropertyEditorAssistDecorator.addEditorControl()

                            attachHelp( button, property );
                        }
                       
                        final Button noneButton = radioButtonsGroup.addRadioButton( noneSelection.text() );
                        noneButton.setVisible( false );
                        decorator.addEditorControl( noneButton );
                        actionPresentationKeyboard.attach( noneButton );
                        attachHelp( noneButton, property );
                       
                        updateUserInterfaceOp = new Runnable()
                        {
View Full Code Here

Examples of org.eclipse.sapphire.ui.assist.internal.PropertyEditorAssistDecorator.addEditorControl()

                    }
                    else if( style == Style.DROP_DOWN_LIST )
                    {
                        final Combo combo = new Combo( typeSelectorComposite, SWT.SINGLE | SWT.BORDER | SWT.READ_ONLY );
                        combo.setLayoutData( gdhfill() );
                        decorator.addEditorControl( combo );
                        actionPresentationKeyboard.attach( combo );
                        attachHelp( combo, property );
                       
                        final Map<ElementType,Integer> typeToIndex = new HashMap<ElementType,Integer>();
                        final Map<Integer,ElementType> indexToType = new HashMap<Integer,ElementType>();
View Full Code Here

Examples of org.eclipse.sapphire.ui.assist.internal.PropertyEditorAssistDecorator.addEditorControl()

            addControl( text );

            addToolbar(binding, editor);
           
            decorator.addEditorControl(text);
            decorator.addEditorControl(binding.getToolbar());
        }

        this.addText = new SapphireFormText( this.mainComposite, SWT.NONE );
        this.addText.setLayoutData( gdhindent( gdvalign( gdhfill(), SWT.CENTER ), 10 ) );
View Full Code Here

Examples of org.eclipse.sapphire.ui.assist.internal.PropertyEditorAssistDecorator.addEditorControl()

            addControl( text );

            addToolbar(binding, editor);
           
            decorator.addEditorControl(text);
            decorator.addEditorControl(binding.getToolbar());
        }

        this.addText = new SapphireFormText( this.mainComposite, SWT.NONE );
        this.addText.setLayoutData( gdhindent( gdvalign( gdhfill(), SWT.CENTER ), 10 ) );
       
View Full Code Here

Examples of org.eclipse.sapphire.ui.assist.internal.PropertyEditorAssistDecorator.addEditorControl()

       
        addControl(text);
       
        addToolbar(binding, editor);
       
        decorator.addEditorControl(text);
        decorator.addEditorControl(binding.getToolbar());

        layout();
        text.setFocus();
    }
View Full Code Here

Examples of org.eclipse.sapphire.ui.assist.internal.PropertyEditorAssistDecorator.addEditorControl()

        addControl(text);
       
        addToolbar(binding, editor);
       
        decorator.addEditorControl(text);
        decorator.addEditorControl(binding.getToolbar());

        layout();
        text.setFocus();
    }
   
View Full Code Here

Examples of org.eclipse.sapphire.ui.assist.internal.PropertyEditorAssistDecorator.addEditorControl()

        composite.setLayout( glspacing( glayout( 2, 0, 0 ), 2 ) );
       
        final PropertyEditorAssistDecorator decorator = new PropertyEditorAssistDecorator( part, composite );
       
        decorator.control().setLayoutData( gdvalign( gd(), SWT.CENTER ) );
        decorator.addEditorControl( this.rootComposite );
        decorator.addEditorControl( composite );
       
        this.overallLabelControl = new Label( composite, SWT.WRAP );
        this.overallLabelControl.setLayoutData( gd() );
        this.overallLabelControl.setText( property.getLabel( true, CapitalizationType.FIRST_WORD_ONLY, true ) );
View Full Code Here

Examples of org.eclipse.sapphire.ui.assist.internal.PropertyEditorAssistDecorator.addEditorControl()

       
        final PropertyEditorAssistDecorator decorator = new PropertyEditorAssistDecorator( part, composite );
       
        decorator.control().setLayoutData( gdvalign( gd(), SWT.CENTER ) );
        decorator.addEditorControl( this.rootComposite );
        decorator.addEditorControl( composite );
       
        this.overallLabelControl = new Label( composite, SWT.WRAP );
        this.overallLabelControl.setLayoutData( gd() );
        this.overallLabelControl.setText( property.getLabel( true, CapitalizationType.FIRST_WORD_ONLY, true ) );
        decorator.addEditorControl( this.overallLabelControl );
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.