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 08: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 09: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: Fri Aug 01 18:31:15 EDT 2014

Powered by FUDForum. Page generated in 0.03508 seconds