Examples of BindingAction


Examples of com.totsp.gwittir.client.action.BindingAction

                }
            });
        add(keyButton);

        final Button suggest = new Button("Suggest");
        suggest.setAction(new BindingAction() {
                public void execute(BoundWidget model) {
                    Window.alert("Suggested");
                }

                public void bind(BoundWidget widget) {
View Full Code Here

Examples of org.eclipse.wb.internal.core.databinding.ui.property.BindingAction

  @Override
  protected void addBindingAction(IMenuManager menu,
      IBindingInfo binding,
      IObserveInfo observeProperty,
      boolean isTarget) throws Exception {
    BindingAction action = new BindingAction(m_context, binding);
    action.setText(observeProperty.getPresentation().getText()
        + ": "
        + BindingLabelProvider.INSTANCE.getColumnText(binding, isTarget ? 2 : 1));
    action.setIcon(BindingLabelProvider.INSTANCE.getColumnImage(binding, 0));
    menu.add(action);
  }
View Full Code Here

Examples of org.openhab.binding.homematic.internal.config.BindingAction

    Converter<?> converter = null;
    // if (helper.isValidDatapoint() || helper.isValidVariable()) {
    // converter = instantiateConverter(helper.converter);
    // }

    BindingAction bindingAction = getBindingAction(item, helper.action);

    if (helper.isValidDatapoint()) {
      return new DatapointConfig(helper.address, helper.channel, helper.parameter, converter, bindingAction,
          helper.isForceUpdate());
    } else if (helper.isValidVariable()) {
View Full Code Here

Examples of org.openhab.binding.homematic.internal.config.BindingAction

  private BindingAction getBindingAction(Item item, String action) {
    if (action == null) {
      return null;
    }

    BindingAction bindingAction = BindingAction.parse(action);
    if (bindingAction == null) {
      logger.warn("Can't parse action {}, only {} and {} allowed. Ignoring action parameter in item {}!", action,
          BindingAction.RELOAD_VARIABLES, BindingAction.RELOAD_DATAPOINTS, item.getName());
    } else if (!acceptsOnOffType(item)) {
      logger.warn(
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.