java.lang.Object
com.intellij.remoterobot.fixtures.Fixture
com.intellij.remoterobot.fixtures.ComponentFixture
com.intellij.remoterobot.fixtures.ContainerFixture
com.intellij.remoterobot.fixtures.CommonContainerFixture
com.redhat.devtools.intellij.commonuitest.fixtures.mainidewindow.toolwindowspane.ProjectExplorer
All Implemented Interfaces:
com.intellij.remoterobot.SearchContext

public class ProjectExplorer extends com.intellij.remoterobot.fixtures.CommonContainerFixture
Project Explorer fixture
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.intellij.remoterobot.fixtures.CommonContainerFixture

    com.intellij.remoterobot.fixtures.CommonContainerFixture.Companion

    Nested classes/interfaces inherited from interface com.intellij.remoterobot.SearchContext

    com.intellij.remoterobot.SearchContext.DefaultImpls
  • Field Summary

    Fields inherited from class com.intellij.remoterobot.fixtures.CommonContainerFixture

    Companion
  • Constructor Summary

    Constructors
    Constructor
    Description
    ProjectExplorer(com.intellij.remoterobot.RemoteRobot remoteRobot, com.intellij.remoterobot.data.RemoteComponent remoteComponent)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Collapse all
    void
    Expand all
    void
    Hide Project Explorer
    boolean
    Test is a file with given name on given path is available in the project tree
    com.intellij.remoterobot.fixtures.JPopupMenuFixture
    Open context menu on item according to given path
    void
    openFile(String... path)
    Open file according to given path
    com.intellij.remoterobot.fixtures.JPopupMenuFixture
    Open settings popup
    com.intellij.remoterobot.fixtures.JPopupMenuFixture
    Open the 'Views' popup menu
    com.intellij.remoterobot.fixtures.JTreeFixture
    Get the Project View tree fixture
    void
    Locate and select opened file

    Methods inherited from class com.intellij.remoterobot.fixtures.CommonContainerFixture

    actionButton, actionButton, actionButton, actionButtons, actionButtons, actionLink, actionLink, actionLink, actionLinks, browser, browser, browser, browser, button, button, button, buttons, checkBox, checkBox, checkBox, checkBox, checkBoxes, comboBox, comboBox, comboBox, comboBox, comboBoxes, heavyWeightWindow, heavyWeightWindow, heavyWeightWindow, heavyWeightWindow, heavyWeightWindows, heavyWeightWindows, jLabel, jLabel, jLabel, jLabels, jList, jList, jList, jList, jList, jLists, jLists, jMenuBar, jMenuBar, jMenuBar, jMenuBar, jPopupMenu, jPopupMenu, jPopupMenu, jPopupMenu, jPopupMenu, jPopupMenu, jPopupMenus, jPopupMenus, jTree, jTree, jTree, jTree, jTrees, jTrees, radioButton, radioButton, radioButton, radioButtons, textArea, textArea, textArea, textAreas, textEditor, textEditor, textEditor, textEditor, textEditors, textEditors, textField, textField, textField, textField, textFields

    Methods inherited from class com.intellij.remoterobot.fixtures.ContainerFixture

    find, find, find, find, findAll, findAll, getFinder

    Methods inherited from class com.intellij.remoterobot.fixtures.ComponentFixture

    click, click, doubleClick, doubleClick, getBackgroundColor, getForegroundColor, moveMouse, moveMouse, rightClick, rightClick, rightDoubleClick, rightDoubleClick

    Methods inherited from class com.intellij.remoterobot.fixtures.Fixture

    allText, allText, allText, callJs, callJs, execute, execute, execute, extractData, findAllText, findAllText, findAllText, findAllText, findText, findText, getComponentHashCode, getData, getHasFocus, getLocationOnScreen, getRemoteComponent, getRemoteRobot, getScreenshot, hasText, hasText, hasText, isFocusOwner, isShowing, retrieve, retrieve, retrieveData, runJs, runJs, text

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ProjectExplorer

      public ProjectExplorer(@NotNull com.intellij.remoterobot.RemoteRobot remoteRobot, @NotNull com.intellij.remoterobot.data.RemoteComponent remoteComponent)
  • Method Details

    • isItemPresent

      public boolean isItemPresent(String... path)
      Test is a file with given name on given path is available in the project tree
      Parameters:
      path - path to navigate to
      Returns:
      true if the given file exists on the given path in the project
    • openFile

      public void openFile(String... path)
      Open file according to given path
      Parameters:
      path - path to navigate through
    • openContextMenuOn

      public com.intellij.remoterobot.fixtures.JPopupMenuFixture openContextMenuOn(String... path)
      Open context menu on item according to given path
      Parameters:
      path - path to navigate through
      Returns:
      fixture for the context menu
    • openViewsPopup

      public com.intellij.remoterobot.fixtures.JPopupMenuFixture openViewsPopup()
      Open the 'Views' popup menu
      Returns:
      Views popup fixture
    • selectOpenedFile

      public void selectOpenedFile()
      Locate and select opened file
    • expandAll

      public void expandAll()
      Expand all
    • collapseAll

      public void collapseAll()
      Collapse all
    • openSettingsPopup

      public com.intellij.remoterobot.fixtures.JPopupMenuFixture openSettingsPopup()
      Open settings popup
      Returns:
      settings popup fixture
    • hide

      public void hide()
      Hide Project Explorer
    • projectViewTree

      public com.intellij.remoterobot.fixtures.JTreeFixture projectViewTree()
      Get the Project View tree fixture
      Returns:
      Project View tree fixture