use of com.evolveum.midpoint.web.component.breadcrumbs.Breadcrumb in project midpoint by Evolveum.
the class PageBase method redirectBack.
/**
* @param backStep redirects back to page with backStep step
*/
public Breadcrumb redirectBack(int backStep) {
List<Breadcrumb> breadcrumbs = getBreadcrumbs();
if (canRedirectBack(backStep)) {
Breadcrumb breadcrumb = breadcrumbs.get(breadcrumbs.size() - backStep);
redirectBackToBreadcrumb(breadcrumb);
return breadcrumb;
} else if (canRedirectBack(DEFAULT_BREADCRUMB_STEP)) {
Breadcrumb breadcrumb = breadcrumbs.get(breadcrumbs.size() - DEFAULT_BREADCRUMB_STEP);
redirectBackToBreadcrumb(breadcrumb);
return breadcrumb;
} else {
setResponsePage(getMidpointApplication().getHomePage());
return null;
}
}
use of com.evolveum.midpoint.web.component.breadcrumbs.Breadcrumb in project midpoint by Evolveum.
the class PageOrgSelfProfile method createBreadcrumb.
@Override
protected void createBreadcrumb() {
super.createBreadcrumb();
Breadcrumb bc = getLastBreadcrumb();
bc.setIcon(new Model(GuiStyleConstants.CLASS_OBJECT_ORG_ICON));
}
use of com.evolveum.midpoint.web.component.breadcrumbs.Breadcrumb in project midpoint by Evolveum.
the class PageServiceSelfProfile method createBreadcrumb.
@Override
protected void createBreadcrumb() {
super.createBreadcrumb();
Breadcrumb bc = getLastBreadcrumb();
bc.setIcon(new Model(GuiStyleConstants.CLASS_OBJECT_SERVICE_ICON));
}
use of com.evolveum.midpoint.web.component.breadcrumbs.Breadcrumb in project midpoint by Evolveum.
the class PageUserSelfProfile method createBreadcrumb.
@Override
protected void createBreadcrumb() {
super.createBreadcrumb();
Breadcrumb bc = getLastBreadcrumb();
bc.setIcon(new Model(GuiStyleConstants.CLASS_OBJECT_USER_ICON));
}
use of com.evolveum.midpoint.web.component.breadcrumbs.Breadcrumb in project midpoint by Evolveum.
the class PageOrgSelfProfile method createBreadcrumb.
@Override
protected void createBreadcrumb() {
super.createBreadcrumb();
Breadcrumb bc = getLastBreadcrumb();
bc.setIcon(new Model(GuiStyleConstants.CLASS_OBJECT_ORG_ICON));
}
Aggregations