Hi Luca,

Thanks for the proposal and it makes sense.

I gonna create a Jira to do it.

Regards
JB

On 01/03/2014 10:35 AM, lbu wrote:
Hi,
I've started playing with Karaf 3.0 (thanks for the Christmas gift) and I
have some questions related to ShellTable:

For most of the methods, the action is not in the name so you have
column(...),  separator(...), etc but this is not true for addRow:

     public Row addRow() {
         Row row = new Row();
         rows.add(row);
         return row;
     }

Is there any reason?

For my own needs, I've also created an EnhancedShellTable which let you to:
- set-up columns in the constructor

     public EnhancedShellTable(String... columns) {
         super();
         for(String column : columns) {
             super.column(column);
         }
     }

- add and fill a row with a single method

     public void row(Object... content) {
         addRow().addContent(content);
     }

Would it be possible to add them to ShellTable?

Regards,
Luca





--
View this message in context: 
http://karaf.922171.n3.nabble.com/karaf-3-0-ShellTable-question-tp4030886.html
Sent from the Karaf - User mailing list archive at Nabble.com.


--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to