1 package org.eclipse.rap.rwt.application; 2 3 import java.util.Map; 4 5 import org.eclipse.rap.rwt.service.ResourceLoader; 6 7 public interface Application { 8 public static enum OperationMode { 9 JEE_COMPATIBILITY, SWT_COMPATIBILITY, 10 } 11 12 void setOperationMode(OperationMode operationMode); 13 14 void addResource(String name, ResourceLoader resourceLoader); 15 16 void setExceptionHandler(ExceptionHandler exceptionHandler); 17 18 void addEntryPoint(String path, EntryPointFactory entryPointFactory, 19 Map<String, String> properties); 20 21 void addEntryPoint(String path, Class<? extends EntryPoint> entryPoint, 22 Map<String, String> properties); 23 24 void addStyleSheet(String themeId, String styleSheetLocation, 25 ResourceLoader resourceLoader); 26 27 }