Class ProjectExplorer
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.CompanionNested 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
ConstructorsConstructorDescriptionProjectExplorer(com.intellij.remoterobot.RemoteRobot remoteRobot, com.intellij.remoterobot.data.RemoteComponent remoteComponent) -
Method Summary
Modifier and TypeMethodDescriptionvoidCollapse allvoidExpand allvoidhide()Hide Project ExplorerbooleanisItemPresent(String... path) Test is a file with given name on given path is available in the project treecom.intellij.remoterobot.fixtures.JPopupMenuFixtureopenContextMenuOn(String... path) Open context menu on item according to given pathvoidOpen file according to given pathcom.intellij.remoterobot.fixtures.JPopupMenuFixtureOpen settings popupcom.intellij.remoterobot.fixtures.JPopupMenuFixtureOpen the 'Views' popup menucom.intellij.remoterobot.fixtures.JTreeFixtureGet the Project View tree fixturevoidLocate and select opened fileMethods 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, textFieldsMethods inherited from class com.intellij.remoterobot.fixtures.ContainerFixture
find, find, find, find, findAll, findAll, getFinderMethods inherited from class com.intellij.remoterobot.fixtures.ComponentFixture
click, click, doubleClick, doubleClick, getBackgroundColor, getForegroundColor, moveMouse, moveMouse, rightClick, rightClick, rightDoubleClick, rightDoubleClickMethods 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
-
Constructor Details
-
ProjectExplorer
public ProjectExplorer(@NotNull com.intellij.remoterobot.RemoteRobot remoteRobot, @NotNull com.intellij.remoterobot.data.RemoteComponent remoteComponent)
-
-
Method Details
-
isItemPresent
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
Open file according to given path- Parameters:
path- path to navigate through
-
openContextMenuOn
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
-