@Override public void itemChosen(ItemWrapper item, Project project, JBPopup popup, boolean withEnterOrDoubleClick) { if (item instanceof BookmarkItem && withEnterOrDoubleClick) { Bookmark bookmark = ((BookmarkItem)item).getBookmark(); popup.cancel(); bookmark.navigate(true); } }
@Override public ItemWrapper[] getSelectedItems() { final List<BreakpointItem> res = myTreeController.getSelectedBreakpoints(false); return res.toArray(new ItemWrapper[res.size()]); }
private void saveCurrentItem() { ItemWrapper item = myDetailController.getSelectedItem(); if (item instanceof BreakpointItem) { ((BreakpointItem)item).saveState(); } }
@Override public ItemWrapper[] getSelectedItems() { final List<BreakpointItem> res = myTreeController.getSelectedBreakpoints(); return res.toArray(new ItemWrapper[res.size()]); }