|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.esdihumboldt.hale.ui.service.project.internal.AbstractProjectService
eu.esdihumboldt.hale.ui.service.project.internal.ProjectServiceImpl
public class ProjectServiceImpl
Default implementation of the ProjectService
.
Constructor Summary | |
---|---|
ProjectServiceImpl()
Default constructor |
Method Summary | |
---|---|
void |
clean()
Clean the project, reset all services. |
void |
executeAndRemember(IOConfiguration conf)
Execute and remember the given I/O configuration. |
de.fhg.igd.osgi.util.configuration.IConfigurationService |
getConfigurationService()
Get a project scoped configuration service |
ProjectInfo |
getProjectInfo()
Get general information about the current project |
boolean |
isChanged()
Get if the project content is changed |
void |
load(URI uri)
Load a project from a given file. |
void |
open()
Open a project. |
void |
rememberIO(String actionId,
String providerId,
IOProvider provider)
Remember I/O operations after the execution of the corresponding I/O provider for storing it in the project. |
List<IOConfiguration> |
removeResources(String actionId)
Remove all resources of the specified actionId from the project. |
void |
save()
Save the project. |
void |
saveAs()
Save the project to the given file |
void |
setChanged()
Inform the service about a change in the project content. |
Methods inherited from class eu.esdihumboldt.hale.ui.service.project.internal.AbstractProjectService |
---|
addListener, notifyAfterLoad, notifyBeforeSave, notifyClean, removeListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface eu.esdihumboldt.hale.ui.service.project.ProjectService |
---|
addListener, removeListener |
Constructor Detail |
---|
public ProjectServiceImpl()
Method Detail |
---|
public boolean isChanged()
ProjectService
isChanged
in interface ProjectService
ProjectService.isChanged()
public void setChanged()
ProjectService
setChanged
in interface ProjectService
ProjectService.setChanged()
public void clean()
ProjectService
clean
in interface ProjectService
ProjectService.clean()
public void load(URI uri)
ProjectService
load
in interface ProjectService
uri
- the project fileProjectService.load(URI)
public void save()
ProjectService
ProjectService.saveAs()
if needed.
save
in interface ProjectService
ProjectService.save()
public de.fhg.igd.osgi.util.configuration.IConfigurationService getConfigurationService()
ProjectService
getConfigurationService
in interface ProjectService
ProjectService.getConfigurationService()
public void saveAs()
ProjectService
saveAs
in interface ProjectService
ProjectService.saveAs()
public void open()
ProjectService
open
in interface ProjectService
ProjectService.open()
public ProjectInfo getProjectInfo()
ProjectService
getProjectInfo
in interface ProjectService
ProjectService.getProjectInfo()
public void rememberIO(String actionId, String providerId, IOProvider provider)
ProjectService
rememberIO
in interface ProjectService
actionId
- the I/O action identifierproviderId
- the I/O provider identifierprovider
- the I/O provider instance used for the I/O operationProjectService.rememberIO(String, String, IOProvider)
public List<IOConfiguration> removeResources(String actionId)
ProjectService
removeResources
in interface ProjectService
actionId
- the I/O action identifier
ProjectService.removeResources(java.lang.String)
public void executeAndRemember(IOConfiguration conf)
ProjectService
executeAndRemember
in interface ProjectService
conf
- the I/O configurationProjectService.executeAndRemember(eu.esdihumboldt.hale.common.core.io.project.model.IOConfiguration)
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |