public List<PluginInfo> getSelectedUpdateInfo() { List<PluginInfo> sel = new ArrayList<PluginInfo>(); int counter = 0; for (Boolean b : getInstallList()) { if (b) { sel.add(getUpdateInfoList().get(counter)); } counter++; } return sel; }
public List<PluginInfo> getSelectedUpdateInfo() { List<PluginInfo> sel = new ArrayList<PluginInfo>(); int counter = 0; for (Boolean b : getInstallList()) { if (b) { sel.add(getUpdateInfoList().get(counter)); } counter++; } return sel; }
public List<Boolean> getInstallList(){ if (install == null){ install = new ArrayList<Boolean>(getUpdateInfoList().size()); for (PluginInfo info : getUpdateInfoList()) { install.add(provider.isSelected(info)); } } return install; }
final PluginInfo info = getUpdateInfoList().get(rowIndex); if (columnIndex == 1) { if (info.getPluginDescriptor() != null){
final PluginInfo info = getUpdateInfoList().get(rowIndex); if (columnIndex == 1) { if (info.getPluginDescriptor() != null){
public PluginInfo getUpdateInfoAt(int index) { return getUpdateInfoList().get(index); }
public int getRowCount() { return getUpdateInfoList().size(); }
public PluginInfo getUpdateInfoAt(int index) { return getUpdateInfoList().get(index); }
public int getRowCount() { return getUpdateInfoList().size(); }
public List<Boolean> getInstallList(){ if (install == null){ install = new ArrayList<Boolean>(getUpdateInfoList().size()); for (PluginInfo info : getUpdateInfoList()) { install.add(provider.isSelected(info)); } } return install; }