Ticket #1671 (assigned enhancement)

Opened 6 months ago

Last modified 3 months ago

Create static class-references to default theme icons

Reported by: Joonas Lehtinen Owned by: Jouni Koivuviita
Priority: minor Milestone: IT Mill Sponsored Backlog
Component: Server-side framework Version:
Keywords: Cc:
Known Issue description:
Hours estimate: Deadline (dd.mm.yyyy):
Known Issue version (since): Known Issue title:
Hours done: Depends to:
Affects documentation: no
Known Issue workaround:
Affects release notes: yes Contract:

Description


Change History

Changed 6 months ago by Marko Gronroos

  • owner changed from Marko Gronroos to Jouni Koivuviita
  • status changed from new to assigned
  • component changed from undefined to Server-side framework
  • milestone set to User Interface Library 5.3.0 RC1

Changed 5 months ago by Jouni Koivuviita

Where should we place this, in what package? ui? util? terminal? Maybe a new package?

And how is this supposed to be used?

// Like this?
button.setIcon(Icons.HELP);

Whould the statics be ThemeResources? or some other resources? I presume we want these to always point to the default theme, not to a custom theme, so these won't be overrideable (is that a word?).

Would it suffice if we just added a list of these into documentation/manual/wiki?

A lot of questions, so few answers...

Changed 5 months ago by Joonas Lehtinen

button.setIcon(Icons.HELP);

would be great, but should it actually be

button.setIcon(Icons16.HELP);

??

In my opinion, ThemeResources? are the correct choise.

Correct package could be com.itmill.toolkit.terminal.gwt, but I am not too sure about this. Any other opinions?

Manual is a good start :) In the end we would love to see this (and 100 other features) presented in featurebrowser...

Changed 3 months ago by Joonas Lehtinen

  • milestone changed from User Interface Library 5.3.0 RC to IT Mill Sponsored Backlog
Note: See TracTickets for help on using tickets.