Add ability pass owner to display and focus method.
This should enable propery hierachies to be build in with/in
dialogs.
Change-Id: I5889941371ab2d83da79e809fd1493589a5fd91d
Fixes-Issue: CLIENT-431
Reviewed-on: http://gerrit.dmdirc.com/3146
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com>
Replace remaining legitimate usages with [Keyed]DialogProviders.
Remove the DialogManager itself, all the getters for it, all the places keeping
references around to it, all the dialogs taking it in the constructor, and all
the partridges in pear trees that had one hidden away.
Change-Id: I0a1234960a4e08c0a7c6afc08a5432102b17c125
Reviewed-on: http://gerrit.dmdirc.com/3048
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Mass singleton removal spree. Minor tidying in edited classes.
This tidying introduces a DialogManager class which ensures only a
single instance of a dialog can exist at any one time. This will be
expanded in the future to support management of all dialogs.
Change-Id: I506d7dde623628e38fddcd5f81221d9f2cc832ca
Reviewed-on: http://gerrit.dmdirc.com/2246
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com>
Tidy up mainframe (creating a new dialog class).
Fix OptionalJSpinner having an excessive border.
Fixes issue CLIENT-66
Fixes issue CLIENT-2
Change-Id: I450fe4a6060988843caad0b22a1ac2ffad9e4c28
Depends-On: If58397d37b89c8fe6e099c47fb4d26fdc4589b49
Reviewed-on: http://gerrit.dmdirc.com/1630
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com>
Reviewed-by: Chris Smith <chris@dmdirc.com>
Adds "blocking" code to StandardDialog
Adds a getResult message to StandardQuestionDialog
Removes all uses of JOptionPane from the swing UI
Fixes issue 3663
Change-Id: Id91412c262d4bb812ffbfe6eef72d8ca99cd40f0
Reviewed-on: http://gerrit.dmdirc.com/710
Automatic-Compile: Shane Mc Cormack <shane@dmdirc.com>
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com>