Announcement: Rename of .NET Interfaces in Consultingwerk.SmartComponents.Interfaces.Design namespace

12 views
Skip to first unread message

Mike Fechner

unread,
Feb 21, 2011, 6:27:33 AM2/21/11
to smartcomponent-...@googlegroups.com

Dear user of the SmartComponent Library,

 

recently customers reported compile-time issues with the SmartComponent Library resulting in compilation errors in the files SmartToolbarController, SmartPanelController or SmartNavigationPanel and Forms using those classes. In one of the cases this was seen in combination with using a different R-code location during compile (separating source and R-code).

 

Our analysis of these issues could not show anything wrong in our code. However it seemed likely that the fact that we were using ABL and .NET Interfaces with the same name but in different packages / namespaces was part of the problem. Obviously this did confuse the ABL compiler when locating those Interfaces.

 

For this reason we have renamed the .NET Interfaces in the Consultingwerk.SmartComponents.Interfaces.Design namespace. The .NET Interfaces have no functionality for executing SmartComponent Library applications. However these Interfaces are required for linking objects in the PropertyGrid of the OpenEdge Architect Visual Designer. The .NET Interfaces are used for the Link... properties are just a proxy or a facade for the Smart... properties defined as the ABL Interface types.

 

For compatibility reasons the old Interface names are still available in the Consultingwerk.SmartComponents Assembly. The new Interfaces extend (inherit) the old interfaces so that existing code that uses the .NET Interfaces continues to execute without change. However there should not be any reason to reference the Link... properties or these .NET Interfaces in your code. The Smart... properties with similar names have the same functionality and do not need to be CASTed before accessing properties or methods of the SmartComponent Library.

 

We will be rolling out this change soon.

 

.NET Interfaces affected by this change

 

New name

Old name

Property

....Design.IDesignDataSource

....Design.ISmartDataSource

LinkDataSource

....Design.IDesignGroupAssignSource

....Design.ISmartGroupAssignSource

LinkGroupAssignSource

....Design.IDesignNavigationSource

....Design.ISmartNavigationSource

LinkNavigationSource

....Design.IDesignTableIOSource

....Design.ISmartTableIOSource

LinkTableIOSource

 

With kind regards,

 

Mike Fechner

Geschäftsführer / Director

 

 

Beschreibung: Consultingwerk Ltd.

 

Consultingwerk Ltd.

Unter Käster 1

50667 Köln / Germany

 

Tel.:  +49 221 / 6 77 88 55 0

Fax.: +49 221 / 6 77 88 55 5

Mobil: +49 171 / 4 357 484

 

mike.f...@consultingwerk.de

http://www.consultingwerk.de

http://blog.consultingwerk.de

 

Experts in OpenEdge & .NET

 

Check out our GUI for .NETTM enabling products:

Integrate existing applications into GUI for .NETTM using WinKit: http://www.consultingwerk.de/winkit/

Implement OERA & achieve productivity using SmartComponent Library: http://www.consultingwerk.de/smartcomponents/

Instant migration of DynamicsTM applications with Dynamics4.NET: http://www.consultingwerk.de/d4dotnet/

 

Reply all
Reply to author
Forward
0 new messages