Tuesday, May 18, 2021

Meaning of @ImportedWithPrefix?

I'm trying to understand how styling works in CellTable. The line # 298 has BasicStyle annotated with @ImportedWithPrefix("gwt-CellTable"). I'm curious, how's 'gwt-CellTable' literal come into picture, and what does it do?

/**
* Styles used by {@link BasicResources}.
*/
@ImportedWithPrefix("gwt-CellTable")
interface BasicStyle extends Style {
/**
* The path to the default CSS styles used by this resource.
*/
String DEFAULT_CSS = "com/google/gwt/user/cellview/client/CellTableBasic.css";

}

Thanks!

Slava

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/5cd99ed9-875b-466b-9dea-c69046afc748n%40googlegroups.com.

No comments:

Post a Comment