@Override
 protected void setUp() {
   mainWindow = MainWindowOperator.getDefault();
   dView = new TopComponentOperator("Design View");
   dView.clickMouse();
   tco = new TopComponentOperator("Document Items");
   treeOp = new JTreeOperator(tco.getWindowContainerOperator());
   tco = new TopComponentOperator("Table View");
   tableOp = new JTableOperator(tco);
 }
Пример #2
0
  public ComponentOperator open() {
    log("::open");

    Node projectNode = new ProjectsTabOperator().getProjectRootNode(project_name);
    projectNode.performPopupActionNoBlock("Deploy Project"); // NOI18N
    new EventTool().waitNoEvent(60000);
    MainWindowOperator.getDefault().waitStatusText("Finished building " + project_name); // NOI18N

    return null;
  }
 public ComponentOperator open() {
   String menu =
       Bundle.getStringTrimmed("org.netbeans.core.ui.resources.Bundle", "Menu/Tools")
           + "|"
           + Bundle.getStringTrimmed(
               "org.netbeans.modules.favorites.templates.Bundle", "LBL_TemplatesAction_Name");
   MainWindowOperator.getDefault().menuBar().pushMenu(menu);
   return new NbDialogOperator(
       Bundle.getStringTrimmed(
           "org.netbeans.modules.favorites.templates.Bundle", "LBL_TemplatesPanel_Title"));
 }
 public ComponentOperator open() {
   new JMenuBarOperator(MainWindowOperator.getDefault().getJMenuBar()).pushMenu(MENU, "|");
   return new TopComponentOperator(NAME);
 }
 public ComponentOperator open() {
   new JMenuBarOperator(MainWindowOperator.getDefault().getJMenuBar()).pushMenuNoBlock(MENU, "|");
   return new NbDialogOperator(TITLE);
 }