|
|
|
@ -9,6 +9,10 @@ public class TabPanelsVM
|
|
|
|
|
private boolean showCentre;
|
|
|
|
|
private boolean showWorkgroup;
|
|
|
|
|
private boolean showAll;
|
|
|
|
|
private boolean selectMy;
|
|
|
|
|
private boolean selectCentre;
|
|
|
|
|
private boolean selectWorkgroup;
|
|
|
|
|
private boolean selectAll;
|
|
|
|
|
|
|
|
|
|
@Init
|
|
|
|
|
public void init()
|
|
|
|
@ -16,6 +20,11 @@ public class TabPanelsVM
|
|
|
|
|
showCentre = true;
|
|
|
|
|
showWorkgroup = true;
|
|
|
|
|
showAll = true;
|
|
|
|
|
|
|
|
|
|
selectMy = true;
|
|
|
|
|
selectCentre = false;
|
|
|
|
|
selectWorkgroup = false;
|
|
|
|
|
selectAll = false;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@GlobalCommand
|
|
|
|
@ -39,6 +48,27 @@ public class TabPanelsVM
|
|
|
|
|
showAll = false;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@GlobalCommand
|
|
|
|
|
@NotifyChange("selectCentre")
|
|
|
|
|
public void selectCentre() {
|
|
|
|
|
selectMy = false;
|
|
|
|
|
selectCentre = true;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@GlobalCommand
|
|
|
|
|
@NotifyChange("selectWorkgroup")
|
|
|
|
|
public void selectWorkgroup() {
|
|
|
|
|
selectMy = false;
|
|
|
|
|
selectWorkgroup = true;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@GlobalCommand
|
|
|
|
|
@NotifyChange("selectAll")
|
|
|
|
|
public void selectAll() {
|
|
|
|
|
selectMy = false;
|
|
|
|
|
selectAll = true;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public boolean isShowCentre()
|
|
|
|
|
{
|
|
|
|
|
return showCentre;
|
|
|
|
@ -53,4 +83,21 @@ public class TabPanelsVM
|
|
|
|
|
{
|
|
|
|
|
return showAll;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public boolean isSelectMy() {
|
|
|
|
|
return selectMy;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public boolean isSelectCentre() {
|
|
|
|
|
return selectCentre;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public boolean isSelectWorkgroup() {
|
|
|
|
|
return selectWorkgroup;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public boolean isSelectAll() {
|
|
|
|
|
return selectAll;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|