com.microfocus.awm.model

## Interface ILinkedElementIdentificator

- All Known Implementing Classes:
    AbstractLinkedElementTypeIdentificator

      public interface ILinkedElementIdentificator

  Provides information about resources outside of AWM for linked element types.

  Copyright Micro Focus GmbH.

  Author:
    Ralf Pakosch

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.Object` | `getIcon(IResourceIdentifier pId)` Can return a custom icon for the linked element.
    `java.lang.String` | `getParentResourceID(java.lang.String pId)` Gets the ID of the parent resource.

- - ### Method Detail

    - #### getIcon

          java.lang.Object getIcon(IResourceIdentifier pId)

      Can return a custom icon for the linked element.
      Parameters:
        `pId` - the resource identifier
      Returns:
        an ImageDescriptor, Image or `null` if no custom image can be provided

    - #### getParentResourceID

          java.lang.String getParentResourceID(java.lang.String pId)

      Gets the ID of the parent resource.

      While this method usually returns a physical resource ID (e.g. an absolute OS file path), AWM will also check whether the ID equals the ID of the active AWM application. In that case, AWM triggers a refresh of the application children. This can be used to refresh the root containers level of an application.

      Parameters:
        `pId` - the identifier for the main resource (which is a child of the resource ID to be returned) or the ID of the active AWM application
      Returns:
        the parent resource ID or `null` if no parent resource can be identified
      See Also:
        `IResource.getID()`

Copyright © 2015 Micro Focus GmbH. All rights reserved.