Package com.salesforce.ide.ui.editors.apex.assistance

Examples of com.salesforce.ide.ui.editors.apex.assistance.ApexObject


                        && XmlConstants.ELEM_TYPE.equals(typeNode.getLocalName())) {
                    String objectName =
                            typeNode.getAttributes().getNamedItem(XmlConstants.ATTR_NAME).getNodeValue().toUpperCase();
                    String uniformName = Utils.capFirstLetterAndLetterAfterToken(objectName, ".", true);
                    if (objects.containsKey(uniformName)) {
                        ApexObject object = objects.get(uniformName);
                        object.loadObject(typeNode);
                    } else {
                        objects.put(uniformName, new ApexObject(namespace, typeNode));
                        if (uniformName.startsWith("System.")) {
                            objects.put(uniformName.substring(uniformName.indexOf(".")+1), new ApexObject(namespace, typeNode));
                        }
                    }
                }
            }
        }
View Full Code Here


        return objects;
    }

    public ApexObject getObject(String objectName) {
        String uniformName = Utils.capFirstLetterAndLetterAfterToken(objectName, ".", true);
        ApexObject object = objects.get(uniformName);
        if (object == null) {
            object = objects.get(objectName);
        }
        return object;
    }
View Full Code Here

TOP

Related Classes of com.salesforce.ide.ui.editors.apex.assistance.ApexObject

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.