|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.officefloor.eclipse.repository.project.ProjectConfigurationContext
public class ProjectConfigurationContext
Implementation of ConfigurationContext for a IProject
providing context for a IFile.
| Constructor Summary | |
|---|---|
ProjectConfigurationContext(org.eclipse.ui.IEditorInput editorInput)
Convenience constructor. |
|
ProjectConfigurationContext(org.eclipse.core.resources.IProject project)
Initiate with the IProject providing context. |
|
ProjectConfigurationContext(org.eclipse.core.resources.IProject project,
org.eclipse.core.runtime.IProgressMonitor monitor)
Initiate with the IProject providing context. |
|
| Method Summary | |
|---|---|
net.officefloor.model.repository.ConfigurationItem |
createConfigurationItem(String location,
InputStream configuration)
|
void |
deleteConfigurationItem(String path)
|
net.officefloor.model.repository.ConfigurationItem |
getConfigurationItem(String location)
|
String |
getLocation()
|
org.eclipse.core.resources.IProject |
getProject()
Obtain the IProject. |
static org.eclipse.core.resources.IProject |
getProject(org.eclipse.ui.IEditorInput editorInput)
Obtains the IProject from the input IEditorInput. |
boolean |
isReadOnly()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProjectConfigurationContext(org.eclipse.core.resources.IProject project)
IProject providing context.
project - IProject providing context.public ProjectConfigurationContext(org.eclipse.ui.IEditorInput editorInput)
editorInput - IEditorInput.
public ProjectConfigurationContext(org.eclipse.core.resources.IProject project,
org.eclipse.core.runtime.IProgressMonitor monitor)
IProject providing context.
project - IProject providing context.monitor - IProgressMonitor. If only retrieving may specify
null.| Method Detail |
|---|
public static org.eclipse.core.resources.IProject getProject(org.eclipse.ui.IEditorInput editorInput)
IProject from the input IEditorInput.
editorInput - IEditorInput.
IProject for the input IEditorInput.public org.eclipse.core.resources.IProject getProject()
IProject.
IProject.public String getLocation()
getLocation in interface net.officefloor.model.repository.ConfigurationContext
public net.officefloor.model.repository.ConfigurationItem getConfigurationItem(String location)
throws Exception
getConfigurationItem in interface net.officefloor.model.repository.ConfigurationContextExceptionpublic boolean isReadOnly()
isReadOnly in interface net.officefloor.model.repository.ConfigurationContext
public net.officefloor.model.repository.ConfigurationItem createConfigurationItem(String location,
InputStream configuration)
throws Exception
createConfigurationItem in interface net.officefloor.model.repository.ConfigurationContextException
public void deleteConfigurationItem(String path)
throws Exception,
net.officefloor.model.repository.ReadOnlyConfigurationException
deleteConfigurationItem in interface net.officefloor.model.repository.ConfigurationContextException
net.officefloor.model.repository.ReadOnlyConfigurationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||