| org.eclipse.ui.internal.handlers.ExecutableExtensionHandler
All known Subclasses: org.eclipse.ui.internal.handlers.WorkbenchWindowHandlerDelegate,
ExecutableExtensionHandler | abstract public class ExecutableExtensionHandler extends AbstractHandler implements IExecutableExtension(Code) | | A handler that is intended to be defined in XML. These handlers support the
concept of executable extensions, defined by Platform Core. It is okay for
subclasses to never be used as executable extension. This default
implementation of setInitializationData is only intended as a
convenience for developers.
since: 3.1 |
Method Summary | |
public void | setInitializationData(IConfigurationElement config, String propertyName, Object data) Initializes this handler with data provided from XML. |
setInitializationData | public void setInitializationData(IConfigurationElement config, String propertyName, Object data) throws CoreException(Code) | | Initializes this handler with data provided from XML. By default, an
ExecutableExtensionHandler will do nothing with this
information. Subclasses should override if they expect parameters from
XML.
Parameters: config - the configuration element used to trigger this execution. Itcan be queried by the executable extension for specificconfiguration properties Parameters: propertyName - the name of an attribute of the configuration element used onthe createExecutableExtension(String) call.This argument can be used in the cases where a singleconfiguration element is used to define multiple executableextensions. Parameters: data - adapter data in the form of a String , aHashtable , or null . throws: CoreException - if error(s) detected during initialization processing See Also: org.eclipse.core.runtime.IExecutableExtension.setInitializationData(org.eclipse.core.runtime.IConfigurationElementjava.lang.Stringjava.lang.Object) |
|
|