Package org.jamesii.gui.utils.objecteditor.property

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


      try {
        // check whether parameter is a plugin type
        if (p.getPluginType() != null && p.getPluginType().length() > 0) {
          // check what type of plugintype (string, list, map, etc.) is
          // requested
          IProperty property = null;
          if (List.class.getName().equals(p.getType())) {
            property =
                new ListPluginTypeProperty(p.getName(), SimSystem.getRegistry()
                    .getClassLoader().loadClass(p.getPluginType()));
          } else {
            property =
                new PluginTypeProperty(p.getName(), SimSystem.getRegistry()
                    .getClassLoader().loadClass(p.getPluginType()));
          }

          if (property != null) {
            properties.add(property);
          }
        } else {
          IProperty property =
              new FactoryParameterProperty(p.getName(), SimSystem.getRegistry()
                  .getClassLoader().loadClass(p.getType()));

          properties.add(property);
        }
View Full Code Here

TOP

Related Classes of org.jamesii.gui.utils.objecteditor.property.IProperty

Copyright © 2018 www.massapicom. 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.