Package com.volantis.mcs.eclipse.controls

Examples of com.volantis.mcs.eclipse.controls.FontFamilySelectionDialog


    public String doBrowse(String value,
                           Composite parent,
                           EditorContext context) {

        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

TOP

Related Classes of com.volantis.mcs.eclipse.controls.FontFamilySelectionDialog

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.