ilog.rules.studio.model.resource

Interface IlrResourceManager

  • All Superinterfaces:
    org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.resource.ResourceSet


    public interface IlrResourceManager
    extends org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.resource.ResourceSet
    A representation of the model object 'ResourceManager'.

    The resource manager manages the mapping between the eclipse workspace and the Rule Model.

    See Also:
    IlrResourcePackage.getResourceManager()
    • Field Summary

      • Fields inherited from interface org.eclipse.emf.ecore.resource.ResourceSet

        RESOURCE_SET__RESOURCES
    • Method Summary

      Methods 
      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> 
      void
      saveElements(java.util.Collection<T> elements) 
      void saveElements(org.eclipse.emf.common.util.EList<IlrResourceElement> elements) 
      • Methods inherited from interface org.eclipse.emf.ecore.EObject

        eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
      • Methods inherited from interface org.eclipse.emf.ecore.resource.ResourceSet

        createResource, createResource, getAdapterFactories, getAllContents, getEObject, getLoadOptions, getPackageRegistry, getResource, getResourceFactoryRegistry, getResources, getURIConverter, setPackageRegistry, setResourceFactoryRegistry, setURIConverter
      • Methods inherited from interface org.eclipse.emf.common.notify.Notifier

        eAdapters, eDeliver, eNotify, eSetDeliver
    • Method Detail

      • getWorkspace

        org.eclipse.core.resources.IWorkspace getWorkspace()
        Returns the value of the 'Workspace' attribute.

        Same as PlatformResources.getWorkspace()

        Returns:
        the value of the 'Workspace' attribute.
        See Also:
        ilog.rules.studio.model.resource.IlrResourceManager.setWorkspace(org.eclipse.core.resources.IWorkspace), IlrResourcePackage.getResourceManager_Workspace()
      • saveElement

        void saveElement(IlrResourceElement element)
                         throws org.eclipse.core.runtime.CoreException
        Save this element in the workspace at the location given by its resource.
        Throws:
        org.eclipse.core.runtime.CoreException -
        See Also:
        IlrResourceElement.getResource()
      • saveElement

        void saveElement(IlrResourceElement element,
                       boolean registerSavingThread)
                         throws org.eclipse.core.runtime.CoreException
        Throws:
        org.eclipse.core.runtime.CoreException
      • saveElements

        void saveElements(org.eclipse.emf.common.util.EList<IlrResourceElement> elements)
      • saveElements

        <T extends IlrResourceElement> void saveElements(java.util.Collection<T> elements)
                          throws org.eclipse.core.runtime.CoreException
        Throws:
        org.eclipse.core.runtime.CoreException

© Copyright IBM Corp. 1987, 2017