Bring the Apple class up to date some more.
- NSApplication no longer exists in java on OS X.
- Apple introduced requestUserAttention to Application, so use it there
- Remove no-longer-required interface
- Add new methods from Application
- Tidy up the reflection a bit.
Unfortunately, looks like we still need the native library, as the
OpenURIHandler doesn't appear to work unless java is launched using
Apple's own JavaApplicationStub :/ (Which is another separate native binary
and means we lose the ability to update the client due to not using our
launcher.)
Change-Id: Ia69481b3de7889265ffd848aba8aa2bd51e9acf0
Reviewed-on: http://gerrit.dmdirc.com/2571
Reviewed-by: Chris Smith <chris@dmdirc.com>
Automatic-Compile: DMDirc Build Manager
Fix Apple Menu Items to actually work for the first time since November 2010 (db95f29d75)
This should probably be backported also along with I6b31f255981dd064ef19bea2b84e8389d63e71c3 but is less important.
Change-Id: I325f91b0a2f9cf033f47138330abad132a77bf9a
Reviewed-on: http://gerrit.dmdirc.com/2467
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>