Package org.springframework.ide.eclipse.beans.ui.properties.model

Examples of org.springframework.ide.eclipse.beans.ui.properties.model.PropertiesProject.saveDescription()


    // Now save modified project description
    if (userMadeChanges) {
      SpringCorePreferences.getProjectPreferences(project.getProject(), BeansCorePlugin.PLUGIN_ID).putBoolean(
          BeansCorePlugin.IGNORE_MISSING_NAMESPACEHANDLER_PROPERTY,
          configFilesTab.shouldIgnoreMissingNamespaceHandler());
      newProject.saveDescription();
    }

    if (configLocatorTab != null) {
      configLocatorTab.performOk();
    }
View Full Code Here


      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

    if (config != null) {
      IBeansProject project = BeansModelUtils.getProject(config);
      if (project != null) {
        PropertiesProject modelProject = new PropertiesProject(new PropertiesModel(), project);
        modelProject.removeConfig(config.getElementName());
        modelProject.saveDescription();
      }
    }
  }
 
  @Override
View Full Code Here

      IBeansProject beansProject = BeansModelUtils.getProject(config);
      if (beansProject != null) {
        PropertiesProject modelProject = new PropertiesProject(new PropertiesModel(), beansProject);
        PropertiesConfigSet propSet = (PropertiesConfigSet) modelProject.getConfigSet(configSet.getElementName());
        propSet.removeConfig(config.getElementName());
        modelProject.saveDescription();
        BeansModelLabelDecorator.update();
      }
    }
   
  }
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.