Examples of addConfig()


Examples of org.lilystudio.smarty4j.Engine.addConfig()

      if (type < 2) {
        if (parent != null) {
          parent.put(key, value);
        }
        if (type < 1) {
          engine.addConfig(key, value);
        }
      }
    }
  }
View Full Code Here

Examples of org.springframework.ide.eclipse.beans.core.internal.model.BeansConfigSet.addConfig()

        // TODO CD add support for linked project and config sets
        if (resource.getProject().equals(project) && !beansConfigSet.hasConfig(file)) {
          IBeansConfig bc = BeansCorePlugin.getModel().getConfig((IFile) resource);
          // check if resource is already a beans config
          if (bc != null) {
            beansConfigSet.addConfig(bc.getElementName());
          }
          else {
            beansProject.addConfig(file, IBeansConfig.Type.MANUAL);
            bc = beansProject.getConfig(file);
            beansConfigSet.addConfig(bc.getElementName());
View Full Code Here

Examples of org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.addConfig()

      if (parent instanceof BeansProject) {
        BeansProject beansProject = (BeansProject) parent;
        // check if target project is actually the parent of resource
        IProject project = getProject(parent);
        if (resource.getProject().equals(project) && !beansProject.hasConfig(file)) {
          beansProject.addConfig(file, IBeansConfig.Type.MANUAL);
          return saveProject(beansProject);
        }
      }
      // handle resource drop to config set
      else if (parent instanceof BeansConfigSet) {
View Full Code Here

Examples of org.springframework.ide.eclipse.beans.ui.properties.model.PropertiesConfigSet.addConfig()

    public void run() {
      IBeansProject beansProject = BeansModelUtils.getProject(config);
      if (beansProject != null) {
        PropertiesProject modelProject = new PropertiesProject(new PropertiesModel(), beansProject);
        PropertiesConfigSet propSet = (PropertiesConfigSet) modelProject.getConfigSet(configSet.getElementName());
        propSet.addConfig(config.getElementName());
        modelProject.saveDescription();
        BeansModelLabelDecorator.update();
      }
    }
   
View Full Code Here

Examples of org.wso2.carbon.dataservices.core.engine.DataService.addConfig()

      }
         
      /* add the configs */
      for (Iterator<OMElement> itr = dbsElement.getChildrenWithName(
          new QName(DBSFields.CONFIG)); itr.hasNext();) {
        dataService.addConfig(ConfigFactory.createConfig(dataService, itr.next()));   
      }

      /* add event triggers */
      for (Iterator<OMElement> itr = dbsElement.getChildrenWithName(
          new QName(DBSFields.EVENT_TRIGGER)); itr.hasNext();) {
View Full Code Here

Examples of org.wso2.carbon.dataservices.core.engine.DataService.addConfig()

        null, null, null, DBConstants.ServiceStatusValues.INACTIVE,
        false, false, false, null, false);
   
    /* add dummy config */
    String dummyConfigId = DBConstants.DEFAULT_CONFIG_ID;
    dataService.addConfig(getDummyConfig(dataService, dummyConfigId));
   
    /* compile schema */
    Map<QName, Document> modelMap;
    Map<QName, String> elementMap;
    try {
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.