Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cd08fa7
commit aef78d7
Showing
3 changed files
with
45 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/menu/AdditionalMenuItem.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package com.evolveum.midpoint.web.component.menu; | ||
|
||
import com.evolveum.midpoint.gui.api.page.PageBase; | ||
import org.apache.wicket.model.IModel; | ||
|
||
/** | ||
* Created by Kate on 19.09.2016. | ||
*/ | ||
public class AdditionalMenuItem extends MainMenuItem { | ||
private String targetUrl; | ||
|
||
public AdditionalMenuItem(String iconClass, IModel<String> name, String targetUrl, Class<? extends PageBase> page) { | ||
super(iconClass, name, page, null); | ||
this.targetUrl = targetUrl; | ||
} | ||
|
||
public String getTargetUrl() { | ||
return targetUrl; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters