protected override IApplicationComponent CreateComponent()
        {
            AIMSearchCoordinator       coordinator = new AIMSearchCoordinator();
            AIMSearchCriteriaComponent AIMSearchCriteriaComponent = new AIMSearchCriteriaComponent(coordinator);

            Table <AIMSearchResult> table = new Table <AIMSearchResult>();

            InitializeResultsTable(table);
            SearchResultsComponent resultsComponent = new SearchResultsComponent(ToolbarSite, MenuSite, ToolNamespace, new AIMSearchResultsToolExtensionPoint(), table);

            coordinator.SetSearchResultsComponent(resultsComponent);

            SplitPane topPane          = new SplitPane("Search", AIMSearchCriteriaComponent, true);
            SplitPane bottomTopPane    = new SplitPane("Results", resultsComponent, 2.0f);
            SplitPane bottopBottomPane = new SplitPane("Retrieve Progress", CreateRetrieveProgressComponent(), 1.0f);
            SplitPane bottomPane       = new SplitPane("All Results", new SplitComponentContainer(bottomTopPane, bottopBottomPane, SplitOrientation.Horizontal), false);

            return(new SplitComponentContainer(topPane, bottomPane, SplitOrientation.Horizontal));
        }
示例#2
0
 public void SetSearchCriteriaComponent(AIMSearchCriteriaComponent criteriaComponent)
 {
     _criteriaComponent = criteriaComponent;
 }