Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » scout » TablePage in TableField(How to avoid duplicating code)
TablePage in TableField [message #1026992] Tue, 26 March 2013 12:49 Go to next message
Urs Stöcker is currently offline Urs Stöcker
Messages: 2
Registered: May 2012
Junior Member
I wanted to add a table field with exactly the same columns as I already configured in my table field. Is there a way to inherit from my tablepage to avoid duplicating code?

Tanx for any suggestions
Urs
Re: TablePage in TableField [message #1027025 is a reply to message #1026992] Tue, 26 March 2013 13:26 Go to previous message
Oli Schmid is currently offline Oli Schmid
Messages: 1
Registered: April 2012
Junior Member
Hi Urs.

Extract your column configuration to an abstract table class an extend this abstract table class by the two tables in the table field and the table page.

Let me know if it works.
Oli



Previous Topic:SVN and Eclipse Scout
Next Topic:Message-Box in Scout
Goto Forum:
  


Current Time: Sat Oct 25 10:33:15 GMT 2014

Powered by FUDForum. Page generated in 0.15541 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software