Search in sources :

Example 6 with NodePresentation

use of org.eclipse.che.ide.ui.smartTree.presentation.NodePresentation in project che by eclipse.

the class AbstractPresentationNode method getPresentation.

@Override
public NodePresentation getPresentation(boolean update) {
    if (nodePresentation == null) {
        nodePresentation = new NodePresentation();
        updatePresentation(nodePresentation);
    }
    if (update) {
        updatePresentation(nodePresentation);
    }
    return nodePresentation;
}
Also used : NodePresentation(org.eclipse.che.ide.ui.smartTree.presentation.NodePresentation)

Example 7 with NodePresentation

use of org.eclipse.che.ide.ui.smartTree.presentation.NodePresentation in project che by eclipse.

the class SyntheticNode method getPresentation.

/** {@inheritDoc} */
@Override
public final NodePresentation getPresentation(boolean update) {
    if (nodePresentation == null) {
        nodePresentation = new NodePresentation();
        updatePresentation(nodePresentation);
    }
    if (update) {
        updatePresentation(nodePresentation);
    }
    return nodePresentation;
}
Also used : NodePresentation(org.eclipse.che.ide.ui.smartTree.presentation.NodePresentation)

Example 8 with NodePresentation

use of org.eclipse.che.ide.ui.smartTree.presentation.NodePresentation in project che by eclipse.

the class AbstractPresentationNode method getPresentation.

/** {@inheritDoc} */
@Override
public NodePresentation getPresentation(boolean update) {
    if (nodePresentation == null) {
        nodePresentation = new NodePresentation();
        updatePresentation(nodePresentation);
    }
    if (update) {
        updatePresentation(nodePresentation);
    }
    return nodePresentation;
}
Also used : NodePresentation(org.eclipse.che.ide.ui.smartTree.presentation.NodePresentation)

Example 9 with NodePresentation

use of org.eclipse.che.ide.ui.smartTree.presentation.NodePresentation in project che by eclipse.

the class ChangedFolderNode method getPresentation.

@Override
public NodePresentation getPresentation(boolean update) {
    if (nodePresentation == null) {
        nodePresentation = new NodePresentation();
        updatePresentation(nodePresentation);
    }
    if (update) {
        updatePresentation(nodePresentation);
    }
    return nodePresentation;
}
Also used : NodePresentation(org.eclipse.che.ide.ui.smartTree.presentation.NodePresentation)

Example 10 with NodePresentation

use of org.eclipse.che.ide.ui.smartTree.presentation.NodePresentation in project che by eclipse.

the class TestResultClassNode method getPresentation.

@Override
public NodePresentation getPresentation(boolean update) {
    if (nodePresentation == null) {
        nodePresentation = new NodePresentation();
        updatePresentation(nodePresentation);
    }
    if (update) {
        updatePresentation(nodePresentation);
    }
    return nodePresentation;
}
Also used : NodePresentation(org.eclipse.che.ide.ui.smartTree.presentation.NodePresentation)

Aggregations

NodePresentation (org.eclipse.che.ide.ui.smartTree.presentation.NodePresentation)10 ArrayList (java.util.ArrayList)1 AbstractTreeNode (org.eclipse.che.ide.api.data.tree.AbstractTreeNode)1 Node (org.eclipse.che.ide.api.data.tree.Node)1 Resource (org.eclipse.che.ide.api.resources.Resource)1 FileNode (org.eclipse.che.ide.resources.tree.FileNode)1 ResourceNode (org.eclipse.che.ide.resources.tree.ResourceNode)1 NameComparator (org.eclipse.che.ide.ui.smartTree.compare.NameComparator)1