Examples of IBeansImport


Examples of org.springframework.ide.eclipse.beans.core.model.IBeansImport

    Set<ValidationProblem> problems = super.createProblems(element, problemId, severity, message, attributes);
    IResource resource = element.getElementResource();

    // Check if error or warning on imported resource exists
    if (!resource.equals(getRootElementResource())) {
      IBeansImport beansImport = BeansModelUtils.getParentOfClass(element, IBeansImport.class);

      while (beansImport != null) {
        if (severity == IValidationProblemMarker.SEVERITY_ERROR) {
          problems.add(createProblem(beansImport, "", IValidationProblemMarker.SEVERITY_ERROR,
              "Validation error occured in imported configuration file '"
View Full Code Here

Examples of org.springframework.ide.eclipse.beans.core.model.IBeansImport

    // Segment information is currently only required for bean imports
    if (parentPath.getParentPath() != null
        && parentPath.getParentPath().getLastSegment() instanceof IBeansImport
        && parentPath.getLastSegment() instanceof IFile) {
      IFile file = (IFile) parentPath.getLastSegment();
      IBeansImport beansImport = (IBeansImport) parentPath.getParentPath().getLastSegment();
      Set<IImportedBeansConfig> importedConfigs = beansImport.getImportedBeansConfigs();
      for (IBeansConfig bc : importedConfigs) {
        if (bc.getElementResource().equals(file)) {
          return new Object[] { bc };
        }
      }
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.