Package org.eclipse.swt.layout

Examples of org.eclipse.swt.layout.RowLayout


     * @param numColumns number of columns (usually 2_
     * @return Composite with one label
     */
    private Composite subpart( Composite parent, String tag, int width ) {
        Composite subpart = new Composite(parent, SWT.NONE);
        RowLayout across = new RowLayout();
        across.type = SWT.HORIZONTAL;
        across.wrap = true;
        across.pack = true;
        across.fill = true;
        across.marginBottom = 1;
View Full Code Here


     * Create a row layout, with individual rows provided by sub part.
     *
     * @see org.locationtech.udig.style.StyleConfigurator#createControl(org.eclipse.swt.widgets.Composite)
     */
    protected Control createPartControl( Composite parent ) {
        RowLayout layout = new RowLayout();
        layout.pack = false;
        layout.wrap = true;
        layout.type = SWT.HORIZONTAL;
        layout.fill = true;
        layout.marginLeft = 0;
View Full Code Here

     *
     * @see org.locationtech.udig.style.sld.SLDEditorPart#createPartControl(org.eclipse.swt.widgets.Composite)
     */
    protected Control createPartControl( Composite parent ) {
        myparent = parent;
        RowLayout layout = new RowLayout();
        myparent.setLayout(layout);
        layout.pack = false;
        layout.wrap = true;
        layout.type = SWT.HORIZONTAL;
       
View Full Code Here

     * @param numColumns number of columns (usually 2_
     * @return Composite with one label
     */
    private Composite subpart( Composite parent, String tag, int width  ){
        Composite subpart = new Composite( parent, SWT.NONE );       
        RowLayout across = new RowLayout();
        across.type = SWT.HORIZONTAL;
        across.wrap = true;
        across.pack = true;
        across.fill = true;
        across.marginBottom = 1;
View Full Code Here

     * (non-Javadoc)
     *
     * @see org.locationtech.udig.style.sld.SLDEditorPart#createPartControl(org.eclipse.swt.widgets.Composite)
     */
    protected Control createPartControl( Composite parent ) {
        RowLayout layout = new RowLayout();       
        layout.pack = false;
        layout.wrap = true;
        layout.type = SWT.HORIZONTAL;
        layout.fill = true;
        layout.marginLeft = 0;
View Full Code Here

     *
     */
    public abstract void synchronize();

    protected void setLayout(Composite parent) {
        RowLayout layout = new RowLayout();       
        layout.pack = false;
        layout.wrap = true;
        layout.type = SWT.HORIZONTAL;
        layout.fill = true;
        layout.marginLeft = 0;
View Full Code Here

     * @param label
     * @return Composite with one label
     */
    public static Composite subpart( Composite parent, String label ){
        Composite subpart = new Composite( parent, SWT.NONE );       
        RowLayout across = new RowLayout();
        across.type = SWT.HORIZONTAL;
        across.wrap = true;
        across.pack = true;
        across.fill = true;
        across.marginBottom = 1;
View Full Code Here

            final Display display = button.getDisplay();
            if (popup == null) {
                popup = new Shell(display.getActiveShell(), SWT.NO_FOCUS | SWT.ON_TOP);
                popup.setForeground(display.getSystemColor(SWT.COLOR_INFO_FOREGROUND));
                popup.setBackground(display.getSystemColor(SWT.COLOR_INFO_BACKGROUND));
                popup.setLayout(new RowLayout());
                Composite composite = new Composite(popup, SWT.NONE);
                composite.setForeground(display.getSystemColor(SWT.COLOR_INFO_FOREGROUND));
                composite.setBackground(display.getSystemColor(SWT.COLOR_INFO_BACKGROUND));
                composite.setLayout(new RowLayout());
                textLabel = new Label(popup, SWT.NONE);
                textLabel.setForeground(display.getSystemColor(SWT.COLOR_INFO_FOREGROUND));
                textLabel.setBackground(display.getSystemColor(SWT.COLOR_INFO_BACKGROUND));
                textLabel.setFont(button.getFont());
View Full Code Here

     * @param numColumns number of columns (usually 2_
     * @return Composite with one label
     */
    private Composite subpart( Composite parent, String tag, int width ) {
        Composite subpart = new Composite(parent, SWT.NONE);
        RowLayout across = new RowLayout();
        across.type = SWT.HORIZONTAL;
        across.wrap = true;
        across.pack = true;
        across.fill = true;
        across.marginBottom = 1;
View Full Code Here

        fillOpacity.setMaximum(opacityMaxValue);
        fillOpacity.setPageIncrement(10);
//        fillOpacity.setToolTipText(Messages.SLDMarkerEditorPart_fill_opacity_tooltip);
    }
    protected Control createPartControl( Composite parent ) {
        RowLayout layout = new RowLayout();
        layout.pack = false;
        layout.wrap = true;
        layout.type = SWT.HORIZONTAL;
        layout.fill = true;
        layout.marginLeft = 0;
View Full Code Here

TOP

Related Classes of org.eclipse.swt.layout.RowLayout

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.