use of com.intellij.ui.treeStructure.NullNode in project intellij-community by JetBrains.
the class SelectExternalTaskDialog method doOKAction.
@Override
protected void doOKAction() {
SimpleNode node = getSelectedNode();
if (node instanceof NullNode)
node = null;
myResult = node instanceof TaskNode ? Pair.create(((TaskNode) node).getModuleOwnerName(), ((TaskNode) node).getData()) : null;
super.doOKAction();
}
use of com.intellij.ui.treeStructure.NullNode in project intellij-community by JetBrains.
the class SelectExternalProjectDialog method doOKAction.
@Override
protected void doOKAction() {
SimpleNode node = getSelectedNode();
if (node instanceof NullNode)
node = null;
myResult = node instanceof ProjectNode ? ((ProjectNode) node).getData() : null;
super.doOKAction();
}
use of com.intellij.ui.treeStructure.NullNode in project intellij-community by JetBrains.
the class SelectMavenGoalDialog method doOKAction.
@Override
protected void doOKAction() {
SimpleNode node = getSelectedNode();
if (node instanceof NullNode)
node = null;
myResult = node instanceof MavenProjectsStructure.GoalNode ? ((MavenProjectsStructure.GoalNode) node) : null;
super.doOKAction();
}
use of com.intellij.ui.treeStructure.NullNode in project intellij-community by JetBrains.
the class SelectMavenProjectDialog method doOKAction.
@Override
protected void doOKAction() {
SimpleNode node = getSelectedNode();
if (node instanceof NullNode)
node = null;
myResult = node instanceof MavenProjectsStructure.ProjectNode ? ((MavenProjectsStructure.ProjectNode) node).getMavenProject() : null;
super.doOKAction();
}
Aggregations