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>IFragment (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="IFragment (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/IFragment.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/IExtensionsModelFactory.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/IFragmentModel.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/IFragment.html" target="_top">Frames</a></li>
<li><a href="IFragment.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 IFragment" class="title">Interface IFragment</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/IExtensions.html" title="interface in org.eclipse.pde.core.plugin">IExtensions</a>, <a href="../../../../../org/eclipse/pde/core/IIdentifiable.html" title="interface in org.eclipse.pde.core">IIdentifiable</a>, <a href="../../../../../org/eclipse/pde/core/plugin/IPluginBase.html" title="interface in org.eclipse.pde.core.plugin">IPluginBase</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/IWritable.html" title="interface in org.eclipse.pde.core">IWritable</a></dd>
</dl>
<hr>
<br>
<pre>public interface <span class="strong">IFragment</span>
extends <a href="../../../../../org/eclipse/pde/core/plugin/IPluginBase.html" title="interface in org.eclipse.pde.core.plugin">IPluginBase</a></pre>
<div class="block">A model object that represents the content of the fragment.xml
 file.</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/IFragment.html#P_PLUGIN_ID">P_PLUGIN_ID</a></strong></code>
<div class="block">A property that will be used to notify
 that a plugin id has changed.</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/IFragment.html#P_PLUGIN_VERSION">P_PLUGIN_VERSION</a></strong></code>
<div class="block">A property that will be used to notify
 that a plugin version has changed.</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/IFragment.html#P_RULE">P_RULE</a></strong></code>
<div class="block">A property that will be used to notify
 that a plugin version match rule has changed.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="fields_inherited_from_class_org.eclipse.pde.core.plugin.IPluginBase">
<!--   -->
</a>
<h3>Fields inherited from interface&nbsp;org.eclipse.pde.core.plugin.<a href="../../../../../org/eclipse/pde/core/plugin/IPluginBase.html" title="interface in org.eclipse.pde.core.plugin">IPluginBase</a></h3>
<code><a href="../../../../../org/eclipse/pde/core/plugin/IPluginBase.html#P_IMPORT_ORDER">P_IMPORT_ORDER</a>, <a href="../../../../../org/eclipse/pde/core/plugin/IPluginBase.html#P_LIBRARY_ORDER">P_LIBRARY_ORDER</a>, <a href="../../../../../org/eclipse/pde/core/plugin/IPluginBase.html#P_PROVIDER">P_PROVIDER</a>, <a href="../../../../../org/eclipse/pde/core/plugin/IPluginBase.html#P_SCHEMA_VERSION">P_SCHEMA_VERSION</a>, <a href="../../../../../org/eclipse/pde/core/plugin/IPluginBase.html#P_VERSION">P_VERSION</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="fields_inherited_from_class_org.eclipse.pde.core.plugin.IExtensions">
<!--   -->
</a>
<h3>Fields inherited from interface&nbsp;org.eclipse.pde.core.plugin.<a href="../../../../../org/eclipse/pde/core/plugin/IExtensions.html" title="interface in org.eclipse.pde.core.plugin">IExtensions</a></h3>
<code><a href="../../../../../org/eclipse/pde/core/plugin/IExtensions.html#P_EXTENSION_ORDER">P_EXTENSION_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>
<ul class="blockList">
<li class="blockList"><a name="fields_inherited_from_class_org.eclipse.pde.core.IIdentifiable">
<!--   -->
</a>
<h3>Fields inherited from interface&nbsp;org.eclipse.pde.core.<a href="../../../../../org/eclipse/pde/core/IIdentifiable.html" title="interface in org.eclipse.pde.core">IIdentifiable</a></h3>
<code><a href="../../../../../org/eclipse/pde/core/IIdentifiable.html#P_ID">P_ID</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="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/IFragment.html#getPluginId()">getPluginId</a></strong>()</code>
<div class="block">Returns the id of the fragment host.</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/IFragment.html#getPluginVersion()">getPluginVersion</a></strong>()</code>
<div class="block">Returns the version of the fragment host.</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/IFragment.html#getRule()">getRule</a></strong>()</code>
<div class="block">Returns an optional version match rule as defined in
 IMatchRule interface.</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/IFragment.html#setPluginId(java.lang.String)">setPluginId</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;id)</code>
<div class="block">Sets the id of the plug-in that will be the target of this fragment.</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/IFragment.html#setPluginVersion(java.lang.String)">setPluginVersion</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;version)</code>
<div class="block">Sets the version of the plug-in that will be the target of this fragment.'</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/IFragment.html#setRule(int)">setRule</a></strong>(int&nbsp;rule)</code>
<div class="block">Sets the optional version match rule as defined in IMatchRules.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_org.eclipse.pde.core.plugin.IPluginBase">
<!--   -->
</a>
<h3>Methods inherited from interface&nbsp;org.eclipse.pde.core.plugin.<a href="../../../../../org/eclipse/pde/core/plugin/IPluginBase.html" title="interface in org.eclipse.pde.core.plugin">IPluginBase</a></h3>
<code><a href="../../../../../org/eclipse/pde/core/plugin/IPluginBase.html#add(org.eclipse.pde.core.plugin.IPluginImport)">add</a>, <a href="../../../../../org/eclipse/pde/core/plugin/IPluginBase.html#add(org.eclipse.pde.core.plugin.IPluginLibrary)">add</a>, <a href="../../../../../org/eclipse/pde/core/plugin/IPluginBase.html#getImports()">getImports</a>, <a href="../../../../../org/eclipse/pde/core/plugin/IPluginBase.html#getLibraries()">getLibraries</a>, <a href="../../../../../org/eclipse/pde/core/plugin/IPluginBase.html#getProviderName()">getProviderName</a>, <a href="../../../../../org/eclipse/pde/core/plugin/IPluginBase.html#getSchemaVersion()">getSchemaVersion</a>, <a href="../../../../../org/eclipse/pde/core/plugin/IPluginBase.html#getVersion()">getVersion</a>, <a href="../../../../../org/eclipse/pde/core/plugin/IPluginBase.html#remove(org.eclipse.pde.core.plugin.IPluginImport)">remove</a>, <a href="../../../../../org/eclipse/pde/core/plugin/IPluginBase.html#remove(org.eclipse.pde.core.plugin.IPluginLibrary)">remove</a>, <a href="../../../../../org/eclipse/pde/core/plugin/IPluginBase.html#setProviderName(java.lang.String)">setProviderName</a>, <a href="../../../../../org/eclipse/pde/core/plugin/IPluginBase.html#setSchemaVersion(java.lang.String)">setSchemaVersion</a>, <a href="../../../../../org/eclipse/pde/core/plugin/IPluginBase.html#setVersion(java.lang.String)">setVersion</a>, <a href="../../../../../org/eclipse/pde/core/plugin/IPluginBase.html#swap(org.eclipse.pde.core.plugin.IPluginImport, org.eclipse.pde.core.plugin.IPluginImport)">swap</a>, <a href="../../../../../org/eclipse/pde/core/plugin/IPluginBase.html#swap(org.eclipse.pde.core.plugin.IPluginLibrary, org.eclipse.pde.core.plugin.IPluginLibrary)">swap</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_org.eclipse.pde.core.plugin.IExtensions">
<!--   -->
</a>
<h3>Methods inherited from interface&nbsp;org.eclipse.pde.core.plugin.<a href="../../../../../org/eclipse/pde/core/plugin/IExtensions.html" title="interface in org.eclipse.pde.core.plugin">IExtensions</a></h3>
<code><a href="../../../../../org/eclipse/pde/core/plugin/IExtensions.html#add(org.eclipse.pde.core.plugin.IPluginExtension)">add</a>, <a href="../../../../../org/eclipse/pde/core/plugin/IExtensions.html#add(org.eclipse.pde.core.plugin.IPluginExtensionPoint)">add</a>, <a href="../../../../../org/eclipse/pde/core/plugin/IExtensions.html#getExtensionPoints()">getExtensionPoints</a>, <a href="../../../../../org/eclipse/pde/core/plugin/IExtensions.html#getExtensions()">getExtensions</a>, <a href="../../../../../org/eclipse/pde/core/plugin/IExtensions.html#getIndexOf(org.eclipse.pde.core.plugin.IPluginExtension)">getIndexOf</a>, <a href="../../../../../org/eclipse/pde/core/plugin/IExtensions.html#remove(org.eclipse.pde.core.plugin.IPluginExtension)">remove</a>, <a href="../../../../../org/eclipse/pde/core/plugin/IExtensions.html#remove(org.eclipse.pde.core.plugin.IPluginExtensionPoint)">remove</a>, <a href="../../../../../org/eclipse/pde/core/plugin/IExtensions.html#swap(org.eclipse.pde.core.plugin.IPluginExtension, org.eclipse.pde.core.plugin.IPluginExtension)">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>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_org.eclipse.pde.core.IIdentifiable">
<!--   -->
</a>
<h3>Methods inherited from interface&nbsp;org.eclipse.pde.core.<a href="../../../../../org/eclipse/pde/core/IIdentifiable.html" title="interface in org.eclipse.pde.core">IIdentifiable</a></h3>
<code><a href="../../../../../org/eclipse/pde/core/IIdentifiable.html#getId()">getId</a>, <a href="../../../../../org/eclipse/pde/core/IIdentifiable.html#setId(java.lang.String)">setId</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_PLUGIN_ID">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>P_PLUGIN_ID</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_PLUGIN_ID</pre>
<div class="block">A property that will be used to notify
 that a plugin id has changed.</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#org.eclipse.pde.core.plugin.IFragment.P_PLUGIN_ID">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="P_PLUGIN_VERSION">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>P_PLUGIN_VERSION</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_PLUGIN_VERSION</pre>
<div class="block">A property that will be used to notify
 that a plugin version has changed.</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#org.eclipse.pde.core.plugin.IFragment.P_PLUGIN_VERSION">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="P_RULE">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>P_RULE</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_RULE</pre>
<div class="block">A property that will be used to notify
 that a plugin version match rule has changed.</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#org.eclipse.pde.core.plugin.IFragment.P_RULE">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="getPluginId()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPluginId</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;getPluginId()</pre>
<div class="block">Returns the id of the fragment host.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the host id</dd></dl>
</li>
</ul>
<a name="getPluginVersion()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPluginVersion</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;getPluginVersion()</pre>
<div class="block">Returns the version of the fragment host.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the host version</dd></dl>
</li>
</ul>
<a name="getRule()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRule</h4>
<pre>int&nbsp;getRule()</pre>
<div class="block">Returns an optional version match rule as defined in
 IMatchRule interface.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the match rule</dd></dl>
</li>
</ul>
<a name="setPluginId(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setPluginId</h4>
<pre>void&nbsp;setPluginId(<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;id)
                 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 id of the plug-in that will be the target of this fragment.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>id</code> - the id of the referenced plug-in.</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> - attempts to modify a read-only fragment will result in an exception</dd></dl>
</li>
</ul>
<a name="setPluginVersion(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setPluginVersion</h4>
<pre>void&nbsp;setPluginVersion(<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;version)
                      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 version of the plug-in that will be the target of this fragment.'</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>version</code> - the version of the referenced version.</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> - attempts to modify a read-only fragment will result in an exception</dd></dl>
</li>
</ul>
<a name="setRule(int)">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>setRule</h4>
<pre>void&nbsp;setRule(int&nbsp;rule)
             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 optional version match rule as defined in IMatchRules. This
 rule will be used when attempting to match the referenced plug-in
 version.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>rule</code> - the match rule to be used when locating the referenced the plug-in.</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> - attempts to modify a read-only fragment will result in an exception</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/IFragment.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/IExtensionsModelFactory.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/IFragmentModel.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/IFragment.html" target="_top">Frames</a></li>
<li><a href="IFragment.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