Package org.springframework.ide.eclipse.quickfix.proposals

Examples of org.springframework.ide.eclipse.quickfix.proposals.AddConfigSetQuickFixProposal$ConfigSetNameWizard


            if (configSet.hasConfig((IFile) bean.getElementResource())) {
              addToConfigSetProposals.add(new AddToConfigSetQuickFixProposal(offset, length,
                  missingEndQuote, file, configSet, project));
            }
          }
          addConfigSetProposals.add(new AddConfigSetQuickFixProposal(offset, length, missingEndQuote, bean,
              file));
          foundResources.add(bean.getElementResource());
        }

      }
View Full Code Here


    BeansProject beanProject = (BeansProject) BeansCorePlugin.getModel().getProject(project);
    IBeansConfigSet configSet = beanProject.getConfigSet("AddConfigSetTest");
    assertNull("Expects no config set", configSet);

    AddConfigSetQuickFixProposal proposal = new AddConfigSetQuickFixProposal(offset, length, false, importBean,
        file, "AddConfigSetTest");
    proposal.apply(document);

    configSet = beanProject.getConfigSet("AddConfigSetTest");
    assertNotNull("Expects config set to be created", configSet);
    assertTrue("Expects config-set-proposal-test.xml to be added to config set",
        configSet.getConfigs().contains(beanProject.getConfig(file)));
View Full Code Here

TOP

Related Classes of org.springframework.ide.eclipse.quickfix.proposals.AddConfigSetQuickFixProposal$ConfigSetNameWizard

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.