mirror of
https://github.com/arduino/Arduino.git
synced 2025-03-14 11:29:26 +01:00
Renamed ContributedLibraryTableCell to ContributedLibraryTableCellRenderer
This is in preparation for the next refactoring.
This commit is contained in:
parent
ed30cd7b58
commit
fd04767269
@ -69,7 +69,7 @@ import cc.arduino.utils.ReverseComparator;
|
|||||||
import processing.app.Base;
|
import processing.app.Base;
|
||||||
|
|
||||||
@SuppressWarnings("serial")
|
@SuppressWarnings("serial")
|
||||||
public class ContributedLibraryTableCell extends InstallerTableCell {
|
public class ContributedLibraryTableCellRenderer extends InstallerTableCell {
|
||||||
|
|
||||||
private class Cell {
|
private class Cell {
|
||||||
private final JPanel panel;
|
private final JPanel panel;
|
@ -66,12 +66,12 @@ public class LibraryManagerUI extends InstallerJDialog<ContributedLibrary> {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected InstallerTableCell createCellRenderer() {
|
protected InstallerTableCell createCellRenderer() {
|
||||||
return new ContributedLibraryTableCell();
|
return new ContributedLibraryTableCellRenderer();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected InstallerTableCell createCellEditor() {
|
protected InstallerTableCell createCellEditor() {
|
||||||
return new ContributedLibraryTableCell() {
|
return new ContributedLibraryTableCellRenderer() {
|
||||||
@Override
|
@Override
|
||||||
protected void onInstall(ContributedLibrary selectedLibrary, ContributedLibrary installedLibrary) {
|
protected void onInstall(ContributedLibrary selectedLibrary, ContributedLibrary installedLibrary) {
|
||||||
if (selectedLibrary.isReadOnly()) {
|
if (selectedLibrary.isReadOnly()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user