Examples of open()


Examples of com.vaadin.ui.LegacyWindow.open()

        addComponent(new Button("Window.open _blank always as popup",
                new Button.ClickListener() {
                    @Override
                    public void buttonClick(ClickEvent event) {
                        win.open(r, "_blank", true);
                    }
                }));

        addComponent(new Button("Window.open _blank NOT always as popup",
                new Button.ClickListener() {
View Full Code Here

Examples of com.volantis.mcs.eclipse.ab.editors.layout.GridDimensionsDialog.open()

        GridDimensionsDialog dialog =
                new GridDimensionsDialog(
                        Display.getCurrent().getActiveShell());

        int code = dialog.open();

        if (code == IDialogConstants.OK_ID) {
            Object[] result = dialog.getResult();
            dimensions = (Dimension)result[0];
        }
View Full Code Here

Examples of com.volantis.mcs.eclipse.ab.editors.layout.RowColumnInsertionDialog.open()

        RowColumnInsertionDialog.InsertionData result = null;
        RowColumnInsertionDialog dialog =
                new RowColumnInsertionDialog(
                        Display.getCurrent().getActiveShell(),
                        RowColumnInsertionDialog.Type.COLUMN);
        int returnCode = dialog.open();

        if (returnCode == IDialogConstants.OK_ID) {
            result =
                    (RowColumnInsertionDialog.InsertionData)
                    dialog.getResult()[0];
View Full Code Here

Examples of com.volantis.mcs.eclipse.builder.wizards.themes.SelectorGroupWizard.open()

        newAction = new Action() {
            public void run() {
                SelectorGroupWizard wizard = new SelectorGroupWizard(
                        getShell(),
                        context.getProject());
                wizard.open();
                SelectorGroup group = wizard.getSelectorGroup();

                if (group != null) {
                    ListProxy rules = (ListProxy) getSelectedStyleSheetProxy().
                            getPropertyProxy(ThemeModel.RULES);
View Full Code Here

Examples of com.volantis.mcs.eclipse.controls.CustomisableListSelectionDialog.open()

        String result = value;
        CustomisableListSelectionDialog colourListDialog =
            ListSelectionDialogFactory.createColorListSelectionDialog(
                    parent.getShell(),
                    convertValueToArray(value));
        if (colourListDialog.open() == SelectionDialog.OK) {
            result = convertArrayToValue(colourListDialog.getSelection(),
                    ", ");
        }
        return result;
    }
View Full Code Here

Examples of com.volantis.mcs.eclipse.controls.FontFamilySelectionDialog.open()

        String result = value;
                FontFamilySelectionDialog fontFamilySelectionDialog =
                new  FontFamilySelectionDialog(parent.getShell());

        fontFamilySelectionDialog.setSelection(convertValueToArray(value));
        if (fontFamilySelectionDialog.open() == SelectionDialog.OK) {
            result = convertArrayToValue(fontFamilySelectionDialog.getFonts(),
                    ", ");
        }
        return result;
    }
View Full Code Here

Examples of com.volantis.mcs.eclipse.controls.NodeSelectionDialog.open()

                        new DeviceHierarchyLabelProvider());

                // set the title for the dialog
                dialog.setTitle(SELECT_DEVICE_TITLE);
                // display the dialog
                dialog.open();
                // retrieve the selected device
                Object[] result = dialog.getResult();
                // if the result is null then the user pressed the cancel
                // button. However, if it is non null then a selection will
                // have been made and the result array should contain 1
View Full Code Here

Examples of com.volantis.mcs.eclipse.controls.StyleSelectionDialog.open()

        };
        final StyleSelectionDialog dialog =
                new StyleSelectionDialog(button.getShell(), styles);
        button.addSelectionListener(new SelectionAdapter() {
            public void widgetSelected(SelectionEvent e) {
                dialog.open();
                System.out.println(dialog.getStyles());
            }
        });
    }
View Full Code Here

Examples of com.volantis.mcs.protocols.dissection.ShardLinkMenuBracketingRenderer.open()

        DefaultMenuBracketingRenderer defaultRenderer =
                new DefaultMenuBracketingRenderer(divOutput);
        ShardLinkMenuBracketingRenderer renderer =
                new ShardLinkMenuBracketingRenderer(defaultRenderer);

        renderer.open(buffer, slMenu);
        checkAnnotatedAttributes(defaultRenderer);
    }
}

/*
 
View Full Code Here

Examples of com.volantis.mcs.xml.schema.validation.DocumentValidator.open()

        // =====================================================================

        DocumentValidator validator = new DocumentValidatorImpl(
                compiledSchemaMock);

        validator.open(elementType);
        assertTrue(validator.pcdata(false));
        assertTrue(validator.pcdata(false));
        assertTrue(validator.pcdata(false));
        validator.close(elementType);
    }
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.