@Override public NavDivider createDivider() { return new NavDividerImpl(); } }
public NavWorkbenchCtx setResourceId(String resourceId) { if (resourceId == null) { super.removeProperty(RESOURCE_ID); } else { super.setProperty(RESOURCE_ID, resourceId); } return this; }
public NavWorkbenchCtx addPermission(String permission) { String str = super.getProperty(PERMISSIONS); str = str == null ? permission : str + "," + permission; super.setProperty(PERMISSIONS, str); return this; } }
@Override public void moveItemFirst(String id) { changePosition(id, true, null); }
@Override public NavItem cloneItem() { NavItemImpl clone = new NavItemImpl(); clone.id = this.id; clone.parent = this.parent; clone.name = this.name; clone.description = this.description; clone.modifiable = this.modifiable; clone.context = this.context; return clone; }
public String toString() { return super.toString("DIVIDER"); } }
@Override public NavGroup createNavGroup() { return new NavGroupImpl(); }
@Override public NavTree createNavTree() { return new NavTreeImpl(); }
public NavWorkbenchCtx setNavGroupId(String navGroupId) { if (navGroupId == null) { super.removeProperty(NAV_GROUP_ID); } else { super.setProperty(NAV_GROUP_ID, navGroupId); } return this; }
public NavWorkbenchCtx addPermission(String permission) { String str = super.getProperty(PERMISSIONS); str = str == null ? permission : str + "," + permission; super.setProperty(PERMISSIONS, str); return this; } }
@Override public void moveItemUp(String id) { changePosition(id, true, 1); }
@Override public NavItem cloneItem() { NavDividerImpl clone = new NavDividerImpl(); clone.id = this.id; clone.parent = this.parent; clone.name = this.name; clone.description = this.description; clone.modifiable = this.modifiable; clone.context = this.context; return clone; }
@Override public NavItem cloneItem() { NavItemImpl clone = new NavItemImpl(); clone.id = this.id; clone.parent = this.parent; clone.name = this.name; clone.description = this.description; clone.modifiable = this.modifiable; clone.context = this.context; return clone; }
public NavWorkbenchCtx setResourceId(String resourceId) { if (resourceId == null) { super.removeProperty(RESOURCE_ID); } else { super.setProperty(RESOURCE_ID, resourceId); } return this; }
@Override public void moveItemLast(String id) { changePosition(id, false, null); }
@Override public NavDivider createDivider() { return new NavDividerImpl(); } }
public NavWorkbenchCtx setNavGroupId(String navGroupId) { if (navGroupId == null) { super.removeProperty(NAV_GROUP_ID); } else { super.setProperty(NAV_GROUP_ID, navGroupId); } return this; }
@Override public void moveItemFirst(String id) { changePosition(id, true, null); }
@Override public NavItem cloneItem() { NavDividerImpl clone = new NavDividerImpl(); clone.id = this.id; clone.parent = this.parent; clone.name = this.name; clone.description = this.description; clone.modifiable = this.modifiable; clone.context = this.context; return clone; }
@Override public void moveItemUp(String id) { changePosition(id, true, 1); }