Package org.eclipse.jface.bindings

Examples of org.eclipse.jface.bindings.Scheme.define()


        }
      }

      // Define the scheme.
      final Scheme scheme = bindingManager.getScheme(id);
      scheme.define(name, description, parentId);
    }

    logWarnings(
        warningsToLog,
        "Warnings while parsing the key bindings from the 'org.eclipse.ui.bindings', 'org.eclipse.ui.acceleratorConfigurations' and 'org.eclipse.ui.commands' extension point"); //$NON-NLS-1$
View Full Code Here


    try {
      for (int i = 0; i < definedSchemes.length; i++) {
        final Scheme scheme = definedSchemes[i];
        final Scheme copy = localChangeManager
            .getScheme(scheme.getId());
        copy.define(scheme.getName(), scheme.getDescription(), scheme
            .getParentId());
      }
      localChangeManager
          .setActiveScheme(bindingService.getActiveScheme());
    } catch (final NotDefinedException e) {
View Full Code Here

      try {
        for (int i = 0; i < definedSchemes.length; i++) {
          final Scheme scheme = definedSchemes[i];
          final Scheme copy = localChangeManager.getScheme(scheme
              .getId());
          copy.define(scheme.getName(), scheme.getDescription(),
              scheme.getParentId());
        }
        localChangeManager.setActiveScheme(bindingService
            .getActiveScheme());
      } catch (final NotDefinedException e) {
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.