Window toolbar as factory

Description

Currently window toolbar is Fixed and we do not have much option then just adding toolbar process in a drop down button. There are many times need arise to add custom toolbar, So it is better to make ZKWindowToolbarFacory to support custom toolbar.

Factory should accept window name to identify toolbar per window.

Environment

None

Activity

Show:
Deepak Pansheriya
September 12, 2015, 8:03 AM

Though I created ticket for window toolbar factory, Same is good for Report viewer. But I am not sure should it be same or different factory?

Carlos Ruiz
September 20, 2015, 8:20 PM

, to take into account, this is messaging I had with relevant to this ticket:

Carlos:

I also think that can be improved using the AD_ToolbarButton

Heng Sin:

I think it should be a combination of Dictionary and OSGi factory.

1. We need a way to define the primary and secondary toolbar button in the dictionary. Secondary toolbar button should be place in a dropdown menu ( similar to the three vertical dot overflow button in android toolbar ). This can be a configurable user preference but that shouldn't be of priority for the first version.

2. I think instead of toolbar factory, what we need is a toolbar renderer factory that provide toolbar renderer that can work on common toolbar metadata. Each toolbar renderer can have additional toolbar metadata in the AD to have further customize look ( for e.g, beside primary and secondary button, the renderer can have another table/field to define the "primary action button" ).

Assignee

Deepak Pansheriya

Reporter

Deepak Pansheriya

Labels

Tested By

None

Components

Priority

Major
Configure