Package org.springframework.ide.eclipse.config.ui.editors

Examples of org.springframework.ide.eclipse.config.ui.editors.AbstractNamespaceDetailsPart


          page = getConfigEditor().getFormPage(OverviewFormPage.ID);
        }
        if (page != null) {
          AbstractConfigDetailsPart detailsPart = page.getMasterDetailsBlock().getPage(getInput());
          if (detailsPart instanceof AbstractNamespaceDetailsPart) {
            AbstractNamespaceDetailsPart namespaceDetails = (AbstractNamespaceDetailsPart) detailsPart;
            Composite composite = pageBook.createPage(input);
            composite.setLayout(new GridLayout());
            SpringConfigDetailsSectionPart sectionPart = namespaceDetails.createDetailsSectionPart(
                getConfigEditor(), input, composite, getWidgetFactory());
            sectionPart.createContent();
            composite.setData(sectionPart);
            partMap.put(input, sectionPart);
          }
View Full Code Here


    AbstractConfigMasterDetailsBlock block = page.getMasterDetailsBlock();
    IDetailsPage details = block.getDetailsPart().getCurrentPage();
    assertTrue("Could not load details part.", details instanceof AbstractNamespaceDetailsPart);

    AbstractNamespaceDetailsPart detailsPart = (AbstractNamespaceDetailsPart) details;
    Section docsSection = detailsPart.getDocumentationSection().getSection();
    assertNotNull(docsSection);
    assertTrue(docsSection.isExpanded());
    assertTrue(docsSection.getChildren().length > 0);
  }
View Full Code Here

TOP

Related Classes of org.springframework.ide.eclipse.config.ui.editors.AbstractNamespaceDetailsPart

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.