public List<PluginInfo> getSelectedUpdateInfo() { List<PluginInfo> sel = new ArrayList<>(); int counter = 0; for (Boolean b : getInstallList()) { if (b) { sel.add(plugins.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<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 Object getValueAt(int rowIndex, int columnIndex) { if (columnIndex == 0) { return getInstallList().get(rowIndex);
public Object getValueAt(int rowIndex, int columnIndex) { if (columnIndex == 0) { return getInstallList().get(rowIndex);
public Object getValueAt(int rowIndex, int columnIndex) { if (columnIndex == 0) { return getInstallList().get(rowIndex);
public PluginUpdateTableModel(List<PluginInfo> plugins) { this.plugins = new ArrayList<>(plugins); getInstallList(); }
public void setValueAt(Object aValue, int rowIndex, int columnIndex) { if (columnIndex == 0) { if (aValue instanceof Boolean) { getInstallList().set(rowIndex, (Boolean) aValue); } } } }
public void setValueAt(Object aValue, int rowIndex, int columnIndex) { if (columnIndex == 0) { if (aValue instanceof Boolean) { getInstallList().set(rowIndex, (Boolean) aValue); } } } }
public PluginUpdateTableModel(PluginRegistry provider) { this.provider = provider; getInstallList(); }
public PluginUpdateTableModel(PluginRegistry provider) { this.provider = provider; getInstallList(); }
public void setValueAt(Object aValue, int rowIndex, int columnIndex) { if (columnIndex == 0) { if (aValue instanceof Boolean) { getInstallList().set(rowIndex, (Boolean) aValue); } } } }