Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "WTP 2.0 API Delta"

(XML/JSP Components)
m
Line 11: Line 11:
 
* The following <code>hyperlinkDetectorTargets</code> were set up, so adopters can target their hyperlink detectors to the xml, schema, wsdl, html, jsp editors via the <code>org.eclipse.ui.workbench.texteditor.hyperlinkDetectors</code> extension point: <code>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</code>
 
* The following <code>hyperlinkDetectorTargets</code> were set up, so adopters can target their hyperlink detectors to the xml, schema, wsdl, html, jsp editors via the <code>org.eclipse.ui.workbench.texteditor.hyperlinkDetectors</code> extension point: <code>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</code>
  
 +
 +
====  Server Component ====
 +
* API support for external (non-workspace) modules added via <code>org.eclipse.wst.server.core.IModule.isExternal()</code>
 +
and associated methods in <code>org.eclipse.wst.server.core.ServerBehaviourDelegate</code>.
 +
 +
* New API methods added to <code>org.eclipse.wst.server.core.IServer</code> including <code>getLaunchConfiguration()</code>, <code>shouldPublish()</code>, and <code>shouldRestart()</code>.
 +
 +
* Support for server scheduling rules added to <code>org.eclipse.wst.server.core.ServerUtil</code>.
 +
 +
* Support for multiple artifacts in a single selection added via <code>org.eclipse.wst.server.core.model.ModuleArtifactAdapterDelegate.getModuleArtifacts()</code>.
 +
 +
* <code>org.eclipse.wst.server.model.ModuleArtifactDelegate</code> added as an abstract class (including additional support) for all artifact delegates.
 +
 +
* Performance improvements added via new methods to <code>org.eclipse.wst.server.core.model.ModuleFactoryDelegate.findModule()</code> and <code>getModule()</code>.
 +
 +
* Support for better restarting added via <code>org.eclipse.wst.server.core.model.ServerBehaviourDelegate.restartModule()</code>.
 +
 +
* <code>org.eclipse.wst.server.core.util.PublishUtil</code> moved from jst.server and added to API.
 +
 +
* Run on Server added to API via <code>org.eclipse.wst.server.ui.actions.RunOnServerAction</code>.
 +
 +
* <code>org.eclipse.wst.server.ui.ServerUIUtil</code> provides additional methods to display new runtime and new server wizards.
 +
 +
* <code>org.eclipse.wst.server.ui.FacetRuntimeComponentLabelProvider</code> provides a new facet runtime label provider.
 +
 +
* Enhanced profiler support for TPTP in jst.server in provisional API.
  
 
[[Category:Eclipse Web Tools Platform Project]]
 
[[Category:Eclipse Web Tools Platform Project]]

Revision as of 14:06, 16 May 2007

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.

Back to the top