Package org.eclipse.e4.ui.services

Examples of org.eclipse.e4.ui.services.EContextService


            }
            WritableList writableList = new WritableList(XWT
                .getRealm(), array, classType
                .getComponentType());

            return new ListToArrayObservableValue(writableList,
                activeValue);
          }
        }
      }
      return observable;
View Full Code Here


            segmentValue = (IObservable)dataValue;
          }
        }
        else if (segment == null && type != null) {
          if (segmentValue instanceof TypedViewerObservableValueDecorator) {
            TypedViewerObservableValueDecorator typedViewerObservableValueDecorator = (TypedViewerObservableValueDecorator) segmentValue;
            typedViewerObservableValueDecorator.setElementType(type);
          }
        }
      } catch (IllegalArgumentException e) {
        // Property is not found
        String message = e.getMessage();
View Full Code Here

      IDataProvider dataProvider = factory.create(dataContext);
      if (dataProvider != null) {
        return dataProvider;
      }
    }
    ObjectDataProvider dataProvider = new ObjectDataProvider();
    dataProvider.setObjectInstance(dataContext);
    return dataProvider;
  }
View Full Code Here

     
  private static boolean applyFormsProfile () {
    if (FormsProfile == null) {
      FormsProfile = XWT.createUIProfile();
      XWT.registerMetaclass(new FormMetaclass());
      XWT.registerMetaclass(new ButtonMetaclass());
      XWT.registerMetaclass(new LabelMetaclass());
      XWT.registerMetaclass(new TextMetaclass());
      XWT.registerMetaclass(new TableMetaclass());
      XWT.registerMetaclass(new CompositeMetaclass());
      XWT.registerMetaclass(new FormTextMetaclass());
View Full Code Here

      XWT.registerMetaclass(new FormMetaclass());
      XWT.registerMetaclass(new ButtonMetaclass());
      XWT.registerMetaclass(new LabelMetaclass());
      XWT.registerMetaclass(new TextMetaclass());
      XWT.registerMetaclass(new TableMetaclass());
      XWT.registerMetaclass(new CompositeMetaclass());
      XWT.registerMetaclass(new FormTextMetaclass());
      XWT.registerMetaclass(new HyperlinkMetaclass());
      XWT.registerMetaclass(new ImageHyperlinkMetaclass());
      XWT.registerMetaclass(new ExpandableCompositeMetaclass());
      XWT.registerMetaclass(new SectionMetaclass());
View Full Code Here

      XWT.registerMetaclass(new TableMetaclass());
      XWT.registerMetaclass(new CompositeMetaclass());
      XWT.registerMetaclass(new FormTextMetaclass());
      XWT.registerMetaclass(new HyperlinkMetaclass());
      XWT.registerMetaclass(new ImageHyperlinkMetaclass());
      XWT.registerMetaclass(new ExpandableCompositeMetaclass());
      XWT.registerMetaclass(new SectionMetaclass());
      XWT.registerMetaclass(new ScrolledPageBookMetaclass());
      XWT.registerMetaclass(new ScrolledFormMetaclass());
    }
    return XWT.applyProfile(FormsProfile);
View Full Code Here

  };
     
  private static boolean applyFormsProfile () {
    if (FormsProfile == null) {
      FormsProfile = XWT.createUIProfile();
      XWT.registerMetaclass(new FormMetaclass());
      XWT.registerMetaclass(new ButtonMetaclass());
      XWT.registerMetaclass(new LabelMetaclass());
      XWT.registerMetaclass(new TextMetaclass());
      XWT.registerMetaclass(new TableMetaclass());
      XWT.registerMetaclass(new CompositeMetaclass());
View Full Code Here

      XWT.registerMetaclass(new ButtonMetaclass());
      XWT.registerMetaclass(new LabelMetaclass());
      XWT.registerMetaclass(new TextMetaclass());
      XWT.registerMetaclass(new TableMetaclass());
      XWT.registerMetaclass(new CompositeMetaclass());
      XWT.registerMetaclass(new FormTextMetaclass());
      XWT.registerMetaclass(new HyperlinkMetaclass());
      XWT.registerMetaclass(new ImageHyperlinkMetaclass());
      XWT.registerMetaclass(new ExpandableCompositeMetaclass());
      XWT.registerMetaclass(new SectionMetaclass());
      XWT.registerMetaclass(new ScrolledPageBookMetaclass());
View Full Code Here

      XWT.registerMetaclass(new LabelMetaclass());
      XWT.registerMetaclass(new TextMetaclass());
      XWT.registerMetaclass(new TableMetaclass());
      XWT.registerMetaclass(new CompositeMetaclass());
      XWT.registerMetaclass(new FormTextMetaclass());
      XWT.registerMetaclass(new HyperlinkMetaclass());
      XWT.registerMetaclass(new ImageHyperlinkMetaclass());
      XWT.registerMetaclass(new ExpandableCompositeMetaclass());
      XWT.registerMetaclass(new SectionMetaclass());
      XWT.registerMetaclass(new ScrolledPageBookMetaclass());
      XWT.registerMetaclass(new ScrolledFormMetaclass());
View Full Code Here

      XWT.registerMetaclass(new TextMetaclass());
      XWT.registerMetaclass(new TableMetaclass());
      XWT.registerMetaclass(new CompositeMetaclass());
      XWT.registerMetaclass(new FormTextMetaclass());
      XWT.registerMetaclass(new HyperlinkMetaclass());
      XWT.registerMetaclass(new ImageHyperlinkMetaclass());
      XWT.registerMetaclass(new ExpandableCompositeMetaclass());
      XWT.registerMetaclass(new SectionMetaclass());
      XWT.registerMetaclass(new ScrolledPageBookMetaclass());
      XWT.registerMetaclass(new ScrolledFormMetaclass());
    }
View Full Code Here

TOP

Related Classes of org.eclipse.e4.ui.services.EContextService

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.