Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_51) on Thu Jun 05 17:45:43 EDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="iso-8859-1">
<title>IPluginElement (Eclipse PDE API Specification)</title>
<meta name="date" content="2014-06-05">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
    if (location.href.indexOf('is-external=true') == -1) {
        parent.document.title="IPluginElement (Eclipse PDE API Specification)";
    }
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!--   -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/IPluginElement.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-files/index-1.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
<div class="aboutLanguage"><em><span style='font-size:small'><b>Eclipse PDE</b><br>Luna (4.4)</span></em></div>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../org/eclipse/pde/core/plugin/IPluginBase.html" title="interface in org.eclipse.pde.core.plugin"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../../org/eclipse/pde/core/plugin/IPluginExtension.html" title="interface in org.eclipse.pde.core.plugin"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/eclipse/pde/core/plugin/IPluginElement.html" target="_top">Frames</a></li>
<li><a href="IPluginElement.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_top");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!--   -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.eclipse.pde.core.plugin</div>
<h2 title="Interface IPluginElement" class="title">Interface IPluginElement</h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Superinterfaces:</dt>
<dd><a href="../../../../.././../../../org.eclipse.platform.doc.isv/reference/api/org/eclipse/core/runtime/IAdaptable.html?is-external=true" title="class or interface in org.eclipse.core.runtime">IAdaptable</a>, <a href="../../../../../org/eclipse/pde/core/plugin/IPluginObject.html" title="interface in org.eclipse.pde.core.plugin">IPluginObject</a>, <a href="../../../../../org/eclipse/pde/core/plugin/IPluginParent.html" title="interface in org.eclipse.pde.core.plugin">IPluginParent</a>, <a href="../../../../../org/eclipse/pde/core/IWritable.html" title="interface in org.eclipse.pde.core">IWritable</a></dd>
</dl>
<hr>
<br>
<pre>public interface <span class="strong">IPluginElement</span>
extends <a href="../../../../../org/eclipse/pde/core/plugin/IPluginParent.html" title="interface in org.eclipse.pde.core.plugin">IPluginParent</a></pre>
<div class="block">Classes that implement this interface model the
 XML elements found in the plug-in model.</div>
<dl><dt><span class="strong">Restriction:</span></dt>
  <dd>This interface is not intended to be implemented by clients.</dd>
<dt><span class="strong">Restriction:</span></dt>
  <dd>This interface is not intended to be extended by clients.</dd></dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_summary">
<!--   -->
</a>
<h3>Field Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/eclipse/pde/core/plugin/IPluginElement.html#P_ATTRIBUTE">P_ATTRIBUTE</a></strong></code>
<div class="block">A property name that will be used to notify individual
 change in an element's attribute.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/eclipse/pde/core/plugin/IPluginElement.html#P_ATTRIBUTES">P_ATTRIBUTES</a></strong></code>
<div class="block">A property name that will be used to notify
 about global replacement of the element's attributes.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/eclipse/pde/core/plugin/IPluginElement.html#P_TEXT">P_TEXT</a></strong></code>
<div class="block">A property name that will be used to notify
 about element body text change.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="fields_inherited_from_class_org.eclipse.pde.core.plugin.IPluginParent">
