|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICExtensionReference
Method Summary | |
---|---|
ICExtension |
createExtension()
Creates and returns a new instance of the cextension executable identified by the <run> attribute of the cextension. |
ICDescriptor |
getCDescriptor()
Returns the project descriptor which this extension reference belongs to. |
java.lang.String |
getExtension()
Return the extension point of this reference. |
java.lang.String |
getExtensionData(java.lang.String key)
Gets a value of the key from the .cdtproject file set by setExtensionData() |
org.eclipse.core.runtime.IConfigurationElement[] |
getExtensionElements()
Returns all configuration elements that are children of the cextension element. |
java.lang.String |
getID()
Return the extension ID of this reference. |
void |
setExtensionData(java.lang.String key,
java.lang.String value)
Sets a name/value data pair on this reference in the .cdtproject file |
Method Detail |
---|
java.lang.String getExtension()
java.lang.String getID()
void setExtensionData(java.lang.String key, java.lang.String value) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
java.lang.String getExtensionData(java.lang.String key)
ICDescriptor getCDescriptor()
ICExtension createExtension() throws org.eclipse.core.runtime.CoreException
The ICExtension is instantiated using its 0-argument public
constructor. If the class implements the
org.eclipse.core.runtime.IExecutableExtension
interface, the method
setInitializationData
is called, passing to the object
the configuration information that was used to create it.
Unlike other methods on this object, invoking this method may activate the plug-in.
org.eclipse.core.runtime.CoreException
- if an instance of the executable extension
could not be created for any reason.IExecutableExtension.setInitializationData(org.eclipse.core.runtime.IConfigurationElement, java.lang.String, java.lang.Object)
org.eclipse.core.runtime.IConfigurationElement[] getExtensionElements() throws org.eclipse.core.runtime.CoreException
Each child corresponds to a nested XML element in the configuration markup. For example, the configuration markup
<view>     <verticalHint>top</verticalHint>     <horizontalHint>left</horizontalHint> </view>corresponds to a configuration element, named
"view"
,
with two children.
org.eclipse.core.runtime.CoreException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |