}
}
for ( int k = 0; k < this.possibleAttributeTypes.length; k++ )
{
ICompletionProposal proposal = new CompletionProposal( this.possibleAttributeTypes[k], offset, 0,
this.possibleAttributeTypes[k].length() );
proposalList.add( proposal );
}
}
else if ( filter.getFilterComponent() instanceof LdapFilterItemComponent
&& filter.getFilterComponent().getStartToken().getOffset() <= offset
&& offset <= filter.getFilterComponent().getStartToken().getOffset()
+ filter.getFilterComponent().getStartToken().getLength() )
{
// show matching attribute types
LdapFilterItemComponent fc = ( LdapFilterItemComponent ) filter.getFilterComponent();
for ( int k = 0; k < this.possibleAttributeTypes.length; k++ )
{
if ( this.possibleAttributeTypes[k].startsWith( fc.getAttributeToken().getValue() ) )
{
ICompletionProposal proposal = new CompletionProposal( this.possibleAttributeTypes[k], fc
.getAttributeToken().getOffset(), fc.getAttributeToken().getLength(),
this.possibleAttributeTypes[k].length() );
proposalList.add( proposal );
}
}