Package org.eclipse.php.formatter.core

Examples of org.eclipse.php.formatter.core.ICodeFormatterPreferencesInitializer


      if ("profile".equals(element.getName())) { //$NON-NLS-1$
        String id = element.getAttribute("id"); //$NON-NLS-1$
        String name = element.getAttribute("name"); //$NON-NLS-1$
        if (element.getAttribute("class") != null) { //$NON-NLS-1$
          try {
            ICodeFormatterPreferencesInitializer initializer = (ICodeFormatterPreferencesInitializer) element
                .createExecutableExtension("class"); //$NON-NLS-1$
            CodeFormatterPreferences preferences = initializer
                .initValues();
            final Profile extensionProfile = new BuiltInProfile(id,
                name + builtinPostFix, preferences.getMap(),
                ++order);
            profiles.put(extensionProfile.getID(), extensionProfile);
View Full Code Here

TOP

Related Classes of org.eclipse.php.formatter.core.ICodeFormatterPreferencesInitializer

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.