<!--   -->
</a>
<h3>Fields inherited from interface&nbsp;org.eclipse.pde.core.plugin.<a href="../../../../../org/eclipse/pde/core/plugin/IPluginParent.html" title="interface in org.eclipse.pde.core.plugin">IPluginParent</a></h3>
<code><a href="../../../../../org/eclipse/pde/core/plugin/IPluginParent.html#P_SIBLING_ORDER">P_SIBLING_ORDER</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="fields_inherited_from_class_org.eclipse.pde.core.plugin.IPluginObject">
<!--   -->
</a>
<h3>Fields inherited from interface&nbsp;org.eclipse.pde.core.plugin.<a href="../../../../../org/eclipse/pde/core/plugin/IPluginObject.html" title="interface in org.eclipse.pde.core.plugin">IPluginObject</a></h3>
<code><a href="../../../../../org/eclipse/pde/core/plugin/IPluginObject.html#P_NAME">P_NAME</a></code></li>
</ul>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!--   -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/eclipse/pde/core/plugin/IPluginElement.html" title="interface in org.eclipse.pde.core.plugin">IPluginElement</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/eclipse/pde/core/plugin/IPluginElement.html#createCopy()">createCopy</a></strong>()</code>
<div class="block">Creates an identical copy of this XML element.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/eclipse/pde/core/plugin/IPluginAttribute.html" title="interface in org.eclipse.pde.core.plugin">IPluginAttribute</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/eclipse/pde/core/plugin/IPluginElement.html#getAttribute(java.lang.String)">getAttribute</a></strong>(<a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</code>
<div class="block">Returns an attribute object whose name
 matches the provided name.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/eclipse/pde/core/plugin/IPluginElement.html#getAttributeCount()">getAttributeCount</a></strong>()</code>
<div class="block">Returns the number of attributes in this element.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/eclipse/pde/core/plugin/IPluginAttribute.html" title="interface in org.eclipse.pde.core.plugin">IPluginAttribute</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/eclipse/pde/core/plugin/IPluginElement.html#getAttributes()">getAttributes</a></strong>()</code>
<div class="block">Returns all attributes currently defined in this element</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="http://download.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/eclipse/pde/core/plugin/IPluginElement.html#getElementInfo()">getElementInfo</a></strong>()</code>
<div class="block">Returns the schema for this element.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/eclipse/pde/core/plugin/IPluginElement.html#getText()">getText</a></strong>()</code>
<div class="block">Returns the body text of this element.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/eclipse/pde/core/plugin/IPluginElement.html#setAttribute(java.lang.String, java.lang.String)">setAttribute</a></strong>(<a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
            <a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;value)</code>
<div class="block">Sets the attribute with the provided name
 to the provided value.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/eclipse/pde/core/plugin/IPluginElement.html#setText(java.lang.String)">setText</a></strong>(<a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;text)</code>
<div class="block">Sets the body text of this element
 to the provided value.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_org.eclipse.pde.core.plugin.IPluginParent">
