Renamed ContributedLibraryTableCell to ContributedLibraryTableCellRenderer

This is in preparation for the next refactoring.
This commit is contained in:
Cristian Maglie 2015-12-24 19:12:54 +01:00
parent ed30cd7b58
commit fd04767269
2 changed files with 3 additions and 3 deletions

View File

@ -69,7 +69,7 @@ import cc.arduino.utils.ReverseComparator;
import processing.app.Base;
@SuppressWarnings("serial")
public class ContributedLibraryTableCell extends InstallerTableCell {
public class ContributedLibraryTableCellRenderer extends InstallerTableCell {
private class Cell {
private final JPanel panel;

View File

@ -66,12 +66,12 @@ public class LibraryManagerUI extends InstallerJDialog<ContributedLibrary> {
@Override
protected InstallerTableCell createCellRenderer() {
return new ContributedLibraryTableCell();
return new ContributedLibraryTableCellRenderer();
}
@Override
protected InstallerTableCell createCellEditor() {
return new ContributedLibraryTableCell() {
return new ContributedLibraryTableCellRenderer() {
@Override
protected void onInstall(ContributedLibrary selectedLibrary, ContributedLibrary installedLibrary) {
if (selectedLibrary.isReadOnly()) {