Package org.eclipse.wst.common.componentcore.datamodel.properties.IFacetProjectCreationDataModelProperties

Examples of org.eclipse.wst.common.componentcore.datamodel.properties.IFacetProjectCreationDataModelProperties.FacetDataModelMap


  }

  private static IDataModel initConfig(IDataModel model,
      IProjectFacetVersion fv, Type type, String pjname)
      throws CoreException {
    FacetDataModelMap map = (FacetDataModelMap) model
        .getProperty(IFacetProjectCreationDataModelProperties.FACET_DM_MAP);
    IDataModel configDM = (IDataModel) map
        .get(fv.getProjectFacet().getId());
    if (configDM == null) {
      final Object config = fv.createActionConfig(type, pjname);
      if (config == null || !(config instanceof IDataModel)) {
        return null;
      }
      configDM = (IDataModel) config;
      map.add(configDM);
    }

    configDM.setProperty(IFacetDataModelProperties.FACET_VERSION, fv);

    return configDM;
View Full Code Here

TOP

Related Classes of org.eclipse.wst.common.componentcore.datamodel.properties.IFacetProjectCreationDataModelProperties.FacetDataModelMap

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.