Search in sources :

Example 1 with AndroidSelectorDialog

use of importre.intellij.android.selector.form.AndroidSelectorDialog in project android-selector-intellij-plugin by importre.

the class AndroidSelector method actionPerformed.

@Override
public void actionPerformed(AnActionEvent e) {
    final VirtualFile dir = e.getData(LangDataKeys.VIRTUAL_FILE);
    if (dir == null) {
        return;
    }
    Project project = e.getProject();
    AndroidSelectorDialog dialog = new AndroidSelectorDialog(project, dir);
    dialog.show();
}
Also used : VirtualFile(com.intellij.openapi.vfs.VirtualFile) Project(com.intellij.openapi.project.Project) AndroidSelectorDialog(importre.intellij.android.selector.form.AndroidSelectorDialog)

Aggregations

Project (com.intellij.openapi.project.Project)1 VirtualFile (com.intellij.openapi.vfs.VirtualFile)1 AndroidSelectorDialog (importre.intellij.android.selector.form.AndroidSelectorDialog)1