public interface IlrResourceElement extends IlrModelElement
IlrResourceElement is the superclass of all the Rule Model elements which are
directly map to a resource.
The following features are supported:
| Modifier and Type | Method and Description |
|---|---|
void |
deleteElement(boolean keepEclipseResource)
Delete this element and eventually delete the corresponding resource in the eclipse workspace.
|
IlrResourceElement |
getOriginal()
Returns the value of the 'Original' reference.
|
org.eclipse.core.resources.IResource |
getResource()
Returns the value of the 'Resource' attribute.
|
boolean |
isWorkingCopy()
Indicates if this resource element is a working copy of a model
element.
|
getName, getUuid, setName, setUuidcloneElement, createAnnotation, deleteElement, fillWith, getAdapter, getDisplayName, getModel, isDeleted, isValid, setPropertyValue, setPropertyValuegetEAnnotation, getEAnnotationseAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnseteAdapters, eDeliver, eNotify, eSetDelivereClass, getPropertyValue, getPropertyValue, isInstanceOforg.eclipse.core.resources.IResource getResource()
This returns the resource associated with this element.
ilog.rules.studio.model.resource.IlrResourceElement.setResource(org.eclipse.core.resources.IResource),
IlrResourcePackage.getResourceElement_Resource()IlrResourceElement getOriginal()
This methods returns the original element when the current element is a working copy.
,
ilog.rules.studio.model.resource.IlrResourceElement.setOriginal(ilog.rules.studio.model.resource.IlrResourceElement),
IlrResourcePackage.getResourceElement_Original()void deleteElement(boolean keepEclipseResource)
boolean isWorkingCopy()
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