589cc78019a41fa293d7583a3c1b6dfca42da41b |
|
28-May-2010 |
jamesren <jamesren@592f7852-d20e-0410-864c-8624ca9c26a4> |
Code cleanup Whitespace fixes, and addition of newlines at end of some files. Use StringBuilder.append() rather than String += in loops. Add equals() and hashCode() for class that implements Comparable. Signed-off-by: James Ren <jamesren@google.com> git-svn-id: http://test.kernel.org/svn/autotest/trunk@4567 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/frontend/client/src/autotest/common/table/JSONObjectComparator.java
|
02ed4bd47471fe77270e5507a7f9759955b3753c |
|
09-Sep-2009 |
showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> |
Reorganization of the host selection UI in the AFE create job view. * refactor HostSelector into view/presenter (except for tables, which will need to be separately refactored) * reorganize view into a tabbed format with a unified hostname input tab, a metahost tab and a browse hosts tab, with the selected hosts table alongside as before Minor changes: * extracted SimplifiedList interface from MultiListSelectPresenter to a top-level entity * made ExtendedListBox implement the SimplifiedList interface and got rid of the SimplifiedListWrapper decorator class * rewrote ArrayDataSource to use a TreeSet so it's actually efficient. this should speed up working with large host selections. * edited JSONObjectComparator to be consistent with equals() for safety when using with TreeSet * small change to how widths get set on TabPanels in AFE. rather than setting 100% width on all tab panels' contents using CSS, set it explicitly in CustomTabPanel. there's a quirk with browser layout where a 100% width div inside a table cell will have it's width set larger than the cell containing it. it happens on IE6, FF3 and Chrome so it's probably not something that's going to change. It does go away with the "border box" model, which can be enabled with nonstandard CSS attributes, but it's easy enough to work around here that that's not worth it. Signed-off-by: Steve Howard <showard@google.com> git-svn-id: http://test.kernel.org/svn/autotest/trunk@3673 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/frontend/client/src/autotest/common/table/JSONObjectComparator.java
|
6cff4ad7aa317bab05ab9dc1249dbea652944750 |
|
30-Jun-2009 |
showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> |
Fix FindBugs flags Risk: low Visibility: low Signed-off-by: James Ren <jamesren@google.com> git-svn-id: http://test.kernel.org/svn/autotest/trunk@3327 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/frontend/client/src/autotest/common/table/JSONObjectComparator.java
|
8579ea343f8d4c74b44d5b5cb2df3ef7552b2f6e |
|
18-Aug-2008 |
showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> |
Snazzy new interface for select tests in Create Job view. Tests are now presented in a scrollable table, with descriptions displayed in a resizable pane on the right. -new TestSelector widget displays table + description -move some basic input handling from DynamicTable into DataTable, so that plain DataTables can handle clicks -make DataTable capable of refreshing the widgets in a table without refreshing the entire table - this is useful for updating selections -pull out the one bit of SelectionManager that depends on DynamicTable (as opposed to DataTable). This is now in DynamicTableSelectionManager, and the orignal SelectionManager can work with a plain DataTable. -make SelectionManager capable of acting as the TableWidgetFactory for producing row selection checkboxes -fix a couple minor bugs in (Site)CreateJobView, where some controls (skip verify, custom tests) would not be disabled when they should be -pull out ArrayDataSource.JSONObjectComparator into a top-level class, so it could be used elsewhere to sort JSONObjects git-svn-id: http://test.kernel.org/svn/autotest/trunk@2004 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/frontend/client/src/autotest/common/table/JSONObjectComparator.java
|