return;
}
}
else if ( ( workbenchPart instanceof AttributeTypeEditor ) && ( wrapper instanceof AttributeTypeWrapper ) )
{
AttributeTypeEditor editor = ( AttributeTypeEditor ) workbenchPart;
AttributeTypeWrapper atw = ( AttributeTypeWrapper ) wrapper;
if ( editor.getOriginalAttributeType().equals( atw.getAttributeType() ) )
{
PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().bringToTop( workbenchPart );
return;
}
}
else if ( ( workbenchPart instanceof SchemaEditor ) && ( wrapper instanceof SchemaWrapper ) )
{
SchemaEditor editor = ( SchemaEditor ) workbenchPart;
SchemaWrapper sw = ( SchemaWrapper ) wrapper;
if ( editor.getSchema().equals( sw.getSchema() ) )
{
PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().bringToTop( workbenchPart );
return;
}
}