public class WoofTemplateExtensionSourceExtensionContextImpl extends Object implements WoofTemplateExtensionSourceExtensionContext
WoofTemplateExtensionSourceExtensionContext
implementation.Constructor and Description |
---|
WoofTemplateExtensionSourceExtensionContextImpl(PropertyList propertyList,
SectionSourceExtensionContext context)
Initiate.
|
Modifier and Type | Method and Description |
---|---|
org.eclipse.core.resources.IProject |
getProject()
Obtains the
IProject that is adding the
WoofTemplateExtensionSource . |
PropertyList |
getPropertyList()
Obtains the
PropertyList . |
void |
notifyPropertiesChanged()
Notifies of a change to the
PropertyList . |
void |
setErrorMessage(String message)
Specifies an error message.
|
public WoofTemplateExtensionSourceExtensionContextImpl(PropertyList propertyList, SectionSourceExtensionContext context)
propertyList
- PropertyList
.context
- SectionSourceExtensionContext
.public PropertyList getPropertyList()
WoofTemplateExtensionSourceExtensionContext
Obtains the PropertyList
. All changes to Property
instances for the WoofTemplateExtensionSource
are to be done on
this PropertyList
.
The PropertyList
may be in any state:
PropertyList
populated from the
WoofTemplateExtensionSourceSpecification
(creating a
WoofTemplateExtensionSource
)WoofTemplateExtensionSource
getPropertyList
in interface WoofTemplateExtensionSourceExtensionContext
PropertyList
.public void notifyPropertiesChanged()
WoofTemplateExtensionSourceExtensionContext
Notifies of a change to the PropertyList
.
This allows for to report issues in attempting to source the
Change
from the WoofTemplateExtensionSource
with the
PropertyList
.
notifyPropertiesChanged
in interface WoofTemplateExtensionSourceExtensionContext
public void setErrorMessage(String message)
WoofTemplateExtensionSourceExtensionContext
setErrorMessage
in interface WoofTemplateExtensionSourceExtensionContext
message
- Error message. null
indicating no error.public org.eclipse.core.resources.IProject getProject()
WoofTemplateExtensionSourceExtensionContext
IProject
that is adding the
WoofTemplateExtensionSource
.getProject
in interface WoofTemplateExtensionSourceExtensionContext
IProject
that is adding the
WoofTemplateExtensionSource
.Copyright © 2005–2016. All rights reserved.