* <code>true</code> if the LDAP Browser plugins are available,
* <code>false</code> if not.
*/
private boolean isLdapBrowserPluginsAvailable()
{
PropertyResourceBundle properties = ApacheDsPlugin.getDefault().getPluginProperties();
// Connection Core Plugin
Bundle connectionCoreBundle = Platform.getBundle( properties.getString( "Plugin_ConnectionCore_id" ) ); //$NON-NLS-1$
if ( connectionCoreBundle != null )
{
// Checking the state of the plugin
if ( connectionCoreBundle.getState() == Bundle.UNINSTALLED )
{
return false;
}
// Connection UI Plugin
Bundle connectionUiBundle = Platform.getBundle( properties.getString( "Plugin_ConnectionUi_id" ) ); //$NON-NLS-1$
if ( connectionUiBundle != null )
{
// Checking the state of the plugin
if ( connectionUiBundle.getState() == Bundle.UNINSTALLED )
{
return false;
}
// LDAP Browser Common Plugin
Bundle ldapBrowserCommonBundle = Platform.getBundle( properties
.getString( "Plugin_LdapBrowserCommon_id" ) ); //$NON-NLS-1$
if ( ldapBrowserCommonBundle != null )
{
// Checking the state of the plugin
if ( ldapBrowserCommonBundle.getState() == Bundle.UNINSTALLED )
{
return false;
}
// LDAP Browser Core Plugin
Bundle ldapBrowserCoreBundle = Platform.getBundle( properties
.getString( "Plugin_LdapBrowserCore_id" ) ); //$NON-NLS-1$
if ( ldapBrowserCoreBundle != null )
{
// Checking the state of the plugin
if ( ldapBrowserCoreBundle.getState() == Bundle.UNINSTALLED )
{
return false;
}
// LDAP Browser UI Plugin
Bundle ldapBrowserUiBundle = Platform.getBundle( properties
.getString( "Plugin_LdapBrowserUi_id" ) ); //$NON-NLS-1$
if ( ldapBrowserUiBundle != null )
{
// Checking the state of the plugin
if ( ldapBrowserUiBundle.getState() == Bundle.UNINSTALLED )
{
return false;
}
// LDIF Editor Plugin
Bundle ldifEditorBundle = Platform
.getBundle( properties.getString( "Plugin_LdifEditor_id" ) ); //$NON-NLS-1$
if ( ldifEditorBundle != null )
{
// Checking the state of the plugin
if ( ldifEditorBundle.getState() == Bundle.UNINSTALLED )
{
return false;
}
// LDIF Parser Plugin
Bundle ldifParserBundle = Platform.getBundle( properties
.getString( "Plugin_LdifParser_id" ) ); //$NON-NLS-1$
if ( ldifParserBundle != null )
{
// Checking the state of the plugin
if ( ldifParserBundle.getState() == Bundle.UNINSTALLED )
{
return false;
}
// Jars Plugin
Bundle jarsBundle = Platform.getBundle( properties.getString( "Plugin_Jars_id" ) ); //$NON-NLS-1$
if ( jarsBundle != null )
{
// Checking the state of the plugin
if ( jarsBundle.getState() == Bundle.UNINSTALLED )
{