com.intellij.ide.util.gotoByName.ChooseByNameModel Java Examples

The following examples show how to use com.intellij.ide.util.gotoByName.ChooseByNameModel. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: SendProjectFileAction2.java    From SmartIM4IntelliJ with Apache License 2.0 4 votes vote down vote up
@Override protected void gotoActionPerformed(AnActionEvent anActionEvent) {
    Project project = anActionEvent.getData(CommonDataKeys.PROJECT);
    ChooseByNameModel model = new GotoFileModel(project);
    showNavigationPopup(anActionEvent, model, new Callback(), false);
}
 
Example #2
Source File: GoToClassTest.java    From protobuf-jetbrains-plugin with Apache License 2.0 4 votes vote down vote up
private List<Object> getPopupElements(ChooseByNameModel model, String text, boolean checkboxState) {
    return calcPopupElements(createPopup(model, null), text, checkboxState);
}