Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 315520 - [binding-editor] Binding editor does not show base methods which are defined by callout
Summary: [binding-editor] Binding editor does not show base methods which are defined ...
Status: VERIFIED FIXED
Alias: None
Product: Objectteams
Classification: Tools
Component: OTDT (show other bugs)
Version: 1.4   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 0.7 M4   Edit
Assignee: Stephan Herrmann CLA
QA Contact:
URL:
Whiteboard: trac
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-02 20:44 EDT by Stephan Herrmann CLA
Modified: 2010-06-29 10:07 EDT (History)
0 users

See Also:


Attachments
fix (7.36 KB, patch)
2010-06-02 20:52 EDT, Stephan Herrmann CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.