Suggested Change for QA Code Tools Framework (resolved)

VA Smalltalk is a "100% VisualAge compatible" IDE that includes the original VisualAge technology and the popular VA Assist and WidgetKit add-ons.

Moderators: Eric Clayberg, wembley, tc, Diane Engles, solveig

Suggested Change for QA Code Tools Framework (resolved)

Postby koschate » Tue Jun 15, 2010 11:35 am

I'd like to suggest the removal of the methods #defaultTextMenu and #menuEdit from CtResultsBrowser in the application CtUserInterfaceES. They effectively replicate functionality from EtWindow, and prevent proper modification by the text menus by add-ons such as the refactoring browser. Removing those methods makes it much easier to refactor code problems identified by the code review tool, since the refactoring can be invoked right from results browser.
koschate
[|]
 
Posts: 102
Joined: Thu Feb 01, 2007 7:24 am

Re: Suggested Change for QA Code Tools Framework

Postby wembley » Sat Jun 26, 2010 9:18 am

Thomas -

Yes, they "almost" duplicate the EtWindow version of the methods. There are a couple important differences though. These generally have to do with whether particular menu items are enabled or not. It would be very possible to parameterize the enablement tests that are not already parameterized in EtWindow to make removal of these 2 methods possible. I've opened case 46899 for these changes.
John O'Keefe [|], Principal Smalltalk Architect, Instantiations Inc.
wembley
Moderator
 
Posts: 405
Joined: Mon Oct 16, 2006 3:01 am
Location: Durham, NC

Re: Suggested Change for QA Code Tools Framework

Postby wembley » Mon Jun 28, 2010 7:12 am

Thomas -

I have attached a zip file of a .DAT containing 2 apps:

EtBaseTools
CtUserInterface

These apps are updates to V8.0.2, so if you are running an earlier version you may need to make some slight adjustments. Please let me know if these changes are what you had in mind.
Attachments
case46899.zip
(444.55 KiB) Downloaded 6 times
John O'Keefe [|], Principal Smalltalk Architect, Instantiations Inc.
wembley
Moderator
 
Posts: 405
Joined: Mon Oct 16, 2006 3:01 am
Location: Durham, NC

Re: Suggested Change for QA Code Tools Framework

Postby koschate » Mon Jun 28, 2010 1:31 pm

Thanks, John. I'll have a look when I'm back in the office next week. If only there were an OSX version of VA, then I could have a look now. :D
koschate
[|]
 
Posts: 102
Joined: Thu Feb 01, 2007 7:24 am

Re: Suggested Change for QA Code Tools Framework

Postby koschate » Mon Jul 05, 2010 4:49 am

wembley wrote:Please let me know if these changes are what you had in mind.

John, the changes look good in my 8.0.2 image. I'll see about backporting to 7.5.2 for our immediate use here.
koschate
[|]
 
Posts: 102
Joined: Thu Feb 01, 2007 7:24 am


Return to VA Smalltalk 7.0, 7.5 & 8.0

Who is online

Users browsing this forum: No registered users and 1 guest