Changeset 3521


Ignore:
Timestamp:
Mar 14, 2008, 11:47:31 AM (13 years ago)
Author:
yura
Message:
  • All IDs in pretty style.
Location:
devel-tools/trunk/eclipse
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • devel-tools/trunk/eclipse/org.refal.rfpdt.core/plugin.xml

    r3509 r3521  
    33<plugin>
    44   <extension
    5          id="rfpbuilder"
     5         id="rfpBuilder"
    66         name="Refal Plus Project Builder"
    77         point="org.eclipse.core.resources.builders">
     
    1212   </extension>
    1313   <extension
    14          id="rfpnature"
     14         id="rfpNature"
    1515         name="Refal Plus Project Nature"
    1616         point="org.eclipse.core.resources.natures">
     
    1818         <run class="org.refal.rfpdt.core.RfpNature"/>
    1919      </runtime>
    20       <builder id="org.refal.rfpdt.core.rfpbuilder"/>
     20      <builder id="org.refal.rfpdt.core.rfpBuilder"/>
    2121      <requires-nature id="org.eclipse.jdt.core.javanature"/>
    2222   </extension>
     
    4141      <classpathContainerInitializer
    4242            class="org.refal.rfpdt.launching.RfpContainerInitializerAndResolver"
    43             id="org.refal.rfpdt.launching.RFP_CONTAINER">
     43            id="org.refal.rfpdt.launching.rfpContainer">
    4444      </classpathContainerInitializer>
    4545   </extension>
     
    4848      <runtimeClasspathEntryResolver
    4949            class="org.refal.rfpdt.launching.RfpContainerInitializerAndResolver"
    50             container="org.refal.rfpdt.launching.RFP_CONTAINER"
    51             id="org.refal.rfpdt.launching.RFP_RESOLVER">
     50            container="org.refal.rfpdt.launching.rfpContainer"
     51            id="org.refal.rfpdt.launching.rfpResolver">
    5252      </runtimeClasspathEntryResolver>
    5353   </extension>
  • devel-tools/trunk/eclipse/org.refal.rfpdt.core/src/org/refal/rfpdt/core/RfpBuilder.java

    r3516 r3521  
    214214    private static void addMarker (IFile file, String message, int lineNumber, int charStart, int charEnd, int severity) {
    215215        try {
    216             IMarker marker = file.createMarker(RfpCore.MARKER_TYPE);
     216            IMarker marker = file.createMarker(RfpCore.MARKER_ID);
    217217            if (message == null)
    218218                message = "Error";
     
    251251    protected void clean (IProgressMonitor monitor) throws CoreException {
    252252        IProject project = getProject();
    253         project.deleteMarkers(RfpCore.MARKER_TYPE, false, IResource.DEPTH_INFINITE);
     253        project.deleteMarkers(RfpCore.MARKER_ID, false, IResource.DEPTH_INFINITE);
    254254
    255255        project.accept(new IResourceVisitor() {
     
    409409    private static void deleteMarkers (IFile file) {
    410410        try {
    411             file.deleteMarkers(RfpCore.MARKER_TYPE, false, IResource.DEPTH_ZERO);
     411            file.deleteMarkers(RfpCore.MARKER_ID, false, IResource.DEPTH_ZERO);
    412412        } catch (CoreException e) {
    413413            RfpCore.log(e);
  • devel-tools/trunk/eclipse/org.refal.rfpdt.core/src/org/refal/rfpdt/core/RfpCore.java

    r3520 r3521  
    2424
    2525    public static final String PLUGIN_ID = "org.refal.rfpdt.core";
    26     public static final String NATURE_ID = "org.refal.rfpdt.core.rfpnature";
    27     public static final String BUILDER_ID = "org.refal.rfpdt.core.rfpbuilder";
    28     public static final String MARKER_TYPE = "org.refal.rfpdt.core.rfpProblemMarker";
    29     public static final String RFP_CONTAINER = "org.refal.rfpdt.launching.RFP_CONTAINER";
     26    public static final String NATURE_ID = "org.refal.rfpdt.core.rfpNature";
     27    public static final String BUILDER_ID = "org.refal.rfpdt.core.rfpBuilder";
     28    public static final String MARKER_ID = "org.refal.rfpdt.core.rfpProblemMarker";
     29    public static final String RFP_CONTAINER = "org.refal.rfpdt.launching.rfpContainer";
    3030
    3131    /**
  • devel-tools/trunk/eclipse/org.refal.rfpdt.core/src/org/refal/rfpdt/core/RfpNature.java

    r3516 r3521  
    2626                return;
    2727        ICommand[] newCommands = new ICommand[commands.length + 1];
    28         System.arraycopy(commands, 0, newCommands, 0, commands.length);
    2928        ICommand command = desc.newCommand();
    3029        command.setBuilderName(RfpCore.BUILDER_ID);
    31         newCommands[newCommands.length - 1] = command;
     30        newCommands[0] = command;
     31        System.arraycopy(commands, 0, newCommands, 1, commands.length);
    3232        desc.setBuildSpec(newCommands);
    3333        project.setDescription(desc, null);
  • devel-tools/trunk/eclipse/org.refal.rfpdt.ui/plugin.xml

    r3512 r3521  
    181181               <test
    182182                     property="org.eclipse.core.resources.projectNature"
    183                      value="org.refal.rfpdt.core.rfpnature"/>
     183                     value="org.refal.rfpdt.core.rfpNature"/>
    184184            </adapt>
    185185         </enabledWhen>
     
    214214            icon="icons/rfp_over.gif"
    215215            id="org.refal.rfpdt.core.natureImage"
    216             natureId="org.refal.rfpdt.core.rfpnature"/>
     216            natureId="org.refal.rfpdt.core.rfpNature"/>
    217217   </extension>
    218218   <extension
Note: See TracChangeset for help on using the changeset viewer.