Package com.python.pydev.ui.hierarchy

Examples of com.python.pydev.ui.hierarchy.TreeNode


public final class ShowOutlineLabelProvider extends LabelProvider implements IStyledLabelProvider {

    public Image getImage(Object element) {
        SimpleNode n = null;
        if (element instanceof TreeNode) {
            @SuppressWarnings("rawtypes")
            TreeNode treeNode = (TreeNode) element;
            element = treeNode.data;
        }
        if (element instanceof OutlineEntry) {
            n = ((OutlineEntry) element).node;
View Full Code Here


        return null;
    }

    public String getText(Object element) {
        if (element instanceof TreeNode) {
            @SuppressWarnings("rawtypes")
            TreeNode treeNode = (TreeNode) element;
            element = treeNode.data;
        }
        if (element instanceof OutlineEntry) {
            OutlineEntry entry = (OutlineEntry) element;
View Full Code Here

        return element.toString();
    }

    public StyledString getStyledText(Object element) {
        if (element instanceof TreeNode) {
            @SuppressWarnings("rawtypes")
            TreeNode treeNode = (TreeNode) element;
            element = treeNode.data;
        }
        if (element instanceof OutlineEntry) {
            OutlineEntry entry = (OutlineEntry) element;
View Full Code Here

TOP

Related Classes of com.python.pydev.ui.hierarchy.TreeNode

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.