|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.pageobjects.page.ConfluenceAbstractPage com.atlassian.confluence.pageobjects.page.content.AbstractEditorPage<T,U>
public abstract class AbstractEditorPage<T extends AbstractViewPage,U extends AbstractEditorPage>
Represents a page that includes an Editor
.
Field Summary |
---|
Fields inherited from class com.atlassian.confluence.pageobjects.page.ConfluenceAbstractPage |
---|
driver, pageBinder, pageElementFinder, timeouts, waiter |
Constructor Summary | |
---|---|
AbstractEditorPage(java.lang.Class<T> classWhenSaving,
java.lang.Class<U> classWhenFailing,
java.lang.String pageMetaIdentifier)
|
Method Summary | |
---|---|
T |
cancel()
|
void |
cancelDoNotBind()
Deprecated. since 5.4 use Editor.clickCancel() . |
void |
clearSessionToken()
|
void |
doWaitUntilTinyMceIsInit()
|
AbstractEditorPage |
edit()
Click edit from the preview screen. |
Breadcrumbs |
getBreadcrumbs()
|
EditorContent |
getContent()
Deprecated. since 5.4 use Editor.getContent() |
Editor |
getEditor()
|
java.util.List<java.lang.String> |
getErrorMessages()
|
ImageBrowserDialog |
getImageBrowserDialog()
|
ImagePropertyPanel |
getImagePropertyPanel()
|
Location |
getLocation()
|
PageLayoutMenu |
getPageLayoutMenu()
Deprecated. since 5.4 don't use this (since 5.2 there is no PageLayoutMenu) |
java.lang.String |
getTitle()
|
com.atlassian.pageobjects.elements.query.TimedCondition |
hasDraftStatus()
Deprecated. since 5.4 use Editor.hasDraftStatus() |
com.atlassian.pageobjects.elements.query.TimedCondition |
hasExistingDraftMessage()
Is a message displayed about there being a pre-existing draft for this page? |
com.atlassian.pageobjects.elements.query.TimedCondition |
hasPreviewContent(java.lang.String string)
Deprecated. since 5.4 use Editor.hasPreviewContent(String) |
boolean |
hasRestrictionsSet()
Deprecated. since 5.4 use Editor.hasRestrictionsSet() |
com.atlassian.pageobjects.elements.query.TimedQuery<java.lang.Boolean> |
hasViewAutosavedChanges()
Deprecated. since 5.4 use Editor.hasViewAutosavedChanges() |
com.atlassian.pageobjects.elements.query.TimedQuery<java.lang.Boolean> |
hasViewPreviousChanges()
|
boolean |
isCancelVisibleNow()
Deprecated. since 5.4 use Editor.isCancelVisiableNow() |
com.atlassian.pageobjects.elements.query.TimedCondition |
isDirty()
Deprecated. since 5.4 use Editor.isDirty() |
boolean |
isPermissionsSet()
Deprecated. Editor.hasRestrictionsSet() |
com.atlassian.pageobjects.elements.query.TimedCondition |
isQuickEdit()
Deprecated. since 5.4 use Editor.isQuickEdit() |
boolean |
isRestrictionsButtonVisible()
Deprecated. since 5.4 use Editor.isRestrictionsButtonVisible() . |
boolean |
isTitleEditable()
|
com.atlassian.pageobjects.elements.query.TimedQuery<java.lang.Boolean> |
isTitleFocused()
|
com.atlassian.pageobjects.elements.query.TimedQuery<java.lang.Boolean> |
isTitleSelected()
|
ViewDraftDiffDialog |
openDraftChangesDialogFromAutosave()
Deprecated. since 5.4 use Editor.openDraftChangesDialogFromAutosave() |
ViewDraftDiffDialog |
openDraftChangesDialogFromWarning()
|
InsertMenu |
openInsertMenu()
|
LabelsDialog |
openLabelsDialog()
Deprecated. since 5.4 use Editor.openLabelsDialog() |
MacroBrowserDialog |
openMacroBrowser()
|
MovePageDialog |
openMovePageDialog()
Deprecated. since 5.4 use Editor.openMovePageDialog() . |
PageRestrictionsDialog |
openRestrictionsDialog()
Deprecated. since 5.4 use Editor.openRestrictionsDialog() |
WikiMarkupDialog |
openWikiMarkupDialog()
|
T |
overwrite()
|
void |
preview()
Deprecated. since 5.4 use Editor.clickPreview() |
T |
save()
|
U |
saveAndExpectToFail()
|
T |
saveWithEnterInVersionComment()
|
ViewPage |
saveWithKeyboardShortcut()
|
AbstractEditorPage<T,U> |
setTitle(java.lang.String title)
|
void |
setVersionComment(java.lang.String versionCommentText)
Deprecated. since 5.4 use Editor.setVersionComment(String) |
PageLayout2Toolbar |
showPageLayout2Menu()
Deprecated. since 5.4 use Editor.showPageLayout2Menu() . |
Methods inherited from class com.atlassian.confluence.pageobjects.page.ConfluenceAbstractPage |
---|
back, doWait, getAlert, getComponent, getHeader, getInlineDialog, getMainHeader, getMetadata, getMetadataLong, getPageHeadingColor, isDarkFeatureEnabled, isLoggedIn, openAddMenu, openBrowseMenu, openHelpMenu, openToolsMenu, openUserMenu, sendKeyboardShortcut, sendKeyboardShortcutAndWaitForCondition, setSetupComplete |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.atlassian.pageobjects.Page |
---|
getUrl |
Constructor Detail |
---|
public AbstractEditorPage(java.lang.Class<T> classWhenSaving, java.lang.Class<U> classWhenFailing, java.lang.String pageMetaIdentifier)
Method Detail |
---|
public void doWaitUntilTinyMceIsInit()
public AbstractEditorPage<T,U> setTitle(java.lang.String title)
public java.lang.String getTitle()
@Deprecated public EditorContent getContent()
Editor.getContent()
public Editor getEditor()
@Deprecated public PageLayoutMenu getPageLayoutMenu()
@Deprecated public PageLayout2Toolbar showPageLayout2Menu()
Editor.showPageLayout2Menu()
.
public Location getLocation()
public T cancel()
@Deprecated public void cancelDoNotBind()
Editor.clickCancel()
.
@Deprecated public boolean isCancelVisibleNow()
Editor.isCancelVisiableNow()
public T save()
public T overwrite()
public U saveAndExpectToFail()
public boolean isTitleEditable()
@Deprecated public void setVersionComment(java.lang.String versionCommentText)
Editor.setVersionComment(String)
public T saveWithEnterInVersionComment()
public ViewPage saveWithKeyboardShortcut()
public void clearSessionToken()
public ImagePropertyPanel getImagePropertyPanel()
public ImageBrowserDialog getImageBrowserDialog()
public java.util.List<java.lang.String> getErrorMessages()
public MacroBrowserDialog openMacroBrowser()
public WikiMarkupDialog openWikiMarkupDialog()
public InsertMenu openInsertMenu()
@Deprecated public LabelsDialog openLabelsDialog()
Editor.openLabelsDialog()
public Breadcrumbs getBreadcrumbs()
@Deprecated public MovePageDialog openMovePageDialog()
Editor.openMovePageDialog()
.
@Deprecated public boolean isRestrictionsButtonVisible()
Editor.isRestrictionsButtonVisible()
.
@Deprecated public PageRestrictionsDialog openRestrictionsDialog()
Editor.openRestrictionsDialog()
@Deprecated public boolean hasRestrictionsSet()
Editor.hasRestrictionsSet()
@Deprecated public void preview()
Editor.clickPreview()
public com.atlassian.pageobjects.elements.query.TimedCondition hasDraftStatus()
Editor.hasDraftStatus()
@Deprecated public com.atlassian.pageobjects.elements.query.TimedQuery<java.lang.Boolean> hasViewAutosavedChanges()
Editor.hasViewAutosavedChanges()
public com.atlassian.pageobjects.elements.query.TimedQuery<java.lang.Boolean> hasViewPreviousChanges()
@Deprecated public com.atlassian.pageobjects.elements.query.TimedCondition hasPreviewContent(java.lang.String string)
Editor.hasPreviewContent(String)
Editor.clickPreview()
, does the preview display the given string.
public com.atlassian.pageobjects.elements.query.TimedCondition hasExistingDraftMessage()
public ViewDraftDiffDialog openDraftChangesDialogFromWarning()
@Deprecated public ViewDraftDiffDialog openDraftChangesDialogFromAutosave()
Editor.openDraftChangesDialogFromAutosave()
@Deprecated public com.atlassian.pageobjects.elements.query.TimedCondition isQuickEdit()
Editor.isQuickEdit()
@Deprecated public com.atlassian.pageobjects.elements.query.TimedCondition isDirty()
Editor.isDirty()
public AbstractEditorPage edit()
public com.atlassian.pageobjects.elements.query.TimedQuery<java.lang.Boolean> isTitleFocused()
public com.atlassian.pageobjects.elements.query.TimedQuery<java.lang.Boolean> isTitleSelected()
@Deprecated public boolean isPermissionsSet()
Editor.hasRestrictionsSet()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |