Eclipse Rich Ajax Platform

org.eclipse.rwt.application
Interface ApplicationConfiguration


public interface ApplicationConfiguration

This interface allows to configure various aspects of an Application before it is started.

Note: This API is provisional. It is likely to change before the final release.

Since:
1.5
See Also:
Application, ApplicationConfigurator

Nested Class Summary
static class ApplicationConfiguration.OperationMode
           
 
Method Summary
 void addBranding(AbstractBranding branding)
           
 void addEntryPoint(java.lang.String entryPointName, java.lang.Class<? extends IEntryPoint> entryPointType)
           
 void addEntryPoint(java.lang.String entryPointName, IEntryPointFactory entryPointFactory)
           
 void addPhaseListener(PhaseListener phaseListener)
           
 void addResource(IResource resource)
           
 void addServiceHandler(java.lang.String serviceHandlerId, IServiceHandler serviceHandler)
           
 void addStyleSheet(java.lang.String themeId, java.lang.String styleSheetLocation)
           
 void addStyleSheet(java.lang.String themeId, java.lang.String styleSheetLocation, ResourceLoader resourceLoader)
           
 void addThemableWidget(java.lang.Class<? extends Widget> widget)
           
 void setAttribute(java.lang.String name, java.lang.Object value)
           
 void setOperationMode(ApplicationConfiguration.OperationMode operationMode)
          The operation mode in wich the application will be running.
 void setSettingStoreFactory(ISettingStoreFactory settingStoreFactory)
           
 

Method Detail

setOperationMode

void setOperationMode(ApplicationConfiguration.OperationMode operationMode)
The operation mode in wich the application will be running. The default operation mode is JEE_COMPATIBILITY.

Parameters:
operationMode - the operation mode to be used. Must not be null.
See Also:
ApplicationConfiguration.OperationMode

addEntryPoint

void addEntryPoint(java.lang.String entryPointName,
                   java.lang.Class<? extends IEntryPoint> entryPointType)

addEntryPoint

void addEntryPoint(java.lang.String entryPointName,
                   IEntryPointFactory entryPointFactory)

addBranding

void addBranding(AbstractBranding branding)

addStyleSheet

void addStyleSheet(java.lang.String themeId,
                   java.lang.String styleSheetLocation)

addStyleSheet

void addStyleSheet(java.lang.String themeId,
                   java.lang.String styleSheetLocation,
                   ResourceLoader resourceLoader)

addPhaseListener

void addPhaseListener(PhaseListener phaseListener)

setAttribute

void setAttribute(java.lang.String name,
                  java.lang.Object value)

setSettingStoreFactory

void setSettingStoreFactory(ISettingStoreFactory settingStoreFactory)

addThemableWidget

void addThemableWidget(java.lang.Class<? extends Widget> widget)

addServiceHandler

void addServiceHandler(java.lang.String serviceHandlerId,
                       IServiceHandler serviceHandler)

addResource

void addResource(IResource resource)

Eclipse Rich Ajax Platform

Copyright (c) EclipseSource and others 2002, 2011. All rights reserved.