/** An UI layer for the main work area. */
public interface SuiteLayer extends CmsUiProvider {
- void view(Composite workArea, Node context);
+ static enum Property {
+ title, icon, weights, startMaximized;
+ }
+
+ void view(CmsUiProvider uiProvider, Composite workArea, Node context);
- default void open(Composite workArea, Node context) {
- view(workArea, context);
+ default void open(CmsUiProvider uiProvider, Composite workArea, Node context) {
+ view(uiProvider, workArea, context);
}
}