|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.cdt.managedbuilder.internal.core.AdditionalInput
public class AdditionalInput
Field Summary |
---|
Fields inherited from interface org.eclipse.cdt.managedbuilder.core.IAdditionalInput |
---|
ADDITIONAL_DEPENDENCY, ADDITIONAL_INPUT, ADDITIONAL_INPUT_DEPENDENCY, ADDITIONAL_INPUT_ELEMENT_NAME, KIND, KIND_ADDITIONAL_DEPENDENCY, KIND_ADDITIONAL_INPUT, KIND_ADDITIONAL_INPUT_DEPENDENCY, PATHS |
Constructor Summary | |
---|---|
AdditionalInput(IInputType parent,
AdditionalInput additionalInput)
Create an AdditionalInput based upon an existing AdditionalInput. |
|
AdditionalInput(IInputType parent,
org.eclipse.cdt.core.settings.model.ICStorageElement element)
Create an AdditionalInput based on the specification stored in the
project file (.cdtbuild). |
|
AdditionalInput(IInputType parent,
IManagedConfigElement element)
This constructor is called to create an AdditionalInput defined by an extension point in a plugin manifest file, or returned by a dynamic element provider |
|
AdditionalInput(InputType parent,
boolean isExtensionElement)
This constructor is called to create an AdditionalInput whose attributes and children will be added by separate calls. |
Method Summary | |
---|---|
int |
getKind()
Returns the kind of additional input. |
IInputType |
getParent()
Returns the InputType parent of this AdditionalInput. |
java.lang.String[] |
getPaths()
Returns an array of the relative or absolute paths of the resources to which this element applies. |
boolean |
isDirty()
Returns true if this element has changes that need to
be saved in the project file, else false . |
boolean |
isExtensionElement()
|
boolean |
needsRebuild()
|
void |
resolveReferences()
|
void |
serialize(org.eclipse.cdt.core.settings.model.ICStorageElement element)
Persist the AdditionalInput to the project file. |
void |
setDirty(boolean isDirty)
Sets the element's "dirty" (have I been modified?) |
void |
setKind(int newKind)
Sets the kind of additional input. |
void |
setPaths(java.lang.String newPaths)
Sets semi-colon separated list of the relative or absolute paths of the resources to which this element applies. |
void |
setRebuildState(boolean rebuild)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AdditionalInput(IInputType parent, IManagedConfigElement element)
parent
- The IInputType parent of this AdditionalInputelement
- The AdditionalInput definition from the manifest file or a dynamic element
providerpublic AdditionalInput(InputType parent, boolean isExtensionElement)
InputType
- The parent of the an AdditionalInputboolean
- Indicates whether this is an extension element or a managed project elementpublic AdditionalInput(IInputType parent, org.eclipse.cdt.core.settings.model.ICStorageElement element)
AdditionalInput
based on the specification stored in the
project file (.cdtbuild).
parent
- The ITool
the AdditionalInput will be added to.element
- The XML element that contains the AdditionalInput settings.public AdditionalInput(IInputType parent, AdditionalInput additionalInput)
AdditionalInput
based upon an existing AdditionalInput.
parent
- The IInputType
the AdditionalInput will be added to.additionalInput
- The existing AdditionalInput to clone.Method Detail |
---|
public void serialize(org.eclipse.cdt.core.settings.model.ICStorageElement element)
doc
- element
- public IInputType getParent()
IAdditionalInput
getParent
in interface IAdditionalInput
public java.lang.String[] getPaths()
IAdditionalInput
getPaths
in interface IAdditionalInput
public void setPaths(java.lang.String newPaths)
IAdditionalInput
setPaths
in interface IAdditionalInput
public int getKind()
IAdditionalInput
getKind
in interface IAdditionalInput
public void setKind(int newKind)
IAdditionalInput
setKind
in interface IAdditionalInput
public boolean isExtensionElement()
public boolean isDirty()
IAdditionalInput
true
if this element has changes that need to
be saved in the project file, else false
.
isDirty
in interface IAdditionalInput
public void setDirty(boolean isDirty)
IAdditionalInput
setDirty
in interface IAdditionalInput
public void resolveReferences()
public boolean needsRebuild()
public void setRebuildState(boolean rebuild)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |