Package org.emftrace.emffit.ui.commands.influencingfactors

Examples of org.emftrace.emffit.ui.commands.influencingfactors.DeleteInfluencingFactorCommand


      public void widgetDefaultSelected(SelectionEvent e) {
      }

      @Override
      public void widgetSelected(SelectionEvent e) {
        new DeleteInfluencingFactorCommand(influencingFactor)
            .runAsJob();
      }

    };
  }
View Full Code Here


   */
  @Override
  protected void doRun() {
    for (int i = issueCard.getInfluencingFactors().size()-1; i >=0; i--) {
      InfluencingFactor influencingFactor = issueCard.getInfluencingFactors().get(i);
      new DeleteInfluencingFactorCommand(influencingFactor).runWithoutUnicaseCommand();
    }
   
  }
View Full Code Here

    //setup
    InfluencingFactor influencingFactor = issueCard.getInfluencingFactors().get(0);
    int influencingFactorsCount = issueCard.getInfluencingFactors().size();
   
    //run command
    new DeleteInfluencingFactorCommand(influencingFactor).runWithoutUnicaseCommand();
   
    //check
    assertEquals(influencingFactorsCount-1, issueCard.getInfluencingFactors().size());
   
  }
View Full Code Here

TOP

Related Classes of org.emftrace.emffit.ui.commands.influencingfactors.DeleteInfluencingFactorCommand

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.