Search in sources :

Example 1 with History

use of com.intellij.ui.navigation.History in project android by JetBrains.

the class MainPanel method updateDetailsAndIssues.

private void updateDetailsAndIssues() {
    PsJavaDependency selected = myDependenciesTable.getSelectionIfSingle();
    super.updateDetails(selected);
    updateIssues(selected);
    History history = getHistory();
    if (history != null) {
        history.pushQueryPlace();
    }
}
Also used : PsJavaDependency(com.android.tools.idea.gradle.structure.model.java.PsJavaDependency) History(com.intellij.ui.navigation.History)

Example 2 with History

use of com.intellij.ui.navigation.History in project android by JetBrains.

the class DeclaredDependenciesPanel method updateDetailsAndIssues.

private void updateDetailsAndIssues() {
    if (!mySkipSelectionChangeNotification) {
        notifySelectionChanged();
    }
    PsAndroidDependency selected = getSelection();
    super.updateDetails(selected);
    updateIssues(selected);
    History history = getHistory();
    if (history != null) {
        history.pushQueryPlace();
    }
}
Also used : PsAndroidDependency(com.android.tools.idea.gradle.structure.model.android.PsAndroidDependency) History(com.intellij.ui.navigation.History)

Aggregations

History (com.intellij.ui.navigation.History)2 PsAndroidDependency (com.android.tools.idea.gradle.structure.model.android.PsAndroidDependency)1 PsJavaDependency (com.android.tools.idea.gradle.structure.model.java.PsJavaDependency)1