Class MacroPropertyPanel
- java.lang.Object
-
- com.atlassian.confluence.pageobjects.component.editor.PropertyPanel
-
- com.atlassian.confluence.pageobjects.component.editor.MacroPropertyPanel
-
@Deprecated public class MacroPropertyPanel extends PropertyPanel
Deprecated.in 5.8. UseMacroPropertyPanel
instead from maven modulecom.atlassian.confluence:confluence-webdriver-pageobjects
. See the new README.Represents the property panel for aMacroPlaceholder
.Different to a MacroPlaceholder, the PropertyPanel is not added to the DOM of the wysiwygTextarea_ifr IFrame, but instead to the parent DOM. The PropertyPanel is generated from the <property-panel> declaration in the macro descriptor. It may have been modified on the client side, but it should at least contain the Remove and Edit buttons.
-
-
Field Summary
-
Fields inherited from class com.atlassian.confluence.pageobjects.component.editor.PropertyPanel
propertyPanelElement
-
-
Constructor Summary
Constructors Constructor Description MacroPropertyPanel()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
button(String buttonId)
Deprecated.Locates and clicks the <a> element for a given button id.MacroForm
edit()
Deprecated.Clicks the Edit button common to all generated property panels.com.atlassian.pageobjects.elements.query.TimedCondition
isVisible()
Deprecated.void
remove()
Deprecated.Clicks the Remove button common to all generated property panels.
-
-
-
Method Detail
-
button
public void button(String buttonId)
Deprecated.Locates and clicks the <a> element for a given button id.The CSS class used for the lookup is generated by tinyMce-property-panel-macros.js. The button id is the one taken from the plugin descriptor, e.g.
<xhtml-macro> ... <property-panel> ... <button id="Grey" label=""/> ... </property-panel> ... </xhtml-macro>
means that you'd parametrise this method with Grey (case-sensitive) in order to retrieve the element representing this button.
- Parameters:
buttonId
- the button id
-
remove
public void remove()
Deprecated.Clicks the Remove button common to all generated property panels.Clicking this button will remove the underlying macro placeholder.
-
edit
public MacroForm edit()
Deprecated.Clicks the Edit button common to all generated property panels.Clicking this button will open the Macro editor and remove the underlying macro placeholder.
-
isVisible
public com.atlassian.pageobjects.elements.query.TimedCondition isVisible()
Deprecated.
-
-