Eclipse Rich Ajax Platform

## Deprecated API

Contents

- Deprecated Interfaces
- Deprecated Classes
- Deprecated Methods

Deprecated Interfaces

org.eclipse.rwt.AdapterFactory
This class was made API accidientially and will be removed in future releases. The `AdapterFactory` is tailored to the needs of RWT and not meant for general use. Furthermore providing an implementation of the adapter pattern is outside the scope of RWT. If clients need to work with the adapter pattern, they should resort to general purpose implementations (e.g. the `IAdapterFactory` from org.eclipse.core.runtime)

org.eclipse.rwt.resources.IResourceManagerFactory not used anymore, will be removed in future without replacement

Deprecated Classes
org.eclipse.rwt.lifecycle.JSListenerInfo Use `IClientObject#listen(String, boolean)` instead
org.eclipse.rwt.lifecycle.JSListenerType Use `IClientObject#listen(String, boolean)` instead
org.eclipse.rwt.lifecycle.JSVar As of RAP 1.5, the client-server protocol is based on JSON. This class is related to the old JavaScript-based protocol.
org.eclipse.rwt.lifecycle.JSWriter This class should not be used anymore as it writes JavaScript to the client which is incompatible with clients other than the default RAP webclient. Use `IClientObject` to write changes to the client.

