## Uses of Interface
com.microfocus.awm.model.IElement

- Packages that use IElement
  Package | Description
  --- | ---
  com.microfocus.awm.control | Contains basic classes for executing AWM actions, like the ActionExecutor.
  com.microfocus.awm.core | Contains central helper classes (like TaurusUtility) and basic implementations of AWM interfaces.
  com.microfocus.awm.model | Contains interfaces which provide access to AWM managed resources at run-time like AWM applications, elements, element lists, filters, file descriptors, actions, tools, properties and the master configuration, and so on.
  com.microfocus.awm.model.internal | Internal implementations of AWM interfaces.

- - ### Uses of IElement in com.microfocus.awm.control

    Methods in com.microfocus.awm.control that return IElement
    Modifier and Type | Method and Description
    --- | ---
    `static IElement` | EditUtilities.`getElementFromContext(IExecutionContext pContext)` Gets the element from the context.
    `static IElement` | ElementlistManager.`getLastInsertedElement()` Deprecated. does not work anymore. Use logical resource operation names ( `RActionTool.getAffectedResourceName()`).

    Methods in com.microfocus.awm.control with parameters of type IElement
    Modifier and Type | Method and Description
    --- | ---
    `static void` | EditUtilities.`createLocalFile(FileDescriptor pFileDescr, IElement pElement, IExecutionContext pContext, org.eclipse.core.runtime.IProgressMonitor pMon)` Creates a local IFile in the internal TAURUS project and maintains the internal maps for local edit.
    `static FileDescriptor` | EditUtilities.`createTempFile(FileDescriptor pFDSource, java.lang.String pFileName, IElement pElement, IExecutionContext pContext, boolean pReadOnly)` Creates a temporary local file within the TAURUS file system.
    `static void` | EditUtilities.`doLocalSyntaxCheck(IElement pElement, FileDescriptor pFd)` Perform the local syntax check to a local IFile in the internal TAURUS project.
    `static org.eclipse.core.resources.IFile` | EditUtilities.`getLocalFile(IElement pElement)` Uses the element's ID definition to get the persistent workspace path of the given element.

  - ### Uses of IElement in com.microfocus.awm.core

    Methods in com.microfocus.awm.core that return IElement
    Modifier and Type | Method and Description
    --- | ---
    `IElement` | TaurusFactory.`createElement(java.lang.String pElementId, ElementType pElementTyp)` Creates a new element.
    `static IElement` | TaurusModelUtilities.`findLinkedElement(ITaurusApplication pApplication, java.lang.String pResourceIdentifier, java.lang.String pLinkedElementTypeID)` Finds a linked element from the given resource identifier.
    `static IElement` | TaurusModelUtilities.`findLinkedElement(ITaurusApplication pApplication, java.lang.String pResourceIdentifier, java.lang.String[] pLinkedElementTypeIDs)` Finds a linked element from the given resource identifier and an array of linked element type IDs.
    `static IElement` | TaurusModelUtilities.`findLinkedElement(java.lang.String pResourceIdentifier, LinkedElementType pLinkedElementType, java.lang.String pIDPrefix)` Deprecated. Use `TaurusModelUtilities.findLinkedElement(String, List)` instead, which is much more time efficient.
    `static IElement` | TaurusModelUtilities.`findLinkedElement(java.lang.String pResourceID, java.util.List<LinkedElementType> pAffectedElementTypes)` Calls `TaurusModelUtilities.findLinkedElement(String, LinkedElementType, String)` for every given linked element type.
    `static IElement` | TaurusModelUtilities.`findLinkedElement(java.lang.String pResourceIdentifier, java.lang.String pIDPrefix)` Finds a linked element from the given resource identifier.
    `IElement` | TaurusNotification.`getElement()` Returns a `IElement` or `null`, depending on the `TaurusNotification._type`:

    Methods in com.microfocus.awm.core with parameters of type IElement
    Modifier and Type | Method and Description
    --- | ---
    `static void` | TaurusUtility.`associatePropertyGroup(IElement pElement, org.eclipse.core.resources.IFile pFile)` Associate the property group corresponding to the giving element to the giving file.
    `IElementListEntry` | TaurusFactory.`createElementListEntry(IElementList pElementList, java.lang.String pElementListEntryID, IElement pElement)` Creates a new element list entry.
    `IErrorFeedbackEntry` | TaurusFactory.`createErrorFeedbackEntry(java.lang.String pFileName, java.lang.String pMsgText, java.lang.String pMsgNUMBER, java.lang.String pMsgLine, IElement pResource)` Creates an error feedback entry.
    `IErrorFeedbackEntry` | TaurusFactory.`createErrorFeedbackEntry(java.lang.String pFileName, java.lang.String pMsgText, java.lang.String pMsgNUMBER, java.lang.String pMsgLine, IElement pResource, java.util.Map<java.lang.String,java.lang.String> pCustomFileAttributes, java.util.Map<java.lang.String,java.lang.String> pCustomMessageAttributes)` Creates an error feedback entry.
    `static void` | TaurusUtility.`deletePropertyGroup(IElement pElement)` Removes a property group from the given element.
    `static boolean` | TaurusUtility.`doLocalSyntaxCheck(IElement pElement, org.eclipse.core.resources.IFile file)` Perform the local syntax check to a giving element.
    `static void` | TaurusUtility.`downloadCopyBooks(IElement pElement, FileDescriptor pFileDescr, java.lang.String pLanguageCategory, IExecutionContext pContext)` Download the copybooks from host.
    `static IPropertyValue` | TaurusModelUtilities.`getElementName(IElement pElement)` Gets the property value of the `RElementProperty` relationship which has the flag "Element Name" set to `true`.
    `static java.lang.String` | TaurusUtility.`getPropertyGroupName(IElement pElement)` Gets the property group name of the element.
    `static boolean` | TaurusModelUtilities.`isPropertyOfElementType(Property pProp, IElement pElement)` Checks whether the property is modelled as a property of the given element type.
    `void` | TaurusNotification.`setElement(IElement pElement)` Sets the element for element based notification.

    Constructors in com.microfocus.awm.core with parameters of type IElement
    Constructor and Description
    `TaurusNotification(ETaurusNotification pType, IElement pElement)` Constructor used for notifications which evolve an element.
    `TaurusNotification(IElement pDeletedElement, java.util.Collection<IElementListEntry> pDeletedElementListEntries)` Constructor for a `ETaurusNotification.ELEMENT_REMOVED` notification.

  - ### Uses of IElement in com.microfocus.awm.model

    Methods in com.microfocus.awm.model that return IElement
    Modifier and Type | Method and Description
    --- | ---
    `IElement` | SimpleResourceIdentifier.`getElement()`
    `IElement` | IResourceIdentifier.`getElement()` Gets the linked element.
    `IElement` | IElementListEntry.`getElement()` Gets the corresponding element.
    `IElement` | IElementDirectory.`getElement(java.lang.String pElementId)` Get the element with the given ID from the TAURUS element directory.
    `IElement` | IElementDirectory.`getElementForFile(org.eclipse.core.resources.IFile pFile)` Deprecated. not used anymore. There is no safe way to get an element from a physical file.
    `IElement` | IElementDirectory.`getElementForPath(org.eclipse.core.runtime.IPath pFullPath)` Deprecated. not used anymore. There is no safe way to get an element from a physical file.

    Methods in com.microfocus.awm.model that return types with arguments of type IElement
    Modifier and Type | Method and Description
    --- | ---
    `java.util.Set<IElement>` | IElementDirectory.`getElements(ElementType pElementTyp)` Get all elements for the specified type.

    Methods in com.microfocus.awm.model with parameters of type IElement
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | IElementDirectory.`addElement(IElement pElement)` Add an element to the TAURUS element directory.
    `boolean` | IElementDirectory.`addElementList(IElement pElement, java.lang.String pElementListID)` Add the list id to the list of element lists in which the element is contained.
    `boolean` | IElementDirectory.`addElementListEntries(IElementListEntry pElementListEntry, IElement pElement)` Deprecated. Do not use. Not required anymore. Element list entries are automatically maintained in the directory.
    `boolean` | IElementDirectory.`changeElementType(IElement pElement, ElementType pNewElementType)` Changes the element type of the given element.
    `void` | IPropertyGroupManager.`deleteSpecialPropertyGroup(IElement pElement)` Deprecated. Delete the special property 'PropertyGroup' for this element if existing.
    `void` | IPropertyGroupManager.`downloadCopyBooks(IElement pElement, org.eclipse.core.resources.IResource pRes, java.lang.String pPropertyGroupName, FileDescriptor pFileDescr, java.lang.String pLanguageCategory, IExecutionContext pContext)` Deprecated. Download the copybooks in the folder corresponding to the structure of the giving element.
    `java.util.Set<IElementListEntry>` | IElementDirectory.`getElementListEntries(IElement pElement)` Gets element list entries that belong to the given element.
    `IElementListEntry` | IElementList.`getElementListEntry(IElement pElment)` Gets the element list entry of this list for the given element.
    `void` | AbstractLinkedElementTypeIdentificator.`initializeRestoredElement(IElement pElement, ISystemImage pImage, org.eclipse.core.runtime.IProgressMonitor pMon)` Initializes an `IElement` that has been restored from cache, if any initialization is needed.
    `ToolExecutionStatus` | ITaurusPropertySetUtilities.`propertySetAssociatorUI(IExecutionContext pContext, ToolDescriptor pTd, Property pPropertySet, FileDescriptor pFileDescriptor, IElement pElement, java.lang.Boolean pIsLocalPropertySet, org.eclipse.core.runtime.IProgressMonitor pMon)` Deprecated. Allows the user to select the property set that will be associated to the element via a dialog.
    `void` | IElementDirectory.`removeElement(IElement pElement)` Remove the given element from the TAURUS element directory and all element lists in which it is contained.

    Constructors in com.microfocus.awm.model with parameters of type IElement
    Constructor and Description
    `SimpleResourceIdentifier(IElement pElement)` Constructor for SimpleResourceIdentifier; sets the AWM element of the class.

  - ### Uses of IElement in com.microfocus.awm.model.internal

    Classes in com.microfocus.awm.model.internal that implement IElement
    Modifier and Type | Class and Description
    --- | ---
    `class` | `Element` Main implementation of `IElement`.

    Methods in com.microfocus.awm.model.internal that return IElement
    Modifier and Type | Method and Description
    --- | ---
    `IElement` | ElementListEntry.`getElement()`
    `IElement` | ElementDirectory.`getElement(java.lang.String pElementId)`
    `IElement` | ElementDirectory.`getElementForFile(org.eclipse.core.resources.IFile pFile)`
    `IElement` | ElementDirectory.`getElementForPath(org.eclipse.core.runtime.IPath pFullPath)`

    Methods in com.microfocus.awm.model.internal that return types with arguments of type IElement
    Modifier and Type | Method and Description
    --- | ---
    `java.util.Set<IElement>` | ElementDirectory.`getElements(ElementType pElementTyp)` get all elements belonging to the specified type

    Methods in com.microfocus.awm.model.internal with parameters of type IElement
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | ElementDirectory.`addElement(IElement pElement)`
    `boolean` | ElementDirectory.`addElementList(IElement pElement, java.lang.String pElementListID)`
    `boolean` | ElementDirectory.`addElementListEntries(IElementListEntry pElementListEntry, IElement pElement)`
    `boolean` | ElementDirectory.`changeElementType(IElement pElement, ElementType newElementType)`
    `java.util.Set<IElementListEntry>` | ElementDirectory.`getElementListEntries(IElement pElement)`
    `IElementListEntry` | ElementList.`getElementListEntry(IElement pElment)`
    `void` | ElementDirectory.`removeElement(IElement pElement)`

    Constructors in com.microfocus.awm.model.internal with parameters of type IElement
    Constructor and Description
    `ElementListEntry(IElementList pElementList, java.lang.String pElementListEntryID, IElement pElement)` Constructor for loading an element list entry from cache.
    `ErrorFeedbackEntry(java.lang.String pFileName, java.lang.String pMsgText, java.lang.String pMsgNUMBER, java.lang.String pMsgLine, IElement pElement, java.util.Map<java.lang.String,java.lang.String> pCustomFileAttributes, java.util.Map<java.lang.String,java.lang.String> pCustomMessageAttributes)` the constructor that receive the error file parameters and the resource (IElement) with which the compiler has been call

Copyright © 2015 Micro Focus GmbH. All rights reserved.