This hides most of the dependencies from the ServerManager.
Change-Id: I18e416a99244ad42ae35b30409aeb92f2c7454f4
Reviewed-on: http://gerrit.dmdirc.com/2892
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Automatic-Compile: DMDirc Build Manager
Netbeans can't seem to cope with them any more, and I'm fed up of
having to click something 7 times to go to it.
Change-Id: Ida5a96852d096a52be05487476f9b19a2e543562
Reviewed-on: http://gerrit.dmdirc.com/2878
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Automatic-Compile: DMDirc Build Manager
plugins:
101cd81 Chris Smith <chris@dmdirc.com>
Tidy up some TabCompleter usages.
Depends-On: I1d61d1895025f3b7febd7cae1e8411d0b198f141
Gerrit: http://gerrit.dmdirc.com/2866
Change-Id: Ieaf99b32c5bcd51ec4274a4d091b31c8393236a4
Add ProGuard as a dependency, and add a report target to generate a list of
dead code.
Includes a bunch of rules to keep obvious things we access via reflection,
but there's probably a lot more that needs adding.
Change-Id: I4ff6fc0b44c80ff6863f5f24995f4e7cb8e60293
Reviewed-on: http://gerrit.dmdirc.com/2862
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com>
plugins:
2e0a59b Chris Smith <chris@dmdirc.com>
Daggerify the DCC plugin.
Rename old DCCPlugin to DCCManager and inflate it using dagger.
Also remove unused method in OsdPlugin.
Depends-On: I99ebc7d10f558008a7889252cc3c96f39747303e
Gerrit: http://gerrit.dmdirc.com/2861
Change-Id: Ic1d6241590082573cb225d8006d61d642d19efd3
Plugins shouldn't be required to have getters and setters for
something that's constant.
Change-Id: I99ebc7d10f558008a7889252cc3c96f39747303e
Reviewed-on: http://gerrit.dmdirc.com/2860
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Getting hold of a CommandController is annoying and fiddly,
so add a CommandHelper class to hide that away from plugins.
Allow registering of a command given just its class/info.
Change-Id: Ia208db1f23e3356d83a87ff2372e4f7aa49b24cc
Reviewed-on: http://gerrit.dmdirc.com/2854
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Automatic-Compile: DMDirc Build Manager
plugins:
d42a901 Chris Smith <chris@dmdirc.com>
Add dagger dependency to plugins (again).
Keeping the compiler in the build group prevents it being put on
the classpath twice and causing massive problems.
Gerrit: http://gerrit.dmdirc.com/2850
Change-Id: Iee1cbf27061028b261b5211a88db55ced6d1f37d
plugins:
4252d6e Chris Smith <chris@dmdirc.com>
Support plugin changes.
Depends-On: I053a57b82f77e9f570efdc463f86dd6653355a3e
Gerrit: http://gerrit.dmdirc.com/2848
Change-Id: Ic5b06afa2dfd5a57fee1179506e38c5ce49d7ce7
We can't support multiple parents with the new DI framework,
and looking at the code it seems they never fully worked anyway.
Change-Id: I053a57b82f77e9f570efdc463f86dd6653355a3e
Depends-On: If8938f708244ed20d8d9e1c481ecb76bd2c0fac5
Reviewed-on: http://gerrit.dmdirc.com/2849
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com>
New dependency-injection supporting methods, and ample javadoc.
Stub the methods out in BasePlugin so everything carries on working.
Change-Id: Iaea88b091a4680c568f8e55a75a3b0d97c9842eb
Reviewed-on: http://gerrit.dmdirc.com/2846
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com>
- Don't have FrameContainers add themselves to the WindowManager in
the constructor.
- Don't make FrameContainers keep a reference to WindowManager just
to remove themselves when they're closed
- Instead have WindowManager register a FrameClosed listener and use
that to remove windows itself.
Change-Id: Iadbca8a28f7ef3372df7fda722a3cbba2a0fbad6
Depends-On: I0f60ac23438313cab49cdb86c089938f5ee44abc
Reviewed-on: http://gerrit.dmdirc.com/2842
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Automatic-Compile: DMDirc Build Manager