Examples of IProperty


Examples of helma.objectmodel.IProperty

        // no need to make properties of virtual nodes persistable
        if (state == VIRTUAL) return;

        for (Enumeration e = properties(); e.hasMoreElements();) {
            String propname = (String) e.nextElement();
            IProperty next = get(propname);

            if (next == null || next.getType() != IProperty.NODE) {
                continue;
            }

            // check if this property actually needs to be persisted.
            Node node = (Node) next.getNodeValue();
            Relation rel = null;

            if (node == null || node == this) {
                continue;
            }

            rel = dbmap == null ? null : dbmap.getExactPropertyRelation(next.getName());
            if (rel != null && rel.isVirtual() && !rel.needsPersistence()) {
                convertToVirtual(node);
            } else {
                node.makePersistable();
                if (rel != null && rel.isComplexReference()) {
View Full Code Here

Examples of org.eclipse.e4.xwt.metadata.IProperty

    IBaseLabelProvider labelProvider = viewer.getLabelProvider();
    return (labelProvider == null || labelProvider.getClass() == DefaultViewerLabelProvider.class);
  }

  protected Class<?> getElementType() {
    IProperty property = getDelegate();
    Class<?> type = property.getType();
    if (type == null) {
      return Object.class;
    }
    if (type.isArray()) {
      return type.getComponentType();
View Full Code Here

Examples of org.jamesii.gui.utils.objecteditor.property.IProperty

    if (list == null) {
      return null;
    }
    try {
      IProperty descriptor = list.get(index);

      PropertyHelper p =
          new PropertyHelper(v == null ? null : descriptor.getValue(v),
              descriptor, parent);

      // also sort out properties that could cause loops in the tree
      // introduce special property flag saying Ommited which can have
      // no
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.