]>
git.argeo.org Git - gpl/argeo-suite.git/blob - app/swt/ux/SwtAppLayer.java
1 package org
.argeo
.app
.swt
.ux
;
3 import org
.argeo
.api
.acr
.Content
;
4 import org
.argeo
.cms
.Localized
;
5 import org
.argeo
.cms
.swt
.acr
.SwtUiProvider
;
6 import org
.eclipse
.swt
.widgets
.Composite
;
8 /** An UI layer for the main work area. */
9 public interface SwtAppLayer
extends SwtUiProvider
{
10 static enum Property
{
11 title
, icon
, weights
, startMaximized
, singleTab
, singleTabTitle
, fixedEntryArea
;
16 void view(SwtUiProvider uiProvider
, Composite workArea
, Content context
);
18 Content
getCurrentContext(Composite workArea
);
20 default void open(SwtUiProvider uiProvider
, Composite workArea
, Content context
) {
21 view(uiProvider
, workArea
, context
);
24 default Localized
getTitle() {