Exemple #1
0
 /**
  * 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;
 }
Exemple #2
0
 @Override
 protected void onModified() throws IOException {
   for (ViewProperty p : this) p.setView(getOwner());
 }