public interface IlrResourceManager
extends org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.resource.ResourceSet
The resource manager manages the mapping between the eclipse workspace and the Rule Model.
| Modifier and Type | Method and Description |
|---|---|
IlrResourceElement |
getElementFromResource(org.eclipse.core.resources.IResource resource)
Gets the
IlrResourceElement corresponding to this resource. |
IlrRuleModel |
getModel()
Returns the value of the 'Model' reference.
|
org.eclipse.emf.common.util.EList<IlrResourceManagerListener> |
getResourceListeners()
Returns the value of the 'Resource Listeners' attribute list.
|
org.eclipse.core.resources.IWorkspace |
getWorkspace()
Returns the value of the 'Workspace' attribute.
|
void |
saveElement(IlrResourceElement element)
Save this element in the workspace at the location given by its resource.
|
void |
saveElement(IlrResourceElement element,
boolean registerSavingThread) |
<T extends IlrResourceElement> |
saveElements(java.util.Collection<T> elements) |
void |
saveElements(org.eclipse.emf.common.util.EList<IlrResourceElement> elements) |
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetcreateResource, createResource, getAdapterFactories, getAllContents, getEObject, getLoadOptions, getPackageRegistry, getResource, getResourceFactoryRegistry, getResources, getURIConverter, setPackageRegistry, setResourceFactoryRegistry, setURIConverterorg.eclipse.core.resources.IWorkspace getWorkspace()
Same as PlatformResources.getWorkspace()
ilog.rules.studio.model.resource.IlrResourceManager.setWorkspace(org.eclipse.core.resources.IWorkspace),
IlrResourcePackage.getResourceManager_Workspace()org.eclipse.emf.common.util.EList<IlrResourceManagerListener> getResourceListeners()
The list contents are of type IlrResourceManagerListener.
The resource listeners are listeners towards which the resource manager is redirecting the resource change events from the workspace.
IlrResourcePackage.getResourceManager_ResourceListeners()IlrRuleModel getModel()
It is bidirectional and its opposite is 'Resource Manager'.
Gets the rule model
ilog.rules.studio.model.resource.IlrResourceManager.setModel(ilog.rules.studio.model.IlrRuleModel),
IlrResourcePackage.getResourceManager_Model(),
IlrRuleModel.getResourceManager()IlrResourceElement getElementFromResource(org.eclipse.core.resources.IResource resource)
IlrResourceElement corresponding to this resource.
void saveElement(IlrResourceElement element) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException - IlrResourceElement.getResource()void saveElement(IlrResourceElement element, boolean registerSavingThread) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreExceptionvoid saveElements(org.eclipse.emf.common.util.EList<IlrResourceElement> elements)
<T extends IlrResourceElement> void saveElements(java.util.Collection<T> elements) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException© Copyright IBM Corp. 1987, 2017