<!--   -->
</a>
<h3>Methods inherited from interface&nbsp;org.eclipse.pde.core.plugin.<a href="../../../../../org/eclipse/pde/core/plugin/IPluginParent.html" title="interface in org.eclipse.pde.core.plugin">IPluginParent</a></h3>
<code><a href="../../../../../org/eclipse/pde/core/plugin/IPluginParent.html#add(int, org.eclipse.pde.core.plugin.IPluginObject)">add</a>, <a href="../../../../../org/eclipse/pde/core/plugin/IPluginParent.html#add(org.eclipse.pde.core.plugin.IPluginObject)">add</a>, <a href="../../../../../org/eclipse/pde/core/plugin/IPluginParent.html#getChildCount()">getChildCount</a>, <a href="../../../../../org/eclipse/pde/core/plugin/IPluginParent.html#getChildren()">getChildren</a>, <a href="../../../../../org/eclipse/pde/core/plugin/IPluginParent.html#getIndexOf(org.eclipse.pde.core.plugin.IPluginObject)">getIndexOf</a>, <a href="../../../../../org/eclipse/pde/core/plugin/IPluginParent.html#remove(org.eclipse.pde.core.plugin.IPluginObject)">remove</a>, <a href="../../../../../org/eclipse/pde/core/plugin/IPluginParent.html#swap(org.eclipse.pde.core.plugin.IPluginObject, org.eclipse.pde.core.plugin.IPluginObject)">swap</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_org.eclipse.pde.core.plugin.IPluginObject">
<!--   -->
</a>
<h3>Methods inherited from interface&nbsp;org.eclipse.pde.core.plugin.<a href="../../../../../org/eclipse/pde/core/plugin/IPluginObject.html" title="interface in org.eclipse.pde.core.plugin">IPluginObject</a></h3>
<code><a href="../../../../../org/eclipse/pde/core/plugin/IPluginObject.html#getModel()">getModel</a>, <a href="../../../../../org/eclipse/pde/core/plugin/IPluginObject.html#getName()">getName</a>, <a href="../../../../../org/eclipse/pde/core/plugin/IPluginObject.html#getParent()">getParent</a>, <a href="../../../../../org/eclipse/pde/core/plugin/IPluginObject.html#getPluginBase()">getPluginBase</a>, <a href="../../../../../org/eclipse/pde/core/plugin/IPluginObject.html#getPluginModel()">getPluginModel</a>, <a href="../../../../../org/eclipse/pde/core/plugin/IPluginObject.html#getResourceString(java.lang.String)">getResourceString</a>, <a href="../../../../../org/eclipse/pde/core/plugin/IPluginObject.html#getTranslatedName()">getTranslatedName</a>, <a href="../../../../../org/eclipse/pde/core/plugin/IPluginObject.html#isInTheModel()">isInTheModel</a>, <a href="../../../../../org/eclipse/pde/core/plugin/IPluginObject.html#isValid()">isValid</a>, <a href="../../../../../org/eclipse/pde/core/plugin/IPluginObject.html#setInTheModel(boolean)">setInTheModel</a>, <a href="../../../../../org/eclipse/pde/core/plugin/IPluginObject.html#setName(java.lang.String)">setName</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_org.eclipse.pde.core.IWritable">
<!--   -->
</a>
<h3>Methods inherited from interface&nbsp;org.eclipse.pde.core.<a href="../../../../../org/eclipse/pde/core/IWritable.html" title="interface in org.eclipse.pde.core">IWritable</a></h3>
<code><a href="../../../../../org/eclipse/pde/core/IWritable.html#write(java.lang.String, java.io.PrintWriter)">write</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_org.eclipse.core.runtime.IAdaptable">
<!--   -->
</a>
<h3>Methods inherited from interface&nbsp;org.eclipse.core.runtime.<a href="../../../../.././../../../org.eclipse.platform.doc.isv/reference/api/org/eclipse/core/runtime/IAdaptable.html?is-external=true" title="class or interface in org.eclipse.core.runtime">IAdaptable</a></h3>
<code><a href="../../../../.././../../../org.eclipse.platform.doc.isv/reference/api/org/eclipse/core/runtime/IAdaptable.html?is-external=true#getAdapter(java.lang.Class)" title="class or interface in org.eclipse.core.runtime">getAdapter</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_detail">
<!--   -->
</a>
<h3>Field Detail</h3>
<a name="P_TEXT">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>P_TEXT</h4>
<pre>static final&nbsp;<a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> P_TEXT</pre>
<div class="block">A property name that will be used to notify
 about element body text change.</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#org.eclipse.pde.core.plugin.IPluginElement.P_TEXT">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="P_ATTRIBUTES">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>P_ATTRIBUTES</h4>
<pre>static final&nbsp;<a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> P_ATTRIBUTES</pre>
<div class="block">A property name that will be used to notify
 about global replacement of the element's attributes.</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#org.eclipse.pde.core.plugin.IPluginElement.P_ATTRIBUTES">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="P_ATTRIBUTE">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>P_ATTRIBUTE</h4>
<pre>static final&nbsp;<a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> P_ATTRIBUTE</pre>
<div class="block">A property name that will be used to notify individual
 change in an element's attribute.</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#org.eclipse.pde.core.plugin.IPluginElement.P_ATTRIBUTE">Constant Field Values</a></dd></dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!--   -->
</a>
<h3>Method Detail</h3>
<a name="createCopy()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createCopy</h4>
<pre><a href="../../../../../org/eclipse/pde/core/plugin/IPluginElement.html" title="interface in org.eclipse.pde.core.plugin">IPluginElement</a>&nbsp;createCopy()</pre>
<div class="block">Creates an identical copy of this XML element.
 The new element will share the same model and
 the parent.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>a copy of this element</dd></dl>
