} else if (writeRight == 0) {
MessageBox.alert(constants.notEnoughRights(), constants.notEnoughRightsToSaveView(), null);
}
}
private final String[] getViewNames() {
ViewBrowser viewBrowser = (ViewBrowser) Registry.get(ViewBrowser.ID);
String[] names = null;
try{
XView[] views = viewBrowser.getViews();
names = new String[views.length];
for(int i = 0; i < views.length; ++i) {
if (views[i] == null || views[i].getName() == null) {
names[i] = constants.deletedView();
} else {