Package org.emftrace.quarc.core.gssquery

Examples of org.emftrace.quarc.core.gssquery.GSSQueryProcessor


  protected void initCache() {

    if ((query.getQueryResultSet() == null &&  displayQuestionMessagebox( "Preselecion for priniples musst be calculated first!\n Calculate Preslection now?")) ||
        (needsRerun(query) &&  displayQuestionMessagebox( "Preselecion for priniples musst be calculated again. This will reset the query result!\n\nCalculate preslection now?"))){
         
          new GSSQueryProcessor(query, accessLayer, (GSS) getInput(), query.getAssignedConstraintsSet(), true).run();

    }
   
    cacheManager = new CacheManager((GSS) getInput(),
        query.getQueryResultSet(), accessLayer);
View Full Code Here


    ProjectSpace projectSpace = WorkspaceManager.getProjectSpace(query);
    accessLayer.registerProjectSpace(projectSpace);

    AssignedConstraintsSet assignedConstraintsSet = query.getAssignedConstraintsSet();
   
    new GSSQueryProcessor(query, accessLayer, container.getGssCatalogue(), assignedConstraintsSet, false).runAsJob();
    return null;
  }
View Full Code Here

  protected void initCache() {
   
    if (query.getQueryResultSet() == null) {
    if (displayQuestionMessagebox( "Run query now?"))
         
          new GSSQueryProcessor(query, accessLayer, gss, query.getAssignedConstraintsSet(), false).run();
    }
    else {
     if (query.isChanged() || query.getAssignedConstraintsSet().isChanged() || query.getSelectedGoalsSet().isChanged() || query.getSelectedPrinciplesSet().isChanged()  ) {
        if (displayQuestionMessagebox( "Due to changes query musst be executed again!\n\nRerun query now?"))
           
            new GSSQueryProcessor(query, accessLayer, gss, query.getAssignedConstraintsSet(), false).run();
       
   
    }
   
    cacheManager = new CacheManager(gss, (QueryResultSet) getInput(),
View Full Code Here

  private void executeRequiredPhases(boolean goalsAndPriniplesOnly) {
    gssQuery.setIncludeAll(true);
    cacheManager = new CacheManager(gss, queryResultSet, accessLayer);
    cacheManager.initCache();

    gssQueryProcessor = new GSSQueryProcessor(gssQuery, accessLayer, gss, null, goalsAndPriniplesOnly);
    gssQueryProcessor.runWithoutUnicaseCommand();
  }
View Full Code Here

TOP

Related Classes of org.emftrace.quarc.core.gssquery.GSSQueryProcessor

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.