public boolean canDelete(@Nonnull View view) { return !view.isDefault(); // Cannot delete primary view }
/** * Returns the path relative to the context root. * * Doesn't start with '/' but ends with '/' (except returns * empty string when this is the default view). */ public String getUrl() { return isDefault() ? (owner!=null ? owner.getUrl() : "") : getViewUrl(); }
if (last.getObject() instanceof View) { View view = (View) last.getObject(); if (view.getOwner().getItemGroup() == getParent() && !view.isDefault()) {
public boolean canDelete(View view) { return !view.isDefault(); // Cannot delete primary view }
public boolean canDelete(View view) { return !view.isDefault(); // Cannot delete primary view }
public boolean canDelete(View view) { return !view.isDefault(); // Cannot delete primary view }
public boolean canDelete(View view) { return !view.isDefault(); // Cannot delete primary view }
public boolean canDelete(View view) { return !view.isDefault(); // Cannot delete primary view }
public boolean superIsDefault() { return super.isDefault(); }
/** * Returns the path relative to the context root. * * Doesn't start with '/' but ends with '/' (except returns * empty string when this is the default view). */ public String getUrl() { return isDefault() ? "" : getViewUrl(); }
/** * Returns the path relative to the context root. * * Doesn't start with '/' but ends with '/' (except returns * empty string when this is the default view). */ public String getUrl() { return isDefault() ? "" : getViewUrl(); }
/** * Returns the path relative to the context root. * * Doesn't start with '/' but ends with '/' (except returns * empty string when this is the default view). */ public String getUrl() { return isDefault() ? "" : getViewUrl(); }
/** * Returns the path relative to the context root. * * Doesn't start with '/' but ends with '/' (except returns empty string * when this is the default view). */ public String getUrl() { return isDefault() ? "" : getViewUrl(); }
/** * Returns the path relative to the context root. * * Doesn't start with '/' but ends with '/' (except returns * empty string when this is the default view). */ public String getUrl() { return isDefault() ? (owner!=null ? owner.getUrl() : "") : getViewUrl(); }
@Override public boolean isDefault() { initPython(); if (pexec.isImplemented(21)) { return pexec.execPythonBool("is_default"); } else { return super.isDefault(); } }
if (last.getObject() instanceof View) { View view = (View) last.getObject(); if (view.getOwner().getItemGroup() == getParent() && !view.isDefault()) {