Package org.springframework.ide.eclipse.beans.core.internal.model.validation

Examples of org.springframework.ide.eclipse.beans.core.internal.model.validation.BeansValidationContext$AttributeDescriptor


    this.attribute = attribute;
    this.node = node;

    this.project = file.getProject();
    this.file = file;
    this.delegateContext = new BeansValidationContext(config, new SpringProject(SpringCore.getModel(),
        file.getProject()));

    this.errorFound = false;
  }
View Full Code Here


  private Set<OccurrenceLocation> findLocations(IndexedRegion region, int offset) {
    if (region instanceof IDOMNode) {
      IDOMNode node = (IDOMNode) region;
      IFile file = editor.getResourceFile();

      BeansValidationContext context = null;
      IBeansConfig config = BeansCorePlugin.getModel().getConfig(file);
      if (config != null) {
        context = new BeansValidationContext(config,
            new SpringProject(SpringCore.getModel(), file.getProject()));
      }

      String beanName = getBeanName(node, offset, context);
      if (beanName != null) {
View Full Code Here

TOP

Related Classes of org.springframework.ide.eclipse.beans.core.internal.model.validation.BeansValidationContext$AttributeDescriptor

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.