|
||||||||||
| 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 | |
|---|---|
ConfigurationItem |
createConfigurationItem(String location,
InputStream configuration)
|
void |
deleteConfigurationItem(String path)
|
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 ConfigurationContext
public ConfigurationItem getConfigurationItem(String location)
throws Exception
getConfigurationItem in interface ConfigurationContextExceptionpublic boolean isReadOnly()
isReadOnly in interface ConfigurationContext
public ConfigurationItem createConfigurationItem(String location,
InputStream configuration)
throws Exception
createConfigurationItem in interface ConfigurationContextException
public void deleteConfigurationItem(String path)
throws Exception,
ReadOnlyConfigurationException
deleteConfigurationItem in interface ConfigurationContextException
ReadOnlyConfigurationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||