Package org.springframework.ide.eclipse.config.ui.actions

Examples of org.springframework.ide.eclipse.config.ui.actions.InsertNodeAction.run()


    TreeItem root = treeViewer.getTree().getItem(0);
    assertEquals(0, root.getItemCount());

    InsertNodeAction insert = new InsertNodeAction(treeViewer, cEditor.getXmlProcessor(), textView, "bean");
    treeViewer.getTree().setSelection(root);
    insert.run();
    assertEquals(1, root.getItemCount());

    IDOMElement node = (IDOMElement) root.getItem(0).getData();
    DeleteNodeAction delete = new DeleteNodeAction(textView, node);
    delete.run();
View Full Code Here


    TreeItem root = treeViewer.getTree().getItem(0);
    assertEquals(20, root.getItemCount());

    InsertNodeAction action = new InsertNodeAction(treeViewer, cEditor.getXmlProcessor(), textView, "bean");
    treeViewer.getTree().setSelection(root);
    action.run();
    assertEquals(21, root.getItemCount());
  }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.