Package org.openbp.core.engine.debugger

Examples of org.openbp.core.engine.debugger.ObjectMemberInfo


      {
        type = type.substring(10);
      }
    }

    ObjectMemberInfo member = new ObjectMemberInfo();
    member.setKey(key);
    member.setType(type);
    member.setToStringValue(toStringValue);
    member.setParentMember(isParent);

    return member;
  }
View Full Code Here


   * @return The member info
   */
  private ObjectMemberInfo createEtcMember()
  {
    // Create a dummy object that is a leaf node
    return new ObjectMemberInfo("...", "...", "...", false);
  }
View Full Code Here

      InspectorNode node = (InspectorNode) treeTable.getNodeByPath(path);
      if (node != null)
      {
        node.loadValueDetails();

        ObjectMemberInfo info = node.getInfo();
        String value = info.getToStringValue();
        if (value != null)
        {
          String title = info.getKey() + " (" + info.getType() + ")";
          String text = TextUtil.convertToHTML(new String [] { title, value }, true, -1, -1);
          fireEvent(new JaspiraEvent(this, "plugin.infopanel.setinfotext", text));
        }
        else
        {
View Full Code Here

        if (path != null)
        {
          InspectorNode node = (InspectorNode) path.getLastPathComponent();

          // Determine the type
          ObjectMemberInfo info = node.getInfo();
          if (info != null)
          {
            String iconName;

            String type = info.getType();
            if (type != null)
            {
              // Hack: Complex types look like "/Bugscape/UserInfo (compiled)"
              // We search for the space to determine if it is one
              int index = type.indexOf(' ');
View Full Code Here

    Vector childrenList = new Vector();

    int n = list.size();
    for (int i = 0; i < n; ++i)
    {
      ObjectMemberInfo childInfo = (ObjectMemberInfo) list.get(i);
      String key = childInfo.getKey();

      String cp = null;
      String ex = null;

      if (contextPath == null)
View Full Code Here

      return;

    try
    {
      // Get the members of this object
      ObjectMemberInfo valueInfo = debuggerService.getObjectValue(clientId, contextPath, expression);
      if (info != null && valueInfo != null)
      {
        info.setToStringValue(valueInfo.getToStringValue());
      }
    }
    catch (OpenBPException e)
    {
      LogUtil.error(getClass(), "Error while connecting to the debugger service.", e);
View Full Code Here

TOP

Related Classes of org.openbp.core.engine.debugger.ObjectMemberInfo

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.