Community
Participate
Working Groups
I20071023-0800. Currently there's no way for clients to specify exactly the proposal kinds they want. Each time a new proposal kind is added they have to go and ignore it (assuming they want exactly proposal kind A and B). I suggest to add a new constructor that takes a boolean 'ignoreAll'. If set to 'true' all proposal kinds will be ignored.
Created attachment 81144 [details] Proposed fix The proposed API is: /** * Creates a new completion requestor. * If <code>ignoreAll</code> is <code>true</code> the requestor is not interested in * all kinds of completion proposals; all will be ignored. For each kind of completion proposals * that is of interest, <code>setIgnored(kind, false)</code> must be called. * If <code>ignoreAll</code> is <code>false</code> the requestor is interested in * all kinds of completion proposals; none will be ignored. * * @param ignoreAll <code>true</code> to ignore all kinds of completion proposals, * and <code>false</code> to propose all kinds * * @since 3.4 */ public CompletionRequestor(boolean ignoreAll)
Released for 3.4M3. Test added CompletionTests#testCompletionBasicType3()
Verified for 3.4M3 using I20071029-0010