Java 类com.intellij.ui.popup.util.ItemWrapper 实例源码

项目:intellij-ce-playground    文件:BookmarksAction.java   
@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);
  }
}
项目:tools-idea    文件:BookmarksAction.java   
@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);
  }
}
项目:consulo    文件:BookmarksAction.java   
@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);
  }
}
项目:intellij-ce-playground    文件:BreakpointsDialog.java   
@Override
public ItemWrapper[] getSelectedItems() {
  final List<BreakpointItem> res = myTreeController.getSelectedBreakpoints(false);
  return res.toArray(new ItemWrapper[res.size()]);
}
项目:intellij-ce-playground    文件:BreakpointsDialog.java   
private void saveCurrentItem() {
  ItemWrapper item = myDetailController.getSelectedItem();
  if (item instanceof BreakpointItem) {
    ((BreakpointItem)item).saveState();
  }
}
项目:tools-idea    文件:BreakpointsDialog.java   
@Override
public ItemWrapper[] getSelectedItems() {
  final List<BreakpointItem> res = myTreeController.getSelectedBreakpoints();
  return res.toArray(new ItemWrapper[res.size()]);
}
项目:consulo    文件:BreakpointsDialog.java   
@Override
public ItemWrapper[] getSelectedItems() {
  final List<BreakpointItem> res = myTreeController.getSelectedBreakpoints(false);
  return res.toArray(new ItemWrapper[res.size()]);
}
项目:consulo    文件:BreakpointsDialog.java   
private void saveCurrentItem() {
  ItemWrapper item = myDetailController.getSelectedItem();
  if (item instanceof BreakpointItem) {
    ((BreakpointItem)item).saveState();
  }
}