Package org.emftrace.emffit.ui.commands.issuecards

Examples of org.emftrace.emffit.ui.commands.issuecards.DeleteIssueCardCommand


      public void widgetSelected(SelectionEvent e) {
        if (MessageDialog.openQuestion(part.getBaseComposite()
            .getShell(), "Delete IssueCard",
            "Do you really want to delete "
                + new ShortLabelProvider().getText(ic) + "?"))
          new DeleteIssueCardCommand(ic).runAsJob();
      }
    };
  }
View Full Code Here


public class DeleteIssueCardCommandTest extends EMFfitTestCase{

  @Test
  public void testDoRun() {
    int oldSize = project.getAllModelElements().size();
    new DeleteIssueCardCommand(issueCard).runWithoutUnicaseCommand();
    assertEquals(oldSize - 29 , project.getAllModelElements().size() );
  }
View Full Code Here

TOP

Related Classes of org.emftrace.emffit.ui.commands.issuecards.DeleteIssueCardCommand

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.