public class BreadcrumbsController.PopupController extends java.lang.Object implements IConfirmationDialogController
canLeave
methods. One for
forward navigation by the three navigati shortcut links and one for backward navigation by the back button and
history menu.Constructor and Description |
---|
BreadcrumbsController.PopupController() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
cancelPressed()
Defines the action handler for the Cancel pressed event.
|
java.lang.String |
canLeave(java.lang.String nextOutcome,
com.liferay.portal.model.BaseModel<?> nextInput)
This method initializes the controller for backward navigation.
|
boolean |
isPopupVisible()
If the controller returns true the associated confirmation dialog is shown, otherwise it is hidden.
|
java.lang.String |
okPressed()
Defines the action handler for the OK pressed event.
|
void |
setPopupVisible(boolean value)
Sets the popup visible.
|
public BreadcrumbsController.PopupController()
public boolean isPopupVisible()
isPopupVisible
in interface IOkCancelDialog
public void setPopupVisible(boolean value)
value
- the new popup visiblepublic java.lang.String okPressed()
okPressed
in interface IOkCancelDialog
public java.lang.String cancelPressed()
cancelPressed
in interface IOkCancelDialog
public java.lang.String canLeave(java.lang.String nextOutcome, com.liferay.portal.model.BaseModel<?> nextInput)
canLeave
in interface IConfirmationDialogController
nextOutcome
- the view id of the next pagenextInput
- the editor input for the view being navigated to