Deprecated Methods
org.eclipse.rwt.lifecycle.AbstractWidgetLCA.adjustCoordinates(Widget, Rectangle) Adjustment of the widget bounds is now handled on the client.
org.eclipse.rwt.lifecycle.WidgetLCAUtil.escapeText(String, boolean) As of RAP 1.5, all texts are transferred to the client as JSON strings and escaped on the client as needed.
org.eclipse.rwt.resources.IResourceManager.getContextLoader() Use `IResourceManager.register(String, InputStream)` or `IResourceManager.register(String, InputStream, String, RegisterOptions)` instead
org.eclipse.rwt.graphics.Graphics.getImage(String) Use `Graphics.getImage(String, ClassLoader)` or `Graphics.getImage(String, InputStream)` instead.
org.eclipse.rwt.resources.IResourceManager.getResource(String) Use `IResourceManager.register(String, InputStream)` or `IResourceManager.register(String, InputStream, String, RegisterOptions)` instead
org.eclipse.rwt.resources.IResourceManager.getResourceAsStream(String) Use `IResourceManager.register(String, InputStream)` or `IResourceManager.register(String, InputStream, String, RegisterOptions)` instead
org.eclipse.rwt.application.ApplicationRunner.getServletPaths() This method is not part of the RAP API. It will be removed in future versions.
org.eclipse.rwt.lifecycle.JSWriter.getWriterForResetHandler() As of 1.3, server-side widget pooling is no longer required. This method should not be used anymore.
org.eclipse.rwt.lifecycle.ControlLCAUtil.getZIndex(Control) This method should not be used anymore.
org.eclipse.rwt.lifecycle.ControlLCAUtil.preserveMenuDetectListener(Control) Use `WidgetLCAUtil.preserveListener(Widget, String, boolean)` instead
org.eclipse.rwt.resources.IResourceManager.register(String) Use `IResourceManager.register(String, InputStream)` or `IResourceManager.register(String, InputStream, String, RegisterOptions)` instead
org.eclipse.rwt.resources.IResourceManager.register(String, String) Use `IResourceManager.register(String, InputStream)` or `IResourceManager.register(String, InputStream, String, RegisterOptions)` instead
org.eclipse.rwt.resources.IResourceManager.register(String, String, IResourceManager.RegisterOptions) Use `IResourceManager.register(String, InputStream)` or `IResourceManager.register(String, InputStream, String, RegisterOptions)` instead
org.eclipse.rwt.resources.IResourceManager.setContextLoader(ClassLoader) Use `IResourceManager.register(String, InputStream)` or `IResourceManager.register(String, InputStream, String, RegisterOptions)` instead
org.eclipse.rwt.lifecycle.ControlLCAUtil.writeActivateListener(Control) Use `ControlLCAUtil.renderListenActivate(Control)` instead
org.eclipse.rwt.lifecycle.ControlLCAUtil.writeBackground(Control) Use `ControlLCAUtil.renderBackground(Control)` instead
org.eclipse.rwt.lifecycle.WidgetLCAUtil.writeBackground(Widget, Color) Use `WidgetLCAUtil.renderBackground(Widget, Color)` instead
org.eclipse.rwt.lifecycle.WidgetLCAUtil.writeBackground(Widget, Color, boolean) Use `WidgetLCAUtil.renderBackground(Widget, Color)` instead
org.eclipse.rwt.lifecycle.WidgetLCAUtil.writeBackgroundGradient(Widget) Use `WidgetLCAUtil.renderBackgroundGradient(Widget)` instead
org.eclipse.rwt.lifecycle.ControlLCAUtil.writeBackgroundImage(Control) Use `ControlLCAUtil.renderBackgroundImage(Control)` instead
org.eclipse.rwt.lifecycle.ControlLCAUtil.writeBounds(Control) Use `ControlLCAUtil.renderBounds(Control)` instead
org.eclipse.rwt.lifecycle.WidgetLCAUtil.writeBounds(Widget, Control, Rectangle) Use `WidgetLCAUtil.renderBounds(Widget, Rectangle)` instead
org.eclipse.rwt.lifecycle.ControlLCAUtil.writeChanges(Control) Use `ControlLCAUtil.renderChanges(Control)`
org.eclipse.rwt.lifecycle.WidgetLCAUtil.writeCustomVariant(Widget) Use `WidgetLCAUtil.renderCustomVariant(Widget)` instead
org.eclipse.rwt.lifecycle.ControlLCAUtil.writeEnabled(Control) Use `ControlLCAUtil.renderEnabled(Control)` instead
org.eclipse.rwt.lifecycle.WidgetLCAUtil.writeEnabled(Widget, boolean) Use `WidgetLCAUtil.renderEnabled(Widget, boolean)` instead
org.eclipse.rwt.lifecycle.ControlLCAUtil.writeFont(Control) Use `ControlLCAUtil.renderFont(Control)` instead
org.eclipse.rwt.lifecycle.WidgetLCAUtil.writeFont(Widget, Font) Use `WidgetLCAUtil.renderFont(Widget, Font)` instead
org.eclipse.rwt.lifecycle.ControlLCAUtil.writeForeground(Control) Use `ControlLCAUtil.renderForeground(Control)` instead
org.eclipse.rwt.lifecycle.WidgetLCAUtil.writeForeground(Widget, Color) Use `WidgetLCAUtil.renderForeground(Widget, Color)` instead
org.eclipse.rwt.lifecycle.WidgetLCAUtil.writeHelpListener(Widget) Use `WidgetLCAUtil.renderListenHelp(Widget)` instead
org.eclipse.rwt.lifecycle.WidgetLCAUtil.writeImage(Widget, Image) Use `WidgetLCAUtil.renderProperty(Widget, String, Image, Image)` intead
org.eclipse.rwt.lifecycle.WidgetLCAUtil.writeImage(Widget, String, Image) Use `WidgetLCAUtil.renderProperty(Widget, String, Image, Image)` intead
org.eclipse.rwt.lifecycle.WidgetLCAUtil.writeImage(Widget, String, String, Image) Use `WidgetLCAUtil.renderProperty(Widget, String, Image, Image)` intead
org.eclipse.rwt.lifecycle.ControlLCAUtil.writeMenu(Control) Use `ControlLCAUtil.renderMenu(Control)` instead
org.eclipse.rwt.lifecycle.WidgetLCAUtil.writeMenu(Widget, Menu) Use `WidgetLCAUtil.renderMenu(Widget, Menu)` instead
org.eclipse.rwt.lifecycle.ControlLCAUtil.writeMenuDetectListener(Control) Use `ControlLCAUtil.renderListenMenuDetect(Control)` instead
org.eclipse.rwt.lifecycle.WidgetLCAUtil.writeRoundedBorder(Widget) Use `WidgetLCAUtil.renderRoundedBorder(Widget)` instead
org.eclipse.rwt.lifecycle.WidgetLCAUtil.writeStyleFlag(Widget, int, String) Use `WidgetLCAUtil.getStyles(Widget, String[])` to obtain the list of styles instead and set the result to the property `style`
org.eclipse.rwt.lifecycle.ControlLCAUtil.writeStyleFlags(Control) Use `WidgetLCAUtil.getStyles(Widget, String[])` to obtain the list of styles instead and set the result to the property `style`
org.eclipse.rwt.lifecycle.ControlLCAUtil.writeToolTip(Control) Use `ControlLCAUtil.renderToolTip(Control)` instead
org.eclipse.rwt.lifecycle.WidgetLCAUtil.writeToolTip(Widget, String) Use `WidgetLCAUtil.renderToolTip(Widget, String)` instead
org.eclipse.rwt.lifecycle.ControlLCAUtil.writeVisible(Control) Use `ControlLCAUtil.renderVisible(Control)` instead
org.eclipse.rwt.lifecycle.ControlLCAUtil.writeZIndex(Control) This method should not be used anymore as zIndex is not rendered directly anymore.

Eclipse Rich Ajax Platform

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