Examples of IObservePresentation


Examples of org.eclipse.wb.internal.core.databinding.model.IObservePresentation

        // prepare association widget
        JavaInfo widget = getJavaInfoRepresentedBy(root, fragment.getName().getIdentifier());
        //
        IReferenceProvider referenceProvider = new FragmentReferenceProvider(fragment);
        //
        IObservePresentation presentation =
            new BeanObservePresentation(beanClass, referenceProvider, widget, beanImage);
        //
        m_observables.add(new BeanObserveInfo(m_beanSupport,
            beanClass,
            referenceProvider,
View Full Code Here

Examples of org.eclipse.wb.internal.core.databinding.model.IObservePresentation

              // prepare association widget
              JavaInfo widget = getJavaInfoRepresentedBy(root, fragment.getName().getIdentifier());
              //
              IReferenceProvider referenceProvider = new FragmentReferenceProvider(fragment);
              //
              IObservePresentation presentation =
                  new BeanObservePresentation(beanClass,
                      referenceProvider,
                      widget,
                      Activator.getImage("javabean.gif"));
              //
View Full Code Here

Examples of org.eclipse.wb.internal.core.databinding.model.IObservePresentation

      if (propertyClass == null) {
        propertyClass = Object.class;
      }
      IReferenceProvider referenceProvider =
          new StringReferenceProvider("\"" + propertyName + "\"");
      IObservePresentation presentation =
          new SimpleObservePresentation(propertyName,
              propertyName,
              TypeImageProvider.getImage(propertyClass));
      IObserveDecorator decorator = IObserveDecorator.DEFAULT;
      properties.add(new BeanPropertyObserveInfo(propertyClass,
View Full Code Here

Examples of org.eclipse.wb.internal.core.databinding.model.IObservePresentation

      error[0] = true;
    }
    //
    String propertyName = StringUtils.remove(reference, '"');
    IReferenceProvider referenceProvider = new StringReferenceProvider(reference);
    IObservePresentation presentation =
        new SimpleObservePresentation(propertyName, propertyName, TypeImageProvider.OBJECT_IMAGE);
    IObserveDecorator decorator = IObserveDecorator.DEFAULT;
    //
    return new BeanPropertyObserveInfo(Object.class,
        null,
View Full Code Here

Examples of org.eclipse.wb.internal.core.databinding.model.IObservePresentation

    return m_bindings;
  }

  private void updateBindingDecoration() throws Exception {
    if (m_setBindingDecoration) {
      IObservePresentation presentation = getPresentation();
      if (presentation instanceof IObservePresentationDecorator) {
        IObservePresentationDecorator presentationDecorator =
            (IObservePresentationDecorator) presentation;
        presentationDecorator.setBindingDecorator(CollectionUtils.isEmpty(m_bindings)
            ? 0
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.