Package net.officefloor.eclipse.bridge
Class ProjectConfigurationContext
- java.lang.Object
-
- net.officefloor.configuration.impl.ConfigurationContextImpl
-
- net.officefloor.configuration.impl.AbstractWritableConfigurationContext
-
- net.officefloor.eclipse.bridge.ProjectConfigurationContext
-
- All Implemented Interfaces:
ConfigurationContext
,WritableConfigurationContext
public class ProjectConfigurationContext extends AbstractWritableConfigurationContext
- Author:
- Daniel Sagenschneider
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.officefloor.configuration.impl.AbstractWritableConfigurationContext
AbstractWritableConfigurationContext.ConfigurationRemover, AbstractWritableConfigurationContext.ConfigurationWriter
-
Nested classes/interfaces inherited from class net.officefloor.configuration.impl.ConfigurationContextImpl
ConfigurationContextImpl.ConfigurationSource
-
-
Field Summary
-
Fields inherited from interface net.officefloor.configuration.ConfigurationContext
DEFAULT_TAG_PREFIX, DEFAULT_TAG_SUFFIX, PROPERTY_CONFIGURATION_INPUT_CHARSET, PROPERTY_CONFIGURATION_INPUT_TAG_PREFIX, PROPERTY_CONFIGURATION_INPUT_TAG_SUFFIX, PROPERTY_CONFIGURATION_OUTPUT_CHARSET
-
-
Constructor Summary
Constructors Constructor Description ProjectConfigurationContext(org.eclipse.core.resources.IProject project)
Initiate with theIProject
providing context.ProjectConfigurationContext(org.eclipse.core.resources.IProject project, org.eclipse.core.runtime.IProgressMonitor monitor)
Initiate with theIProject
providing context.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.core.resources.IProject
getProject()
Obtain theIProject
.static WritableConfigurationItem
getWritableConfigurationItem(org.eclipse.core.resources.IFile file, org.eclipse.core.runtime.IProgressMonitor monitor)
Obtains theWritableConfigurationItem
for theIFile
.-
Methods inherited from class net.officefloor.configuration.impl.AbstractWritableConfigurationContext
createConfigurationItem, createConfigurationItem, deleteConfigurationItem, getConfigurationSource, getWritableConfigurationItem, init
-
Methods inherited from class net.officefloor.configuration.impl.ConfigurationContextImpl
getConfigurationItem, getOptionalConfigurationItem
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.officefloor.configuration.ConfigurationContext
getConfigurationItem, getOptionalConfigurationItem
-
-
-
-
Constructor Detail
-
ProjectConfigurationContext
public ProjectConfigurationContext(org.eclipse.core.resources.IProject project)
Initiate with theIProject
providing context.- Parameters:
project
-IProject
providing context.
-
ProjectConfigurationContext
public ProjectConfigurationContext(org.eclipse.core.resources.IProject project, org.eclipse.core.runtime.IProgressMonitor monitor)
Initiate with theIProject
providing context.- Parameters:
project
-IProject
providing context.monitor
-IProgressMonitor
. If only retrieving may specifynull
.
-
-
Method Detail
-
getWritableConfigurationItem
public static WritableConfigurationItem getWritableConfigurationItem(org.eclipse.core.resources.IFile file, org.eclipse.core.runtime.IProgressMonitor monitor)
Obtains theWritableConfigurationItem
for theIFile
.- Parameters:
file
-IFile
.monitor
-IProgressMonitor
.- Returns:
WritableConfigurationItem
.
-
getProject
public org.eclipse.core.resources.IProject getProject()
Obtain theIProject
.- Returns:
IProject
.
-
-