Jump to: navigation, search

WTP 2.0 API Delta

The following is a summary of the API changes between WTP 1.5 and 2.0: edit

Common Components

  • The ID value given for extensions to org.eclipse.wst.common.snippets.SnippetContributions can now be accessed programmatically


XML/JSP Components

  • Declared the org.eclipse.jst.jsp.core.tagsource Content Type for JSP 2.0 Simple Tag Extension files
  • org.eclipse.jst.jsp.core.taglib.ITaglibIndexListener and org.eclipse.jst.jsp.core.taglib.ITaglibIndexDelta are now API interfaces; the API versions have breaking changes from earlier unsupported revisions
  • The following hyperlinkDetectorTargets were set up, so adopters can target their hyperlink detectors to the xml, schema, wsdl, html, jsp editors via the org.eclipse.ui.workbench.texteditor.hyperlinkDetectors extension point: org.eclipse.core.runtime.xml, org.eclipse.wst.xsd.core.xsdsource, org.eclipse.wst.wsdl.wsdlsource, org.eclipse.wst.html.core.htmlsource, org.eclipse.jst.jsp.core.jspsource


Server Component

  • API support for external (non-workspace) modules added via org.eclipse.wst.server.core.IModule.isExternal()

and associated methods in org.eclipse.wst.server.core.ServerBehaviourDelegate.

  • New API methods added to org.eclipse.wst.server.core.IServer including getLaunchConfiguration(), shouldPublish(), and shouldRestart().
  • Support for server scheduling rules added to org.eclipse.wst.server.core.ServerUtil.
  • Support for multiple artifacts in a single selection added via org.eclipse.wst.server.core.model.ModuleArtifactAdapterDelegate.getModuleArtifacts().
  • org.eclipse.wst.server.model.ModuleArtifactDelegate added as an abstract class (including additional support) for all artifact delegates.
  • Performance improvements added via new methods to org.eclipse.wst.server.core.model.ModuleFactoryDelegate.findModule() and getModule().
  • Support for better restarting added via org.eclipse.wst.server.core.model.ServerBehaviourDelegate.restartModule().
  • org.eclipse.wst.server.core.util.PublishUtil moved from jst.server and added to API.
  • Run on Server added to API via org.eclipse.wst.server.ui.actions.RunOnServerAction.
  • org.eclipse.wst.server.ui.ServerUIUtil provides additional methods to display new runtime and new server wizards.
  • org.eclipse.wst.server.ui.FacetRuntimeComponentLabelProvider provides a new facet runtime label provider.
  • Enhanced profiler support for TPTP in jst.server in provisional API.