package org.eclipse.rap.rwt.application; import java.util.Map; import org.eclipse.rap.rwt.service.ResourceLoader; public interface Application { public static enum OperationMode { JEE_COMPATIBILITY, SWT_COMPATIBILITY, } void setOperationMode(OperationMode operationMode); void addResource(String name, ResourceLoader resourceLoader); void setExceptionHandler(ExceptionHandler exceptionHandler); void addEntryPoint(String path, EntryPointFactory entryPointFactory, Map properties); void addEntryPoint(String path, Class entryPoint, Map properties); void addStyleSheet(String themeId, String styleSheetLocation, ResourceLoader resourceLoader); }