Package org.python.pydev.refactoring.ast.adapters

Examples of org.python.pydev.refactoring.ast.adapters.PropertyTextAdapter


    }

    @Override
    public Object[] getChildren() {
        List<ITreeNode> children = new ArrayList<ITreeNode>();
        children.add(new TreeNodeSimple<PropertyTextAdapter>(this, new PropertyTextAdapter(PropertyTextAdapter.GETTER,
                Messages.generatePropertiesGetter)));
        children.add(new TreeNodeSimple<PropertyTextAdapter>(this, new PropertyTextAdapter(PropertyTextAdapter.SETTER,
                Messages.generatePropertiesSetter)));
        children.add(new TreeNodeSimple<PropertyTextAdapter>(this, new PropertyTextAdapter(PropertyTextAdapter.DELETE,
                Messages.generatePropertiesDelete)));
        children.add(new TreeNodeSimple<PropertyTextAdapter>(this, new PropertyTextAdapter(
                PropertyTextAdapter.DOCSTRING, Messages.generatePropertiesDocString)));
        return children.toArray();
    }
View Full Code Here


            attributes.add(clazz.getAttributes().get(index));
        }

        List<PropertyTextAdapter> properties = new ArrayList<PropertyTextAdapter>();
        for (int elem : methodSelection) {
            properties.add(new PropertyTextAdapter(elem, ""));
        }

        List<GeneratePropertiesRequest> requests = new ArrayList<GeneratePropertiesRequest>();
        GeneratePropertiesRequest req;
        for (INodeAdapter elem : attributes) {
View Full Code Here

TOP

Related Classes of org.python.pydev.refactoring.ast.adapters.PropertyTextAdapter

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.