Cristian Maglie
212825eb55
Simplified overly complex filtering of InstallerJDialog
...
- we ensure that there is always a filter selected, no more need
to check for non-nullness
- the filters are always the same, no need to pass a
Stream<Predicate<T>> around where Predicate<T> suffices
2018-05-17 09:14:25 +02:00
Cristian Maglie
f111905da6
Removed a lot of useless equals overrides.
...
Those introduces a very convoluted logic that is needed only in
two cases. Moreover those are better handled by directly checking
the object.
2018-05-17 09:14:25 +02:00
Cristian Maglie
b832e0d8b1
Use anyMatch instead of count in ContributionSelfCheck checks
2018-05-17 09:14:25 +02:00
Cristian Maglie
d285b7fdc9
Improved VersionComparator API
2018-05-17 09:14:25 +02:00
Cristian Maglie
627d4fb536
Removed NoopPredicate
2018-05-17 09:14:25 +02:00
Martino Facchin
60f267745b
Add on-hover selection on Board/Library manager
...
User testing on skilled devs showed that "buttons appear on click" behaviour is far from being understood.
Accessibility features (like moving with Arrow keys) should be untouched.
2018-05-02 16:41:59 +02:00
Martino Facchin
a47e62627c
[Lib/Board Manager] Give some padding to the dropdown lists
2018-05-02 16:41:59 +02:00
Fabián Inostroza
b17c5122c2
Set default color of text for descriptions shown in library manager.
2016-11-25 15:19:36 +01:00
Martino Facchin
29e79c8157
update API to v1
2016-08-26 16:42:44 +02:00
Cristian Maglie
0c453355f4
Merge branch 'fix-annoying-popup'
2016-04-04 13:34:14 +02:00
Cristian Maglie
8d7ee63c70
Autoclose notification popup after 10 seconds.
2016-04-04 13:30:42 +02:00
Martino Facchin
84fdb0c0c3
Remove stray debug print
2016-04-01 17:05:54 +02:00
Martino Facchin
b99ab40ba2
Enable links to directly open Lib/Board manager
...
If a sketch contains a link to http://librarymanager/${dropdown}#${filter} or http://boardmanager/${dropdown}#${filter} (for example http://librarymanager/All#OneWire ) Library or Board manager will be opened applying the secified filters
2016-04-01 10:55:35 +02:00
Cristian Maglie
1a7eaaf8b2
Fix always-on-top notification popup
2016-03-31 18:49:44 +02:00
Cristian Maglie
57c6d096f6
Notification pop-up is now correctly scaled
2016-01-26 16:48:14 +01:00
Cristian Maglie
9215c06676
Installers windows are now correctly scaled.
2016-01-26 12:10:12 +01:00
Cristian Maglie
16c4701802
Rename Contributed*TableCell to Contributed*TableCellJPanel
2015-12-29 16:01:34 +01:00
Cristian Maglie
a7e22e1958
Some minor cosmetics
2015-12-29 16:01:34 +01:00
Cristian Maglie
2b9483b6e6
Extract ContributionIndexTableModel as outer class
2015-12-29 16:01:34 +01:00
Cristian Maglie
d598f0cfa7
Removed unused LibraryManagerUI.getContribModel() method
2015-12-29 16:01:34 +01:00
Cristian Maglie
91f18dff24
Factored out ContributedLibraryTableCell.update(...) method
2015-12-29 16:01:34 +01:00
Cristian Maglie
71eb3c3ab2
Removed useless DESCRIPTION_COL constant
2015-12-29 16:01:34 +01:00
Cristian Maglie
47fcf318b1
Removed unused parameters in *TableCell.update(..) method
2015-12-29 16:01:33 +01:00
Cristian Maglie
76068c92b4
*TableCellEditor now extends JPanel
2015-12-29 16:01:33 +01:00
Cristian Maglie
015f658d1e
Factored out TableCell setEnable() code
2015-12-29 16:01:33 +01:00
Cristian Maglie
c1387ed316
Removed weird hack for refreshing table cells
2015-12-29 16:01:33 +01:00
Cristian Maglie
4725584a49
ContributedPlatformCell* now follows swing cell model abstraction
...
This commit completes the refactoring
2015-12-29 16:01:33 +01:00
Cristian Maglie
6370a74632
Split TableCellRenderes from TableCellEditors
...
This rationalization helps to better follow the swing abstractions
of table models and increase separation of concerns.
(WIP: ContributedPlatforms needs a similar refactoring that will be
done in the next commits)
2015-12-29 16:01:33 +01:00
Cristian Maglie
fd04767269
Renamed ContributedLibraryTableCell to ContributedLibraryTableCellRenderer
...
This is in preparation for the next refactoring.
2015-12-29 16:01:33 +01:00
Cristian Maglie
ed30cd7b58
Removed ContributedLibraryTableCell.Cell dependency from upper editorValue field
2015-12-29 16:01:33 +01:00
Cristian Maglie
268ae81759
Removed useless parentTable field in ContributedLibraryTableCell
2015-12-29 16:01:33 +01:00
Cristian Maglie
926a8c9101
Correct implementation of ContributedLibraryTableCell
...
getTableCellRendererComponent() interface requires to return independent
Component objects used for "stamping" the table element.
2015-12-29 16:01:33 +01:00
Federico Fissore
aaebb0a4d6
Stored some regexps in static finals, given names to threads, and slightly
...
optimized ConsoleOutputStream
2015-11-27 15:07:44 +01:00
Federico Fissore
6855e91883
Fixed various Board/Library managers glitches, in particular when removing/upgrading
2015-11-24 16:14:16 +01:00
Federico Fissore
4f3415279c
Boards manager: when upgrading, first remove, then install
2015-11-24 10:54:29 +01:00
Federico Fissore
ceef83dbb9
Libraries that contain type "Arduino" are now listed at the top. Fixes #4195
2015-11-23 16:15:37 +01:00
Federico Fissore
bfeb994974
Moved ContributedLibraryReleases out of LibrariesIndexTableModel and introduced its own special comparator. Will help with #4195
2015-11-23 16:06:32 +01:00
Federico Fissore
b450a2743e
Allowing boards/libs types and categories to be translated. Fixes #3646
2015-11-18 17:27:35 +01:00
Federico Fissore
1328f3a9e2
Library and Boards Managers were using old copies of library/boards indeces. thus making the UI show old data. Fixes #4139 #3904 #3795
2015-11-17 12:24:28 +01:00
Federico Fissore
f5c3136b34
'Partner' libs moved above 'Contributed'. Fixes #4060
2015-11-02 12:13:52 +01:00
Cristian Maglie
2eaa6ff937
Removed unused imports
2015-10-20 18:29:40 +02:00
Federico Fissore
e45f07d507
Added missing license headers
2015-08-13 11:33:35 +02:00
Federico Fissore
582992caff
"Library Manager" wasn't translated
2015-08-06 14:27:47 +02:00
Federico Fissore
5b0ad4fada
Switched to I18N.tr method (_ is deprecated)
2015-08-06 10:27:51 +02:00
Federico Fissore
a43757d5c3
Update notification: UX feedback
2015-08-06 10:27:51 +02:00
Federico Fissore
0bb7fd7e8b
Cancelling ContributionsSelfCheck will prevent indexes from being updated.
...
Opening boards/libs manager when NotificationPopup is shown will close it
2015-08-06 10:27:51 +02:00
Federico Fissore
2daf330c09
LibraryInstaller and ContributionInstaller are now singletons: members of Base, they get passed to dependents, thus allowing a synchronized method execution, needed to avoid race conditions when accessing files
2015-08-06 10:27:51 +02:00
Federico Fissore
dc93bb93d0
ProgressListener is now a method arg (was an instance arg)
2015-08-06 10:27:51 +02:00
Federico Fissore
b3baa27435
ContributionInstaller.onProgress is now a collaborator: ProgressListener
2015-08-06 10:27:51 +02:00
Federico Fissore
f9612bcdbd
Updatable boards support and libraries notification
2015-08-06 10:27:51 +02:00