Interface IDefinitionIdentifier

All Superinterfaces:
org.eclipse.core.runtime.IAdaptable
All Known Implementing Classes:
FieldDefinitionIdentifier, SectionDefinitionIdentifier, SingleObjectDefinitionIdentifier

public interface IDefinitionIdentifier extends org.eclipse.core.runtime.IAdaptable
The component identifier interface. It allows to determine the definition uniquely.
Each implementation of this interface should override #equals(Object) and #hashCode() correctly.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Checks whether the identifier matches the specified id.

    Methods inherited from interface org.eclipse.core.runtime.IAdaptable

    getAdapter
  • Method Details

    • matches

      boolean matches(Object id)
      Checks whether the identifier matches the specified id.
      Parameters:
      id - the object that represents identifier, cannot be null.
      Returns:
      true if the identifier matches the specified object, false - otherwise.