/* (non-Javadoc)
* @see org.eclipse.jface.action.Action#run()
*/
public void run()
{
SchemasView view = ( SchemasView ) PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage()
.findView( SchemasView.ID ); //$NON-NLS-1$
Object selection = ( ( TreeSelection ) view.getViewer().getSelection() ).getFirstElement();
// We have to check on which node we are to get the schema name
if ( selection != null )
{
if ( selection instanceof SchemaWrapper )