Class SectionDefinitionIdentifier
java.lang.Object
com._1c.g5.v8.dt.ui.aef.definitions.SectionDefinitionIdentifier
- All Implemented Interfaces:
IDefinitionIdentifier
,org.eclipse.core.runtime.IAdaptable
The
Methods
IDefinitionIdentifier
implementation that uses Section
to identify the definition.Methods
equals(Object)
and hashCode()
delegate the execution to the underlying object.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SectionDefinitionIdentifier
Creates a new identifier.- Parameters:
section
- theSection
that uniquely identifies the definition.
-
-
Method Details
-
getSection
Returns the section that uniquely identifies the definition.- Returns:
- the identifier section, never
null
.
-
matches
Description copied from interface:IDefinitionIdentifier
Checks whether the identifier matches the specifiedid
.- Specified by:
matches
in interfaceIDefinitionIdentifier
- Parameters:
id
- the object that represents identifier, cannot benull
.- Returns:
true
if the identifier matches the specified object,false
- otherwise.
-
equals
-
hashCode
public int hashCode() -
getAdapter
- Specified by:
getAdapter
in interfaceorg.eclipse.core.runtime.IAdaptable
-
toString
-