/** The view for the default UX of Argeo Suite. */
public class SwtAppUi extends CmsSwtUi implements AppUi {
+ static enum Structural {
+ header, footer, leadPane, sidePane, loginScreen, adminLeadPane;
+ }
+
private static final long serialVersionUID = 6207018859086689108L;
private final static CmsLog log = CmsLog.getLog(SwtAppUi.class);
}
public void addLayer(String id, SwtAppLayer layer) {
+ if (!id.equals(layer.getId())) {
+ log.error("Layer id as key '" + id + "' is not consistent with layer id '" + layer.getId()
+ + "', ignoring...");
+ return;
+ }
layers.put(id, layer);
}