ilog.rules.studio.model.resource

Interface IlrResourceElement

    • Method Detail

      • getResource

        org.eclipse.core.resources.IResource getResource()
        Returns the value of the 'Resource' attribute.

        This returns the resource associated with this element.

        Returns:
        the value of the 'Resource' attribute.
        See Also:
        ilog.rules.studio.model.resource.IlrResourceElement.setResource(org.eclipse.core.resources.IResource), IlrResourcePackage.getResourceElement_Resource()
      • getOriginal

        IlrResourceElement getOriginal()
        Returns the value of the 'Original' reference.

        This methods returns the original element when the current element is a working copy.

        Returns:
        the value of the 'Original' reference.
        See Also:
        , ilog.rules.studio.model.resource.IlrResourceElement.setOriginal(ilog.rules.studio.model.resource.IlrResourceElement), IlrResourcePackage.getResourceElement_Original()
      • deleteElement

        void deleteElement(boolean keepEclipseResource)
        Delete this element and eventually delete the corresponding resource in the eclipse workspace.

      • isWorkingCopy

        boolean isWorkingCopy()
        Indicates if this resource element is a working copy of a model element.

        Rule Designer editors use working copies of the Rule Model elements as their editing model. This ensures that the editors do not modify the Rule Model directly. They modify some copies of the model. When the editors are saved, Rule Designer reconciles the content of the working copies with the original Rule Model elements.

© Copyright IBM Corp. 1987, 2017