Search in sources :

Example 6 with PipelineRunNode

use of com.redhat.devtools.intellij.tektoncd.tree.PipelineRunNode in project intellij-tekton by redhat-developer.

the class StartAction method refreshTreeNode.

private void refreshTreeNode(AnActionEvent anActionEvent, ParentableNode element) {
    ParentableNode nodeToRefresh = element;
    if (element instanceof PipelineRunNode || element instanceof TaskRunNode) {
        nodeToRefresh = (ParentableNode) element.getParent();
    }
    ((TektonTreeStructure) getTree(anActionEvent).getClientProperty(Constants.STRUCTURE_PROPERTY)).fireModified(nodeToRefresh);
}
Also used : ParentableNode(com.redhat.devtools.intellij.tektoncd.tree.ParentableNode) TektonTreeStructure(com.redhat.devtools.intellij.tektoncd.tree.TektonTreeStructure) TaskRunNode(com.redhat.devtools.intellij.tektoncd.tree.TaskRunNode) PipelineRunNode(com.redhat.devtools.intellij.tektoncd.tree.PipelineRunNode)

Aggregations

PipelineRunNode (com.redhat.devtools.intellij.tektoncd.tree.PipelineRunNode)6 TaskRunNode (com.redhat.devtools.intellij.tektoncd.tree.TaskRunNode)5 IOException (java.io.IOException)5 ParentableNode (com.redhat.devtools.intellij.tektoncd.tree.ParentableNode)3 PipelineNode (com.redhat.devtools.intellij.tektoncd.tree.PipelineNode)2 TaskNode (com.redhat.devtools.intellij.tektoncd.tree.TaskNode)2 ActionMessage (com.redhat.devtools.intellij.telemetry.core.service.TelemetryMessageBuilder.ActionMessage)2 Notification (com.intellij.notification.Notification)1 Pair (com.intellij.openapi.util.Pair)1 Tkn (com.redhat.devtools.intellij.tektoncd.tkn.Tkn)1 ClusterTaskNode (com.redhat.devtools.intellij.tektoncd.tree.ClusterTaskNode)1 ClusterTasksNode (com.redhat.devtools.intellij.tektoncd.tree.ClusterTasksNode)1 ClusterTriggerBindingNode (com.redhat.devtools.intellij.tektoncd.tree.ClusterTriggerBindingNode)1 ClusterTriggerBindingsNode (com.redhat.devtools.intellij.tektoncd.tree.ClusterTriggerBindingsNode)1 ConditionNode (com.redhat.devtools.intellij.tektoncd.tree.ConditionNode)1 ConditionsNode (com.redhat.devtools.intellij.tektoncd.tree.ConditionsNode)1 EventListenerNode (com.redhat.devtools.intellij.tektoncd.tree.EventListenerNode)1 EventListenersNode (com.redhat.devtools.intellij.tektoncd.tree.EventListenersNode)1 PipelineRunsNode (com.redhat.devtools.intellij.tektoncd.tree.PipelineRunsNode)1 PipelinesNode (com.redhat.devtools.intellij.tektoncd.tree.PipelinesNode)1