mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-10 17:49:38 +02:00
ProviderManager is no longer static. SMACK-182
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6128 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
aa92ee9942
commit
69b36d5861
4 changed files with 62 additions and 26 deletions
|
@ -224,7 +224,7 @@ public class EnhancedDebuggerWindow {
|
|||
iqProvidersPanel.setLayout(new GridLayout(1, 1));
|
||||
iqProvidersPanel.setBorder(BorderFactory.createTitledBorder("Installed IQ Providers"));
|
||||
Vector<String> providers = new Vector<String>();
|
||||
for (Object provider : ProviderManager.getIQProviders()) {
|
||||
for (Object provider : ProviderManager.getInstance().getIQProviders()) {
|
||||
if (provider.getClass() == Class.class) {
|
||||
providers.add(((Class) provider).getName());
|
||||
}
|
||||
|
@ -243,7 +243,7 @@ public class EnhancedDebuggerWindow {
|
|||
extensionProvidersPanel.setLayout(new GridLayout(1, 1));
|
||||
extensionProvidersPanel.setBorder(BorderFactory.createTitledBorder("Installed Extension Providers"));
|
||||
providers = new Vector<String>();
|
||||
for (Object provider : ProviderManager.getExtensionProviders()) {
|
||||
for (Object provider : ProviderManager.getInstance().getExtensionProviders()) {
|
||||
if (provider.getClass() == Class.class) {
|
||||
providers.add(((Class) provider).getName());
|
||||
}
|
||||
|
@ -370,9 +370,6 @@ public class EnhancedDebuggerWindow {
|
|||
}
|
||||
|
||||
public boolean isVisible() {
|
||||
if (frame != null) {
|
||||
return frame.isVisible();
|
||||
}
|
||||
return false;
|
||||
return frame != null && frame.isVisible();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue