Examples of GetAccessProperty


Examples of org.dyno.visual.swing.adapter.GetAccessProperty

    if (object instanceof WidgetSelection) {
      WidgetSelection selection = (WidgetSelection) object;
      if (!isRoot() && selection.size() == 1) {
        propdesc.add(new BeanNameProperty(this));
        propdesc.add(new FieldAccessProperty(this));
        propdesc.add(new GetAccessProperty(this));
      }
      IWidgetPropertyDescriptor[] properties = propdesc.toArray(new IWidgetPropertyDescriptor[propdesc.size()]);
      String lnfClassname = null;
      if (!selection.isEmpty()) {
        lnfClassname = getLnfClassname();
      }
      return new PropertySource2(lnfClassname, selection, properties);
    } else {
      if (!isRoot()) {
        propdesc.add(new BeanNameProperty(this));
        propdesc.add(new FieldAccessProperty(this));
        propdesc.add(new GetAccessProperty(this));
      }
      IWidgetPropertyDescriptor[] properties = propdesc.toArray(new IWidgetPropertyDescriptor[propdesc.size()]);
      return new PropertySource2(getLnfClassname(), new StructuredSelection(new Object[] { object }), properties);
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.