| <?xml version="1.0" encoding="UTF-8"?> |
| <?eclipse version="3.2"?> |
| <plugin> |
| <!-- Load the VPG plug-in at startup --> |
| <extension point="org.eclipse.ui.startup"> |
| <startup class="org.eclipse.photran.internal.core.vpg.PhotranVPGStartup" /> |
| </extension> |
| |
| <!-- Markers for displaying the VPG error/warning log --> |
| <extension point="org.eclipse.core.resources.markers" |
| name="%extension.name" |
| id="org.eclipse.photran.core.vpg.errorOrWarningMarker"> |
| <super type="org.eclipse.core.resources.textmarker"/> |
| <attribute name="resource"/> |
| <attribute name="message"/> |
| <persistent value="false"/> |
| </extension> |
| <extension point="org.eclipse.core.resources.markers" |
| name="%extension.name.0" |
| id="org.eclipse.photran.core.vpg.warningMarker"> |
| <super type="org.eclipse.photran.core.vpg.errorOrWarningMarker"/> |
| </extension> |
| <extension point="org.eclipse.core.resources.markers" |
| name="%extension.name.1" |
| id="org.eclipse.photran.core.vpg.errorMarker"> |
| <super type="org.eclipse.photran.core.vpg.errorOrWarningMarker"/> |
| </extension> |
| |
| <!-- Adapter factory for IASTNode objects --> |
| <extension point="org.eclipse.core.runtime.adapters"> |
| <factory |
| adaptableType="org.eclipse.photran.internal.core.parser.IASTNode" |
| class="org.eclipse.photran.internal.core.refactoring.infrastructure.ASTNodeAdapterFactory"> |
| <adapter type="org.eclipse.rephraserengine.core.util.OffsetLength" /> |
| <adapter type="org.eclipse.rephraserengine.core.preservation.ResetOffsetLength" /> |
| </factory> |
| </extension> |
| |
| <!-- Source Form Contributions --> |
| <extension point="org.eclipse.photran.core.sourceForms"> |
| <source-form |
| id="unpreprocessedFreeForm" |
| name="%source-form.name" |
| class="org.eclipse.photran.internal.core.lexer.sourceform.UnpreprocessedFreeSourceForm" |
| priority="default" |
| defaultForFilenameExtensions="f90,f95,f03,f08,F90,F95,F03,F08" /> |
| <source-form |
| id="unpreprocessedFixedForm" |
| name="%source-form.name.0" |
| class="org.eclipse.photran.internal.core.lexer.sourceform.UnpreprocessedFixedSourceForm" |
| priority="low" |
| defaultForFilenameExtensions="f,for,ftn,fix,f77,fpp,F,FOR,FTN,FIX,F77,FPP" /> |
| <source-form |
| id="freeForm" |
| name="%source-form.name.1" |
| class="org.eclipse.photran.internal.core.lexer.sourceform.FreeSourceForm" |
| priority="medium" |
| defaultForFilenameExtensions="f90,f95,f03,f08,F90,F95,F03,F08" /> |
| <source-form |
| id="fixedForm" |
| name="%source-form.name.2" |
| class="org.eclipse.photran.internal.core.lexer.sourceform.FixedSourceForm" |
| priority="medium" |
| defaultForFilenameExtensions="f,for,ftn,fix,f77,fpp,F,FOR,FTN,FIX,F77,FPP" /> |
| </extension> |
| </plugin> |