Changeset 3515


Ignore:
Timestamp:
Mar 14, 2008, 9:44:13 AM (13 years ago)
Author:
yura
Message:
Location:
devel-tools/trunk/eclipse/org.refal.rfpdt.ui/src/org/refal/rfpdt
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • devel-tools/trunk/eclipse/org.refal.rfpdt.ui/src/org/refal/rfpdt/editor/BracketInserter.java

    r3508 r3515  
    3131import org.eclipse.swt.graphics.Point;
    3232import org.eclipse.ui.texteditor.link.EditorLinkedModeUI;
    33 import org.refal.rfpdt.core.RfpCorePlugin;
     33import org.refal.rfpdt.core.RfpCore;
    3434import org.refal.rfpdt.editor.preferences.IPreferenceConstants;
    3535
     
    350350
    351351        } catch (BadLocationException e) {
    352             RfpCorePlugin.log(e);
     352            RfpCore.log(e);
    353353        } catch (BadPositionCategoryException e) {
    354             RfpCorePlugin.log(e);
     354            RfpCore.log(e);
    355355        }
    356356    }
     
    428428                            document.replace(level.fSecondPosition.offset, level.fSecondPosition.length, null);
    429429                        } catch (BadLocationException e) {
    430                             RfpCorePlugin.log(e);
     430                            RfpCore.log(e);
    431431                        }
    432432                    }
     
    437437                            document.removePositionCategory(CATEGORY);
    438438                        } catch (BadPositionCategoryException e) {
    439                             RfpCorePlugin.log(e);
     439                            RfpCore.log(e);
    440440                        }
    441441                    }
  • devel-tools/trunk/eclipse/org.refal.rfpdt.ui/src/org/refal/rfpdt/editor/preferences/CodeStylePreferencePage.java

    r3508 r3515  
    2929import org.eclipse.ui.dialogs.PreferencesUtil;
    3030import org.eclipse.ui.model.WorkbenchLabelProvider;
    31 import org.refal.rfpdt.core.RfpCorePlugin;
    32 import org.refal.rfpdt.core.RfpNature;
     31import org.refal.rfpdt.core.RfpCore;
    3332import org.refal.rfpdt.editor.RfpEditorPlugin;
    3433import org.refal.rfpdt.editor.preferences.SyntaxColoringPreferencePage.ModifiableBooleanFieldEditor;
     
    102101                        ArrayList<IProject> rfpProjects = new ArrayList<IProject>(projects.length);
    103102                        for (IProject project : projects) {
    104                             if (project.isOpen() && project.getNature(RfpNature.NATURE_ID) != null)
     103                            if (project.isOpen() && project.getNature(RfpCore.NATURE_ID) != null)
    105104                                rfpProjects.add(project);
    106105                        }
     
    128127                        PreferencesUtil.createPreferenceDialogOn(parent.getShell(), e.text, null, null).open();
    129128                } catch (CoreException ex) {
    130                     RfpCorePlugin.log(ex);
     129                    RfpCore.log(ex);
    131130                }
    132131            }
  • devel-tools/trunk/eclipse/org.refal.rfpdt.ui/src/org/refal/rfpdt/ui/actions/IndentAction.java

    r3514 r3515  
    1919import org.eclipse.ui.IEditorPart;
    2020import org.eclipse.ui.texteditor.IDocumentProvider;
    21 import org.refal.rfpdt.core.RfpCorePlugin;
     21import org.refal.rfpdt.core.RfpCore;
    2222import org.refal.rfpdt.editor.Document;
    2323import org.refal.rfpdt.editor.RfpAutoIndentStrategy;
     
    6060            } catch (BadLocationException e) {
    6161                // will only happen on concurrent modification
    62                 RfpCorePlugin.log(new Status(IStatus.ERROR, RfpCorePlugin.getPluginId(), IStatus.OK, "", e)); //$NON-NLS-1$
     62                RfpCore.log(new Status(IStatus.ERROR, RfpCore.getPluginId(), IStatus.OK, "", e)); //$NON-NLS-1$
    6363                return;
    6464            }
     
    9191                    } catch (BadLocationException e) {
    9292                        // will only happen on concurrent modification
    93                         RfpCorePlugin.log("ConcurrentModification in IndentAction", e); //$NON-NLS-1$
     93                        RfpCore.log("ConcurrentModification in IndentAction", e); //$NON-NLS-1$
    9494
    9595                    } finally {
  • devel-tools/trunk/eclipse/org.refal.rfpdt.ui/src/org/refal/rfpdt/ui/actions/ToggleCommentAction.java

    r3508 r3515  
    2121import org.eclipse.ui.IEditorActionDelegate;
    2222import org.eclipse.ui.IEditorPart;
    23 import org.refal.rfpdt.core.RfpCorePlugin;
     23import org.refal.rfpdt.core.RfpCore;
    2424import org.refal.rfpdt.editor.RfpEditor;
    2525
     
    137137                } catch (BadLocationException x) {
    138138                        // should not happen
    139                         RfpCorePlugin.log(x);
     139                        RfpCore.log(x);
    140140                }
    141141
  • devel-tools/trunk/eclipse/org.refal.rfpdt.ui/src/org/refal/rfpdt/ui/wizards/ProjectCreationWizard.java

    r3508 r3515  
    1717import org.eclipse.ui.actions.WorkspaceModifyDelegatingOperation;
    1818import org.eclipse.ui.wizards.newresource.BasicNewProjectResourceWizard;
    19 import org.refal.rfpdt.core.RfpCorePlugin;
     19import org.refal.rfpdt.core.RfpCore;
    2020import org.refal.rfpdt.editor.RfpEditorPlugin;
    2121
     
    101101                        IStatus status = ((CoreException) target).getStatus();
    102102                        ErrorDialog.openError(getShell(), title, message, status);
    103                         RfpCorePlugin.log(status);
     103                        RfpCore.log(status);
    104104                } else {
    105105                        MessageDialog.openError(getShell(), title, target.getMessage());
    106                         RfpCorePlugin.log(target.getMessage(), target);
     106                        RfpCore.log(target.getMessage(), target);
    107107                }
    108108        }
  • devel-tools/trunk/eclipse/org.refal.rfpdt.ui/src/org/refal/rfpdt/ui/wizards/RfpProjectCreationOperation.java

    r3508 r3515  
    1616import org.eclipse.jdt.core.JavaCore;
    1717import org.eclipse.jface.operation.IRunnableWithProgress;
    18 import org.refal.rfpdt.core.RfpCorePlugin;
    19 import org.refal.rfpdt.core.RfpNature;
     18import org.refal.rfpdt.core.RfpCore;
    2019
    2120public class RfpProjectCreationOperation implements IRunnableWithProgress {
     
    3938            ResourcesPlugin.getWorkspace().run(operation, mon);
    4039        } catch (CoreException e) {
    41             RfpCorePlugin.log("Problem creating new project.", e);
     40            RfpCore.log("Problem creating new project.", e);
    4241        } finally {
    4342            mon.done();
     
    104103     */
    105104    private String[] getProjectNatures () {
    106         return new String[] { RfpNature.NATURE_ID, JavaCore.NATURE_ID };
     105        return new String[] { RfpCore.NATURE_ID, JavaCore.NATURE_ID };
    107106    }
    108107}
Note: See TracChangeset for help on using the changeset viewer.