|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ProjectService
The ProjectService
manages information on a HALE project, such as the
loaded schemas, instances etc.
Method Summary | |
---|---|
void |
addListener(ProjectServiceListener listener)
Adds a project service listener |
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. |
void |
removeListener(ProjectServiceListener listener)
Removes a project service listener |
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. |
Method Detail |
---|
void addListener(ProjectServiceListener listener)
listener
- the listener to addvoid removeListener(ProjectServiceListener listener)
listener
- the listener to removevoid rememberIO(String actionId, String providerId, IOProvider provider)
actionId
- the I/O action identifierproviderId
- the I/O provider identifierprovider
- the I/O provider instance used for the I/O operationvoid executeAndRemember(IOConfiguration conf)
conf
- the I/O configurationList<IOConfiguration> removeResources(String actionId)
actionId
- the I/O action identifier
rememberIO(String, String, IOProvider)
de.fhg.igd.osgi.util.configuration.IConfigurationService getConfigurationService()
ProjectInfo getProjectInfo()
boolean isChanged()
void setChanged()
void clean()
void load(URI uri)
uri
- the project filevoid open()
void save()
saveAs()
if needed.
void saveAs()
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |