}
}
else if (data.isDataFlavorSupported(StandardFlavors.PLUGIN_STATE))
{
// Instantiate the plugin from the plugin state
PluginState state = ((PluginState) data.getTransferData(StandardFlavors.PLUGIN_STATE));
plugin = PluginMgr.getInstance().createVisibleInstance(state, null);
}
if (plugin != null)
{