Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.2"?>
<plugin>
  <extension point="org.eclipse.wst.server.core.runtimeTypes">
    <runtimeType
       id="org.eclipse.wst.server.preview.runtime"
       name="%previewRuntimeTypeName"
       description="%previewRuntimeTypeDescription"
       facetRuntimeComponent="org.eclipse.wst.server.preview.runtime"
	    facetRuntimeVersion="1.0"
       class="org.eclipse.wst.server.preview.adapter.internal.core.PreviewRuntime">
       <moduleType
         types="wst.web"
         versions="1.0"/>
    </runtimeType>
  </extension>

  <extension point="org.eclipse.wst.server.core.serverTypes">
     <serverType
       id="org.eclipse.wst.server.preview.server"
       name="%previewServerTypeName"
       description="%previewServerTypeDescription"
       supportsRemoteHosts="false"
       runtime="true"
       initialState="stopped"
       hasConfiguration="false"
       launchModes="run,debug,profile"
       launchConfigId="org.eclipse.wst.server.preview.launchConfigurationType"
       runtimeTypeId="org.eclipse.wst.server.preview.runtime"
       class="org.eclipse.wst.server.preview.adapter.internal.core.PreviewServer"
       behaviourClass="org.eclipse.wst.server.preview.adapter.internal.core.PreviewServerBehaviour"/>
  </extension>

  <extension point="org.eclipse.wst.common.project.facet.core.runtimes">
    <runtime-component-type
       id="org.eclipse.wst.server.preview.runtime"/>

    <runtime-component-version
       type="org.eclipse.wst.server.preview.runtime"
       version="1.0"/>

    <supported>
      <runtime-component
         id="org.eclipse.wst.server.preview.runtime"
         version="1.0"/>
      <facet
         id="wst.web"
         version="1.0"/>
    </supported>
  </extension>

  <extension point="org.eclipse.debug.core.launchConfigurationTypes">
     <launchConfigurationType
        id="org.eclipse.wst.server.preview.launchConfigurationType"
        name="%previewLaunchConfigurationType"
        delegate="org.eclipse.wst.server.preview.adapter.internal.core.PreviewLaunchConfigurationDelegate"
        modes="run,debug,profile"/>
  </extension>

  <extension point="org.eclipse.wst.server.core.launchableAdapters">
    <launchableAdapter
      id="org.eclipse.wst.server.preview"
      class="org.eclipse.wst.server.preview.adapter.internal.core.PreviewLaunchableAdapterDelegate"/>
  </extension>


  <extension point="org.eclipse.wst.server.ui.serverImages">
    <image
      id="org.eclipse.wst.server.preview.ui"
      typeIds="org.eclipse.wst.server.preview.runtime,org.eclipse.wst.server.preview.server"
      icon="icons/obj16/preview.gif"/>
  </extension>

  <extension point="org.eclipse.wst.common.project.facet.ui.images">
    <image runtime-component-type="org.eclipse.wst.server.preview.runtime"
       path="icons/obj16/preview.gif"/>
  </extension>

  <extension point="org.eclipse.wst.common.project.facet.core.runtimes">
    <adapter>
      <runtime-component id="org.eclipse.wst.server.preview.runtime"/>
      <factory class="org.eclipse.wst.server.ui.FacetRuntimeComponentLabelProvider"/>
      <type class="org.eclipse.wst.common.project.facet.ui.IRuntimeComponentLabelProvider"/>
    </adapter>
  </extension>

  <extension point="org.eclipse.wst.common.project.facet.core.defaultFacets">
    <default-facets>
      <runtime-component id="org.eclipse.wst.server.preview.runtime"/>
      <facet id="wst.jsdt.web" version="1.0"/>
    </default-facets>
  </extension>

  <extension point="org.eclipse.debug.ui.launchConfigurationTypeImages">
    <launchConfigurationTypeImage
      id="org.eclipse.wst.server.preview.launchConfigurationTypeImage"
      configTypeID="org.eclipse.wst.server.preview.launchConfigurationType"
      icon="icons/obj16/preview.gif">
    </launchConfigurationTypeImage>
  </extension>

  <extension point="org.eclipse.debug.ui.launchConfigurationTabGroups">
    <launchConfigurationTabGroup
      id="org.eclipse.wst.server.preview.launchConfigurationTabGroup"
      type="org.eclipse.wst.server.preview.launchConfigurationType"
      class="org.eclipse.wst.server.preview.adapter.internal.ui.PreviewLaunchConfigurationTabGroup">
    </launchConfigurationTabGroup>
  </extension>
</plugin>
New to GrepCode? Check out our FAQ X