Package org.objectstyle.wolips.eomodeler.utils

Examples of org.objectstyle.wolips.eomodeler.utils.ComboViewerBinding


    if (myServerTimeZoneBinding != null) {
      myServerTimeZoneBinding.dispose();
    }
    if (_argument != null) {
      myServerTimeZoneViewer.setInput(_argument);
      myServerTimeZoneBinding = new ComboViewerBinding(myServerTimeZoneViewer, _argument, AbstractEOArgument.SERVER_TIME_ZONE, null, null, TimeZoneContentProvider.BLANK_VALUE);
    }
  }
View Full Code Here


  protected void addBindings() {
    _bindingContext.bindValue(SWTObservables.observeText(_nameText, SWT.Modify), BeansObservables.observeValue(getDatabaseConfig(), EODatabaseConfig.NAME), null, null);
    _bindingContext.bindValue(SWTObservables.observeText(_priorityText, SWT.Modify), BeansObservables.observeValue(getDatabaseConfig(), EODatabaseConfig.PRIORITY), null, null);
    _bindingContext.bindValue(SWTObservables.observeText(_deploymentProfileText, SWT.Modify), BeansObservables.observeValue(getDatabaseConfig(), EODatabaseConfig.DEPLOYMENT_PROFILE), null, null);
    _prototypeComboViewer.setInput(getDatabaseConfig());
    _prototypeBinding = new ComboViewerBinding(_prototypeComboViewer, getDatabaseConfig(), EODatabaseConfig.PROTOTYPE, null, null, EOPrototypeEntityListContentProvider.BLANK_ENTITY);
    _adaptorNameComboViewer.setInput(getDatabaseConfig());
    _adaptorNameBinding = new ComboViewerBinding(_adaptorNameComboViewer, getDatabaseConfig(), EODatabaseConfig.ADAPTOR_NAME, null, null, null);
    // _adaptorNameComboViewer.getCombo().addModifyListener(_adaptorNameBinding);

    EODatabaseConfig databaseConfig = getDatabaseConfig();
    if (databaseConfig != null) {
      EOModel model = databaseConfig.getModel();
View Full Code Here

      myBindingContext.bindValue(SWTObservables.observeText(myValueTypeText, SWT.Modify), BeansObservables.observeValue(_argument, AbstractEOArgument.VALUE_TYPE), null, null);
      myBindingContext.bindValue(SWTObservables.observeText(myFactoryClassText, SWT.Modify), BeansObservables.observeValue(_argument, AbstractEOArgument.VALUE_FACTORY_CLASS_NAME), null, null);
      myBindingContext.bindValue(SWTObservables.observeText(myFactoryMethodText, SWT.Modify), BeansObservables.observeValue(_argument, AbstractEOArgument.VALUE_FACTORY_METHOD_NAME), null, null);
      myBindingContext.bindValue(SWTObservables.observeText(myConversionClassText, SWT.Modify), BeansObservables.observeValue(_argument, AbstractEOArgument.ADAPTOR_VALUE_CONVERSION_CLASS_NAME), null, null);
      myBindingContext.bindValue(SWTObservables.observeText(myConversionMethodText, SWT.Modify), BeansObservables.observeValue(_argument, AbstractEOArgument.ADAPTOR_VALUE_CONVERSION_METHOD_NAME), null, null);
      myArgumentTypeBinding = new ComboViewerBinding(myArgumentTypeComboViewer, _argument, AbstractEOArgument.FACTORY_METHOD_ARGUMENT_TYPE, null, null, EOFactoryMethodArgumentTypeContentProvider.BLANK_ARGUMENT_TYPE);
    }
  }
View Full Code Here

TOP

Related Classes of org.objectstyle.wolips.eomodeler.utils.ComboViewerBinding

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.