Examples of JFaceInitializer


Examples of org.eclipse.e4.xwt.jface.JFaceInitializer

    type = org.eclipse.jface.viewers.AbstractListViewer.class;
    metaclass = (IMetaclass) core.getMetaclass(type,
        IConstants.XWT_NAMESPACE);
    if (metaclass != null) {
      metaclass.addInitializer(new JFaceInitializer());
    }

    type = org.eclipse.jface.viewers.ColumnViewer.class;
    metaclass = (IMetaclass) core.getMetaclass(type,
        IConstants.XWT_NAMESPACE);
    if (metaclass != null) {
      metaclass.addProperty(new DynamicBeanProperty(type, String[].class,
          PropertiesConstants.PROPERTY_COLUMN_PROPERTIES));
      metaclass.addProperty(new ColumnViewerColumnsProperty());

      metaclass.addInitializer(new JFaceInitializer());
    }

    for (Class<?> cls : JFacesHelper.getSupportedElements()) {
      registerMetaclass(cls);
    }
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.