com.atlassian.confluence.pageobjects.page.content
Class Editor
java.lang.Object
com.atlassian.confluence.pageobjects.page.content.Editor
public class Editor
- extends java.lang.Object
Represents a Content Editor panel, including the top and bottom toolbars, but not including things like page titles.
Note that this includes some fields that are only present for blogs, or pages, as well as ones present for comments.
Field Summary |
protected com.atlassian.pageobjects.elements.timeout.Timeouts |
timeouts
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
timeouts
@Inject
protected com.atlassian.pageobjects.elements.timeout.Timeouts timeouts
Editor
public Editor()
showPageLayout2Menu
public PageLayout2Toolbar showPageLayout2Menu()
showSearchAndReplaceMenu
public SearchAndReplaceToolbar showSearchAndReplaceMenu()
isSearchButtonVisible
public com.atlassian.pageobjects.elements.query.TimedCondition isSearchButtonVisible()
clickCancel
public void clickCancel()
openSourceEditor
public void openSourceEditor()
getSourceEditor
public SourceEditor getSourceEditor()
isCancelVisiableNow
public boolean isCancelVisiableNow()
clickSave
public void clickSave()
clickOverwrite
public void clickOverwrite()
getSaveButtonText
public com.atlassian.pageobjects.elements.query.TimedQuery<java.lang.String> getSaveButtonText()
hoverOverSave
public void hoverOverSave()
getToolTip
public com.atlassian.pageobjects.elements.PageElement getToolTip()
setVersionComment
public void setVersionComment(java.lang.String versionCommentText)
openLabelsDialog
public LabelsDialog openLabelsDialog()
openMovePageDialog
public MovePageDialog openMovePageDialog()
isRestrictionsButtonVisible
public boolean isRestrictionsButtonVisible()
openRestrictionsDialog
public PageRestrictionsDialog openRestrictionsDialog()
hasRestrictionsSet
public boolean hasRestrictionsSet()
clickPreview
public EditorPreview clickPreview()
hasDraftStatus
public com.atlassian.pageobjects.elements.query.TimedCondition hasDraftStatus()
hasViewAutosavedChanges
public com.atlassian.pageobjects.elements.query.TimedQuery<java.lang.Boolean> hasViewAutosavedChanges()
hasPreviewContent
@Deprecated
public com.atlassian.pageobjects.elements.query.TimedCondition hasPreviewContent(java.lang.String string)
- Deprecated. since 5.5 use
EditorPreview.containsContent(String)
, which waits for visibility too
and uses pageElements instead of dodgy js.
openDraftChangesDialogFromAutosave
public ViewDraftDiffDialog openDraftChangesDialogFromAutosave()
isQuickEdit
public com.atlassian.pageobjects.elements.query.TimedCondition isQuickEdit()
isDirty
public com.atlassian.pageobjects.elements.query.TimedCondition isDirty()
getLinkPropertyPanel
public LinkPropertyPanel getLinkPropertyPanel()
getContent
public EditorContent getContent()
isReady
public com.atlassian.pageobjects.elements.query.TimedCondition isReady()
clickSaveAndWaitForPageChange
public void clickSaveAndWaitForPageChange()
Copyright © 2003-2014 Atlassian. All Rights Reserved.