protected void completeExtends ( EObject model , ContentAssistContext context , ICompletionProposalAcceptor acceptor ) { if ( isSarlProposalEnabled ( ) ) { if ( model instanceof SarlAgent ) { completeSarlAgents ( false , true , context , acceptor ) ; } else if ( model instanceof SarlBehavior ) { completeSarlBehaviors ( false , true , context , acceptor ) ; } else if ( model instanceof SarlCapacity ) { completeSarlCapacities ( false , true , context , acceptor ) ; } else if ( model instanceof SarlSkill ) { completeSarlSkills ( false , true , context , acceptor ) ; } else if ( model instanceof SarlEvent ) { completeSarlEvents ( false , true , context , acceptor ) ; } else if ( model instanceof SarlClass ) { completeJavaTypes ( context , createExtensionFilter ( context , IJavaSearchConstants . CLASS ) , acceptor ) ; } else if ( model instanceof SarlInterface ) { completeJavaTypes ( context , createExtensionFilter ( context , IJavaSearchConstants . INTERFACE ) , acceptor ) ; } } }
Complete the extends if the proposals are enabled .