</li>
</ul>
<a name="getAttribute(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAttribute</h4>
<pre><a href="../../../../../org/eclipse/pde/core/plugin/IPluginAttribute.html" title="interface in org.eclipse.pde.core.plugin">IPluginAttribute</a>&nbsp;getAttribute(<a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</pre>
<div class="block">Returns an attribute object whose name
 matches the provided name.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - the name of the attribute</dd>
<dt><span class="strong">Returns:</span></dt><dd>the attribute object, or <samp>null</samp> if not found</dd></dl>
</li>
</ul>
<a name="getAttributes()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAttributes</h4>
<pre><a href="../../../../../org/eclipse/pde/core/plugin/IPluginAttribute.html" title="interface in org.eclipse.pde.core.plugin">IPluginAttribute</a>[]&nbsp;getAttributes()</pre>
<div class="block">Returns all attributes currently defined in this element</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>an array of attribute objects that belong to this element</dd></dl>
</li>
</ul>
<a name="getAttributeCount()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAttributeCount</h4>
<pre>int&nbsp;getAttributeCount()</pre>
<div class="block">Returns the number of attributes in this element.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>number of attributes defined in this element</dd></dl>
</li>
</ul>
<a name="getText()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getText</h4>
<pre><a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getText()</pre>
<div class="block">Returns the body text of this element.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>body text of this element or <samp>null</samp> if not set.</dd></dl>
</li>
</ul>
<a name="getElementInfo()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getElementInfo</h4>
<pre><a href="http://download.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;getElementInfo()</pre>
<div class="block">Returns the schema for this element.
 <p>This information is exposed here as implementation side-effect
 and should not be used by clients.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the schema for this element or <samp>null</samp> if not found.</dd></dl>
</li>
</ul>
<a name="setAttribute(java.lang.String, java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setAttribute</h4>
<pre>void&nbsp;setAttribute(<a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
                <a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;value)
                  throws <a href="../../../../.././../../../org.eclipse.platform.doc.isv/reference/api/org/eclipse/core/runtime/CoreException.html?is-external=true" title="class or interface in org.eclipse.core.runtime">CoreException</a></pre>
<div class="block">Sets the attribute with the provided name
 to the provided value. If attribute object
 is not found, a new one will be created and
 its value set to the provided value.
 This method will throw a CoreException if
 the model is not editable.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - the name of the attribute</dd><dd><code>value</code> - the value to be set</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../.././../../../org.eclipse.platform.doc.isv/reference/api/org/eclipse/core/runtime/CoreException.html?is-external=true" title="class or interface in org.eclipse.core.runtime">CoreException</a></code> - if the model is not editable</dd></dl>
</li>
</ul>
<a name="setText(java.lang.String)">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>setText</h4>
<pre>void&nbsp;setText(<a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;text)
             throws <a href="../../../../.././../../../org.eclipse.platform.doc.isv/reference/api/org/eclipse/core/runtime/CoreException.html?is-external=true" title="class or interface in org.eclipse.core.runtime">CoreException</a></pre>
<div class="block">Sets the body text of this element
 to the provided value. This method
 will throw a CoreException if the
 model is not editable.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>text</code> - the new body text of this element</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../.././../../../org.eclipse.platform.doc.isv/reference/api/org/eclipse/core/runtime/CoreException.html?is-external=true" title="class or interface in org.eclipse.core.runtime">CoreException</a></code> - if the model is not editable</dd></dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!--   -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/IPluginElement.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-files/index-1.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
<div class="aboutLanguage"><em><span style='font-size:small'><b>Eclipse PDE</b><br>Luna (4.4)</span></em></div>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../org/eclipse/pde/core/plugin/IPluginBase.html" title="interface in org.eclipse.pde.core.plugin"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../../org/eclipse/pde/core/plugin/IPluginExtension.html" title="interface in org.eclipse.pde.core.plugin"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/eclipse/pde/core/plugin/IPluginElement.html" target="_top">Frames</a></li>
<li><a href="IPluginElement.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_bottom");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!--   -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small><br><span style='font-size:small;float:right'>Copyright (c) 2000, 2013 Eclipse Contributors and others. All rights reserved.</span><span style='font-size:small'><a href='../../../../../../misc/api-usage-rules.html'>Guidelines for using Eclipse APIs.</a></span></small></p>
</body>
</html>
New to GrepCode? Check out our FAQ X