com.atlassian.confluence.pageobjects.component.dialog
Class MacroBrowserDialog

java.lang.Object
  extended by com.atlassian.confluence.pageobjects.component.ConfluenceAbstractPageComponent
      extended by com.atlassian.confluence.pageobjects.component.dialog.AbstractDialog
          extended by com.atlassian.confluence.pageobjects.component.dialog.Dialog
              extended by com.atlassian.confluence.pageobjects.component.dialog.MacroBrowserDialog
All Implemented Interfaces:
PageComponent

public class MacroBrowserDialog
extends Dialog


Field Summary
static java.lang.String BROWSE_MACROS_TITLE
           
static java.lang.String ID
           
 
Fields inherited from class com.atlassian.confluence.pageobjects.component.dialog.AbstractDialog
id
 
Fields inherited from class com.atlassian.confluence.pageobjects.component.ConfluenceAbstractPageComponent
driver, frameExecutor, pageBinder, pageElementFinder, timeouts, waiter
 
Constructor Summary
MacroBrowserDialog()
           
 
Method Summary
 void clickBack()
           
 void clickSave()
           
 java.lang.String getEditMacroTitle(java.lang.String macroTitle)
           
 java.lang.String getInsertMacroTitle(java.lang.String macroTitle)
           
 com.atlassian.pageobjects.elements.query.TimedCondition isMacroVisible(Macro.Category category, java.lang.String macroName)
           
 com.atlassian.pageobjects.elements.query.TimedCondition isSelectedCategory(Macro.Category category)
           
 java.lang.Iterable<MacroItem> searchFor(java.lang.String text)
           
 MacroItem searchForFirst(java.lang.String text)
          Returns the first item matching macro search text.
 void selectCategory(Macro.Category category)
           
 void selectEnter()
           
 MacroForm selectMacro(Macro.Category category, java.lang.String macroName)
           
 MacroForm selectMacro(java.lang.String macro)
           
 void selectReturn()
           
 
Methods inherited from class com.atlassian.confluence.pageobjects.component.dialog.Dialog
clickButton, clickCancel, clickCancelAndWaitUntilClosed, clickLink, clickPageMenu, find, findAll, getTitle, hasButton, hasLink, hasPageMenu, isButtonDisabled
 
Methods inherited from class com.atlassian.confluence.pageobjects.component.dialog.AbstractDialog
getDialog, getId, isVisible, isVisibleTimed, pressEscape, pressEscapeOnly, waitForRemoval, waitUntilHidden, waitUntilVisible
 
Methods inherited from class com.atlassian.confluence.pageobjects.component.ConfluenceAbstractPageComponent
getComponent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ID

public static final java.lang.String ID
See Also:
Constant Field Values

BROWSE_MACROS_TITLE

public static final java.lang.String BROWSE_MACROS_TITLE
See Also:
Constant Field Values
Constructor Detail

MacroBrowserDialog

public MacroBrowserDialog()
Method Detail

searchFor

public java.lang.Iterable<MacroItem> searchFor(java.lang.String text)

searchForFirst

public MacroItem searchForFirst(java.lang.String text)
Returns the first item matching macro search text. Should be fairly safe if the search text is the macro name.


selectMacro

public MacroForm selectMacro(java.lang.String macro)

isSelectedCategory

public com.atlassian.pageobjects.elements.query.TimedCondition isSelectedCategory(Macro.Category category)

selectCategory

public void selectCategory(Macro.Category category)

selectMacro

public MacroForm selectMacro(Macro.Category category,
                             java.lang.String macroName)

isMacroVisible

public com.atlassian.pageobjects.elements.query.TimedCondition isMacroVisible(Macro.Category category,
                                                                              java.lang.String macroName)

selectReturn

public void selectReturn()

selectEnter

public void selectEnter()

clickSave

public void clickSave()

clickBack

public void clickBack()

getInsertMacroTitle

public java.lang.String getInsertMacroTitle(java.lang.String macroTitle)

getEditMacroTitle

public java.lang.String getEditMacroTitle(java.lang.String macroTitle)


Copyright © 2003-2014 Atlassian. All Rights Reserved.