public ViewProperty reconfigure(StaplerRequest req, JSONObject form) throws Descriptor.FormException { return form==null ? null : getDescriptor().newInstance(req, form); } }
/** * Returns all the {@link LabelAtomPropertyDescriptor}s that can be potentially configured * on this label. */ public List<ViewPropertyDescriptor> getApplicablePropertyDescriptors() { List<ViewPropertyDescriptor> r = new ArrayList<ViewPropertyDescriptor>(); for (ViewPropertyDescriptor pd : ViewProperty.all()) { if (pd.isEnabledFor(this)) r.add(pd); } return r; }
@Override protected void onModified() throws IOException { for (ViewProperty p : this) p.setView(getOwner()); } }
public ViewProperty superReconfigure(StaplerRequest req, JSONObject form) throws Descriptor.FormException { return super.reconfigure(req, form); }
@Override public ViewProperty reconfigure(StaplerRequest req, JSONObject form) throws Descriptor.FormException { initPython(); if (pexec.isImplemented(1)) { return (ViewProperty) pexec.execPython("reconfigure", req, form); } else { return super.reconfigure(req, form); } }
public ViewPropertyDescriptor superGetDescriptor() { return super.getDescriptor(); }
/** * Returns all the {@link LabelAtomPropertyDescriptor}s that can be potentially configured * on this label. */ public List<ViewPropertyDescriptor> getApplicablePropertyDescriptors() { List<ViewPropertyDescriptor> r = new ArrayList<ViewPropertyDescriptor>(); for (ViewPropertyDescriptor pd : ViewProperty.all()) { if (pd.isEnabledFor(this)) r.add(pd); } return r; }
@Override protected void onModified() throws IOException { for (ViewProperty p : this) p.setView(getOwner()); } }
public ViewProperty reconfigure(StaplerRequest req, JSONObject form) throws Descriptor.FormException { return form==null ? null : getDescriptor().newInstance(req, form); } }
@Override public ViewPropertyDescriptor getDescriptor() { initPython(); if (pexec.isImplemented(0)) { return (ViewPropertyDescriptor) pexec.execPython("get_descriptor"); } else { return super.getDescriptor(); } }