Examples of IWidgetPropertyDescriptor


Examples of org.dyno.visual.swing.plugin.spi.IWidgetPropertyDescriptor

      property.setBean(bean);
    }
  }
 
  public boolean isPropertyResettable(Object id) {
    IWidgetPropertyDescriptor property = propertyMap.get(id);
    return property != null && property.isPropertyResettable(bean);
  }
View Full Code Here

Examples of org.dyno.visual.swing.plugin.spi.IWidgetPropertyDescriptor

    return property != null && property.isPropertyResettable(bean);
  }

 
  public boolean isPropertySet(Object id) {
    IWidgetPropertyDescriptor property = propertyMap.get(id);
    return property != null && property.isPropertySet(lnfClassname, bean);
  }
View Full Code Here

Examples of org.dyno.visual.swing.plugin.spi.IWidgetPropertyDescriptor

    return properties;
  }

 
  public Object getPropertyValue(Object id) {
    IWidgetPropertyDescriptor property = propertyMap.get(id);
    return property == null ? null : property.getPropertyValue(bean);
  }
View Full Code Here

Examples of org.dyno.visual.swing.plugin.spi.IWidgetPropertyDescriptor

    return property == null ? null : property.getPropertyValue(bean);
  }

 
  public void resetPropertyValue(Object id) {
    IWidgetPropertyDescriptor property = propertyMap.get(id);
    if (property != null)
      property.resetPropertyValue(lnfClassname, bean);
  }
View Full Code Here

Examples of org.dyno.visual.swing.plugin.spi.IWidgetPropertyDescriptor

      property.resetPropertyValue(lnfClassname, bean);
  }

 
  public void setPropertyValue(Object id, Object value) {
    IWidgetPropertyDescriptor property = propertyMap.get(id);
    if (property != null){
      if(value!=null&&value instanceof IStructuredSelection){
        IStructuredSelection iss = (IStructuredSelection)value;
        if(!iss.isEmpty()){
          value=iss.getFirstElement();
        }else{
          value=null;
        }
      }       
      property.setPropertyValue(bean, value);
    }
  }
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.