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.CommonContainerFixtureProject Explorer fixture
-
-
Constructor Summary
Constructors Constructor Description ProjectExplorer(com.intellij.remoterobot.RemoteRobot remoteRobot, com.intellij.remoterobot.data.RemoteComponent remoteComponent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcollapseAll()Collapse allvoidexpandAll()Expand allvoidhide()Hide Project ExplorerbooleanisItemPresent(java.lang.String... path)Test is a file with given name on given path is available in the project treecom.intellij.remoterobot.fixtures.JPopupMenuFixtureopenContextMenuOn(java.lang.String... path)Open context menu on item according to given pathvoidopenFile(java.lang.String... path)Open file according to given pathcom.intellij.remoterobot.fixtures.JPopupMenuFixtureopenSettingsPopup()Open settings popupcom.intellij.remoterobot.fixtures.JPopupMenuFixtureopenViewsPopup()Open the 'Views' popup menucom.intellij.remoterobot.fixtures.JTreeFixtureprojectViewTree()Get the Project View tree fixturevoidselectOpenedFile()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
-
-
-
-
Method Detail
-
isItemPresent
public boolean isItemPresent(java.lang.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(java.lang.String... path)
Open file according to given path- Parameters:
path- path to navigate through
-
openContextMenuOn
public com.intellij.remoterobot.fixtures.JPopupMenuFixture openContextMenuOn(java.lang.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
-
-