org.eclipse.datatools.sqltools.core.services
Class DefaultSQLEditorService

java.lang.Object
  extended byorg.eclipse.datatools.sqltools.core.services.DefaultSQLEditorService
All Implemented Interfaces:
ISQLEditorService

public class DefaultSQLEditorService
extends java.lang.Object
implements ISQLEditorService

Default implementation for ISQLEditorService.

Author:
Hui Cao

Constructor Summary
DefaultSQLEditorService()
           
 
Method Summary
 java.util.Collection getAdditionalActions()
          Returns data server specific actions, which will be added to menu/context menu and tool bar.
 java.util.Collection getExcludedActionIds()
          The following actions can be excluded in SQL Editor: ISQLEditorActionConstants.EXPLAIN_SQL_ACTION_ID ISQLEditorActionConstants.EXECUTE_SQL_ACTION_ID ISQLEditorActionConstants.EXECTUE_SELECTION_SQL_ACTION_ID ISQLEditorActionConstants.GROUP_NEW_ROUTINE_ID ISQLEditorActionConstants.GROUP_INSERT_QUERY_ID ISQLEditorActionConstants.RUN_ACTION_ID ISQLEditorActionConstants.DEBUG_ACTION_ID
 IExtendedLaunchSupport getExtendedLaunchSupport()
          Returns a IExtendedLaunchSupport object which is used to execute additional operations before/after launching
 IExtendedSaveSupport getExtendedSaveSupport()
          Returns a IExtendedSaveSupport object which is used to perform additional operations before/after saving a procedural object
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultSQLEditorService

public DefaultSQLEditorService()
Method Detail

getExtendedLaunchSupport

public IExtendedLaunchSupport getExtendedLaunchSupport()
Description copied from interface: ISQLEditorService
Returns a IExtendedLaunchSupport object which is used to execute additional operations before/after launching

Specified by:
getExtendedLaunchSupport in interface ISQLEditorService
Returns:
a IExtendedLaunchSupport object to customize the launching behavior.

getExtendedSaveSupport

public IExtendedSaveSupport getExtendedSaveSupport()
Description copied from interface: ISQLEditorService
Returns a IExtendedSaveSupport object which is used to perform additional operations before/after saving a procedural object

Specified by:
getExtendedSaveSupport in interface ISQLEditorService
Returns:
a IExtendedSaveSupport object to customize the saving behavior

getExcludedActionIds

public java.util.Collection getExcludedActionIds()
Description copied from interface: ISQLEditorService
The following actions can be excluded in SQL Editor: ISQLEditorActionConstants.EXPLAIN_SQL_ACTION_ID ISQLEditorActionConstants.EXECUTE_SQL_ACTION_ID ISQLEditorActionConstants.EXECTUE_SELECTION_SQL_ACTION_ID ISQLEditorActionConstants.GROUP_NEW_ROUTINE_ID ISQLEditorActionConstants.GROUP_INSERT_QUERY_ID ISQLEditorActionConstants.RUN_ACTION_ID ISQLEditorActionConstants.DEBUG_ACTION_ID

Specified by:
getExcludedActionIds in interface ISQLEditorService

getAdditionalActions

public java.util.Collection getAdditionalActions()
Description copied from interface: ISQLEditorService
Returns data server specific actions, which will be added to menu/context menu and tool bar. To appear in the toolbar, the action must define action id.

Specified by:
getAdditionalActions in interface ISQLEditorService
Returns:
collection of org.eclipse.jface.action.Action objects.


Copyright © 2006 Actuate, IBM Corporation, Sybase, Inc. and others. All rights reserved.