Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 315520

Summary: [binding-editor] Binding editor does not show base methods which are defined by callout
Product: [Tools] Objectteams Reporter: Stephan Herrmann <stephan.herrmann>
Component: OTDTAssignee: Stephan Herrmann <stephan.herrmann>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 1.4   
Target Milestone: 0.7 M4   
Hardware: PC   
OS: Linux   
Whiteboard: trac
Attachments:
Description Flags
fix none

Description Stephan Herrmann CLA 2010-06-02 20:44:41 EDT
(originally from http://trac.objectteams.org/ot/ticket/84)

(original report by Robin Sedlaczek:)
Given a team T with a role R that is played by another role LR (via layering or nesting), and given that the lower role LR has a callout binding void m() -> void m(). Open the binding editor on team T and select role R: its base class LR does not list m as an available method, though it actually should.
Comment 1 Stephan Herrmann CLA 2010-06-02 20:52:49 EDT
Created attachment 170900 [details]
fix

This patch allows the binding editor to work on role methods of callouts.

Note that for short-hand callouts (that's what we're interested in)
the role method does not exist(), so we do some wrapping to answer the
relevant bits directly from what we found in the MethodData.

Patch also includes a fix for editing nested teams in role files.
(cf. http://trac.objectteams.org/ot/ticket/93)
Comment 2 Stephan Herrmann CLA 2010-06-04 10:18:47 EDT
Patch has been committed as r416.
Comment 3 Stephan Herrmann CLA 2010-06-11 18:03:56 EDT
Verified for M4 using build 201006111053.