Package org.eclipse.wb.internal.core.model.nonvisual

Examples of org.eclipse.wb.internal.core.model.nonvisual.ArrayObjectInfo


            + "[] { }");
    ArrayCreation arrayCreation = (ArrayCreation) DomGenerics.arguments(methodInvocation).get(0);
    Class<?> itemClass =
        ReflectionUtils.getClassByName(EditorState.get(editor).getEditorLoader(), itemClassName);
    // create "arrayInfo"
    ArrayObjectInfo arrayInfo = new ArrayObjectInfo(editor, methodName, itemClass, arrayCreation);
    containerInfo.addChild(arrayInfo);
    // configure "arrayInfo"
    {
      ParameterDescription parameterDescription =
          containerInfo.getDescription().getMethod(methodName + "(" + itemClassName + "[])").getParameter(
              0);
      arrayInfo.setRemoveOnEmpty(parameterDescription.hasTrueTag(AbstractArrayObjectInfo.REMOVE_ON_EMPTY_TAG));
      arrayInfo.setHideInTree(parameterDescription.hasTrueTag(AbstractArrayObjectInfo.HIDE_IN_TREE_TAG));
    }
    return arrayInfo;
  }
View Full Code Here

TOP

Related Classes of org.eclipse.wb.internal.core.model.nonvisual.ArrayObjectInfo

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.