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

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


    Set<IConfigurationElement> definitions = ConfigUiExtensionPointReader.getPageDefinitions();
    for (IConfigurationElement def : definitions) {
      String uri = def.getAttribute(FormPagesExtensionPointConstants.ATTR_NAMESPACE_URI);
      AbstractConfigFormPage formPage = editor.getFormPageForUri(uri);
      if (formPage != null) {
        AbstractConfigDetailsPart page = formPage.getMasterDetailsBlock().getPage(key);
        if (page != null) {
          page.setMasterPart(getMasterPart());
          return page;
        }
      }
    }
    return new AbstractNamespaceDetailsPart(getMasterPart());
View Full Code Here


        AbstractConfigFormPage page = getConfigEditor().getFormPageForAdapterUri(getInput().getNamespaceURI());
        if (page == null) {
          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());
            SpringConfigDocumentationSectionPart sectionPart = namespaceDetails
View Full Code Here

        AbstractConfigFormPage page = getConfigEditor().getFormPageForAdapterUri(getInput().getNamespaceURI());
        if (page == null) {
          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(
View Full Code Here

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

    AbstractConfigDetailsPart detailsPart = (AbstractConfigDetailsPart) details;
    Section detailsSection = detailsPart.getDetailsSection().getSection();
    assertNotNull(detailsSection);
    assertTrue(detailsSection.isExpanded());
    assertTrue(detailsSection.getChildren().length > 0);
  }
View Full Code Here

TOP

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

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.