Пример #1
0
  @Override
  public void run() {
    CanvasUtilities.setView(null);

    // re-open the explorer and BP perspective
    CanvasUtilities.showModelExplorer();
    ExplorerView explorerView = CanvasUtilities.getView();
    explorerView.setLinkWithEditor(true);
  }
 /** Tests that communications can be drawn in communications */
 public void testCommunicationInCommunication() {
   test_id = "1";
   String diagramName = "Communication in Communication";
   Package_c communication = getPackage(diagramName);
   CanvasUtilities.openCanvasEditor(communication);
   GraphicalEditor ce = CanvasTestUtilities.getCanvasEditor(diagramName);
   validateOrGenerateResults(ce, generateResults);
 }