]>
git.argeo.org Git - lgpl/argeo-commons.git/blob - cms/ui/util/MenuLink.java
1 package org
.argeo
.cms
.ui
.util
;
3 import org
.argeo
.cms
.swt
.CmsStyles
;
6 * Convenience class setting the custom style {@link CmsStyles#CMS_MENU_LINK} on
7 * a {@link CmsLink} when simple menus are used.
9 public class MenuLink
extends CmsLink
{
11 setCustom(CmsStyles
.CMS_MENU_LINK
);
14 public MenuLink(String label
, String target
, String custom
) {
15 super(label
, target
, custom
);
18 public MenuLink(String label
, String target
) {
19 super(label
, target
, CmsStyles
.CMS_MENU_LINK
);