Examples of MBindingTable


Examples of org.eclipse.e4.ui.model.application.commands.MBindingTable

    if (parentObj == null) {
      return;
    }

    MBindingTable bt = (MBindingTable) parentObj;
    final Context bindingContext = contextManager.getContext(bt
        .getBindingContext().getElementId());
    BindingTable table = bindingTables.getTable(bindingContext.getId());
    if (table == null) {
      logger.error("Trying to create \'" + binding //$NON-NLS-1$
          + "\' without binding table " + bindingContext.getId());//$NON-NLS-1$
View Full Code Here

Examples of org.eclipse.e4.ui.model.application.commands.MBindingTable

          Object newObj = event
              .getProperty(UIEvents.EventTags.NEW_VALUE);
          if (UIEvents.EventTypes.ADD.equals(event
              .getProperty(UIEvents.EventTags.TYPE))
              && newObj instanceof MBindingTable) {
            MBindingTable bt = (MBindingTable) newObj;
            final Context bindingContext = contextManager
                .getContext(bt.getBindingContext()
                    .getElementId());
            final BindingTable table = new BindingTable(
                bindingContext);
            bindingTables.addTable(table);
            List<MKeyBinding> bindings = bt.getBindings();
            for (MKeyBinding binding : bindings) {
              Binding keyBinding = createBinding(bindingContext,
                  binding.getCommand(),
                  binding.getParameters(),
                  binding.getKeySequence(), binding);
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.