Examples of IllustratedComposite


Examples of de.fu_berlin.inf.dpp.ui.widgets.IllustratedComposite

            .setText(de.fu_berlin.inf.dpp.ui.Messages.ConfigurationSettingsWizardPage_left_column_connection);

        /*
         * prepare network setting composite
         */
        Composite autoconnectComposite = new IllustratedComposite(leftColumn,
            SWT.TOP, ImageManager.ELCL_XMPP_CONNECTED);
        autoconnectComposite.setLayoutData(new GridData(SWT.FILL, SWT.CENTER,
            true, true));
        autoconnectComposite.setLayout(LayoutUtils.createGridLayout(0, 5));
        autoconnectComposite.setBackgroundMode(SWT.INHERIT_NONE);

        /*
         * auto connect
         */
        Label autoConnectLabel = new Label(autoconnectComposite, SWT.WRAP);
        autoConnectLabel.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true,
            false));
        autoConnectLabel
            .setText(de.fu_berlin.inf.dpp.ui.Messages.ConfigurationSettingsWizardPage_label_autoconnect);

        this.autoConnectButton = new Button(autoconnectComposite, SWT.CHECK
            | SWT.LEFT);
        this.autoConnectButton
            .setText(de.fu_berlin.inf.dpp.ui.Messages.ConfigurationSettingsWizardPage_button_autoconnect);

        /*
         * separator
         */
        new Label(leftColumn, SWT.SEPARATOR | SWT.HORIZONTAL)
            .setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false));

        // Gateway port mapping setting
        Composite gatewayComposite = new IllustratedComposite(leftColumn,
            SWT.TOP, ImageManager.ICON_UPNP);
        gatewayComposite.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true,
            true));
        gatewayComposite.setLayout(LayoutUtils.createGridLayout(0, 5));
        gatewayComposite.setBackgroundMode(SWT.INHERIT_NONE);

        portmappingLabel = new Label(gatewayComposite, SWT.WRAP);
        portmappingLabel.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true,
            false));
        portmappingLabel
            .setText(de.fu_berlin.inf.dpp.ui.Messages.ConfigurationSettingsWizardPage_label_portmapping);

        this.setupPortmappingButton = new Button(gatewayComposite, SWT.CHECK
            | SWT.LEFT | SWT.WRAP);
        this.setupPortmappingButton
            .setText(de.fu_berlin.inf.dpp.ui.Messages.ConfigurationSettingsWizardPage_button_portmapping);
        this.setupPortmappingButton
            .setToolTipText(de.fu_berlin.inf.dpp.ui.Messages.ConfigurationSettingsWizardPage_button_portmapping_tooltip);
        setupPortmappingButton.setEnabled(false);

        Composite comboCompo = new Composite(gatewayComposite, SWT.TOP
            | SWT.LEFT);
        RowLayout rowLayout = new RowLayout();
        rowLayout.marginLeft = 16;
        comboCompo.setLayout(rowLayout);
        gatewaysCombo = new Combo(comboCompo, SWT.DROP_DOWN | SWT.READ_ONLY);
        gatewayInfo = new Label(comboCompo, SWT.NONE);
        gatewayInfo.setEnabled(false);

        /*
         * separator
         */
        new Label(leftColumn, SWT.SEPARATOR | SWT.HORIZONTAL)
            .setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false));

        /*
         * skype
         */
        Composite skypeComposite = new IllustratedComposite(leftColumn,
            SWT.TOP, ImageManager.ELCL_BUDDY_SKYPE_CALL);
        skypeComposite.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true,
            true));
        skypeComposite.setLayout(LayoutUtils.createGridLayout(2, false, 0, 5));
        skypeComposite.setBackgroundMode(SWT.INHERIT_NONE);

        Label skypeLabel = new Label(skypeComposite, SWT.WRAP);
        skypeLabel.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true,
            false, 2, 1));
        skypeLabel
View Full Code Here

Examples of de.fu_berlin.inf.dpp.ui.widgets.IllustratedComposite

            .setText(de.fu_berlin.inf.dpp.ui.Messages.ConfigurationSettingsWizardPage_statistic);

        /*
         * statistic submission
         */
        Composite statisticSubmissionComposite = new IllustratedComposite(
            rightColumn, SWT.TOP, ImageManager.ETOOL_STATISTIC);
        statisticSubmissionComposite.setLayoutData(new GridData(SWT.FILL,
            SWT.CENTER, true, true));
        statisticSubmissionComposite.setLayout(LayoutUtils.createGridLayout(0,
            5));
        statisticSubmissionComposite.setBackgroundMode(SWT.INHERIT_NONE);

        Link message = new Link(statisticSubmissionComposite, SWT.WRAP);
        message.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false));
        message
            .setText(de.fu_berlin.inf.dpp.ui.Messages.ConfigurationSettingsWizardPage_feedback_descr);
        message.addListener(SWT.Selection, new LinkListener());

        statisticSubmissionButton = new Button(statisticSubmissionComposite,
            SWT.CHECK | SWT.WRAP);
        statisticSubmissionButton.setLayoutData(new GridData(SWT.FILL,
            SWT.CENTER, true, false));
        statisticSubmissionButton
            .setText(de.fu_berlin.inf.dpp.ui.Messages.ConfigurationSettingsWizardPage_feedback_allow_data);
        statisticSubmissionButton.setSelection(true);

        /*
         * separator
         */
        Label separator = new Label(rightColumn, SWT.SEPARATOR | SWT.HORIZONTAL);
        separator
            .setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false));

        /*
         * crash report submission
         */
        Composite crashReportSubmissionComposite = new IllustratedComposite(
            rightColumn, SWT.NONE, ImageManager.ETOOL_CRASH_REPORT);
        crashReportSubmissionComposite.setLayoutData(new GridData(SWT.FILL,
            SWT.CENTER, true, true));
        crashReportSubmissionComposite.setLayout(LayoutUtils.createGridLayout(
            0, 5));
        crashReportSubmissionComposite.setBackgroundMode(SWT.INHERIT_NONE);

        errorLogSubmissionButton = new Button(crashReportSubmissionComposite,
            SWT.CHECK | SWT.WRAP);
        errorLogSubmissionButton.setLayoutData(new GridData(SWT.FILL,
            SWT.BOTTOM, false, false));
View Full Code Here

Examples of de.fu_berlin.inf.dpp.ui.widgets.IllustratedComposite

    protected IllustratedComposite illustratedComposite;

    public NoteComposite(Composite parent, int style) {
        super(parent, style & ~IllustratedComposite.STYLES);

        this.illustratedComposite = new IllustratedComposite(this, style
            & IllustratedComposite.STYLES, null);
        this.illustratedComposite.setLayoutData(new GridData(SWT.FILL,
            SWT.FILL, true, true));
        this.illustratedComposite.setLayout(getContentLayout());
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.