Changeset 3515 for devel-tools
- Timestamp:
- Mar 14, 2008, 9:44:13 AM (13 years ago)
- 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 31 31 import org.eclipse.swt.graphics.Point; 32 32 import org.eclipse.ui.texteditor.link.EditorLinkedModeUI; 33 import org.refal.rfpdt.core.RfpCore Plugin;33 import org.refal.rfpdt.core.RfpCore; 34 34 import org.refal.rfpdt.editor.preferences.IPreferenceConstants; 35 35 … … 350 350 351 351 } catch (BadLocationException e) { 352 RfpCore Plugin.log(e);352 RfpCore.log(e); 353 353 } catch (BadPositionCategoryException e) { 354 RfpCore Plugin.log(e);354 RfpCore.log(e); 355 355 } 356 356 } … … 428 428 document.replace(level.fSecondPosition.offset, level.fSecondPosition.length, null); 429 429 } catch (BadLocationException e) { 430 RfpCore Plugin.log(e);430 RfpCore.log(e); 431 431 } 432 432 } … … 437 437 document.removePositionCategory(CATEGORY); 438 438 } catch (BadPositionCategoryException e) { 439 RfpCore Plugin.log(e);439 RfpCore.log(e); 440 440 } 441 441 } -
devel-tools/trunk/eclipse/org.refal.rfpdt.ui/src/org/refal/rfpdt/editor/preferences/CodeStylePreferencePage.java
r3508 r3515 29 29 import org.eclipse.ui.dialogs.PreferencesUtil; 30 30 import org.eclipse.ui.model.WorkbenchLabelProvider; 31 import org.refal.rfpdt.core.RfpCorePlugin; 32 import org.refal.rfpdt.core.RfpNature; 31 import org.refal.rfpdt.core.RfpCore; 33 32 import org.refal.rfpdt.editor.RfpEditorPlugin; 34 33 import org.refal.rfpdt.editor.preferences.SyntaxColoringPreferencePage.ModifiableBooleanFieldEditor; … … 102 101 ArrayList<IProject> rfpProjects = new ArrayList<IProject>(projects.length); 103 102 for (IProject project : projects) { 104 if (project.isOpen() && project.getNature(Rfp Nature.NATURE_ID) != null)103 if (project.isOpen() && project.getNature(RfpCore.NATURE_ID) != null) 105 104 rfpProjects.add(project); 106 105 } … … 128 127 PreferencesUtil.createPreferenceDialogOn(parent.getShell(), e.text, null, null).open(); 129 128 } catch (CoreException ex) { 130 RfpCore Plugin.log(ex);129 RfpCore.log(ex); 131 130 } 132 131 } -
devel-tools/trunk/eclipse/org.refal.rfpdt.ui/src/org/refal/rfpdt/ui/actions/IndentAction.java
r3514 r3515 19 19 import org.eclipse.ui.IEditorPart; 20 20 import org.eclipse.ui.texteditor.IDocumentProvider; 21 import org.refal.rfpdt.core.RfpCore Plugin;21 import org.refal.rfpdt.core.RfpCore; 22 22 import org.refal.rfpdt.editor.Document; 23 23 import org.refal.rfpdt.editor.RfpAutoIndentStrategy; … … 60 60 } catch (BadLocationException e) { 61 61 // will only happen on concurrent modification 62 RfpCore Plugin.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$ 63 63 return; 64 64 } … … 91 91 } catch (BadLocationException e) { 92 92 // will only happen on concurrent modification 93 RfpCore Plugin.log("ConcurrentModification in IndentAction", e); //$NON-NLS-1$93 RfpCore.log("ConcurrentModification in IndentAction", e); //$NON-NLS-1$ 94 94 95 95 } finally { -
devel-tools/trunk/eclipse/org.refal.rfpdt.ui/src/org/refal/rfpdt/ui/actions/ToggleCommentAction.java
r3508 r3515 21 21 import org.eclipse.ui.IEditorActionDelegate; 22 22 import org.eclipse.ui.IEditorPart; 23 import org.refal.rfpdt.core.RfpCore Plugin;23 import org.refal.rfpdt.core.RfpCore; 24 24 import org.refal.rfpdt.editor.RfpEditor; 25 25 … … 137 137 } catch (BadLocationException x) { 138 138 // should not happen 139 RfpCore Plugin.log(x);139 RfpCore.log(x); 140 140 } 141 141 -
devel-tools/trunk/eclipse/org.refal.rfpdt.ui/src/org/refal/rfpdt/ui/wizards/ProjectCreationWizard.java
r3508 r3515 17 17 import org.eclipse.ui.actions.WorkspaceModifyDelegatingOperation; 18 18 import org.eclipse.ui.wizards.newresource.BasicNewProjectResourceWizard; 19 import org.refal.rfpdt.core.RfpCore Plugin;19 import org.refal.rfpdt.core.RfpCore; 20 20 import org.refal.rfpdt.editor.RfpEditorPlugin; 21 21 … … 101 101 IStatus status = ((CoreException) target).getStatus(); 102 102 ErrorDialog.openError(getShell(), title, message, status); 103 RfpCore Plugin.log(status);103 RfpCore.log(status); 104 104 } else { 105 105 MessageDialog.openError(getShell(), title, target.getMessage()); 106 RfpCore Plugin.log(target.getMessage(), target);106 RfpCore.log(target.getMessage(), target); 107 107 } 108 108 } -
devel-tools/trunk/eclipse/org.refal.rfpdt.ui/src/org/refal/rfpdt/ui/wizards/RfpProjectCreationOperation.java
r3508 r3515 16 16 import org.eclipse.jdt.core.JavaCore; 17 17 import org.eclipse.jface.operation.IRunnableWithProgress; 18 import org.refal.rfpdt.core.RfpCorePlugin; 19 import org.refal.rfpdt.core.RfpNature; 18 import org.refal.rfpdt.core.RfpCore; 20 19 21 20 public class RfpProjectCreationOperation implements IRunnableWithProgress { … … 39 38 ResourcesPlugin.getWorkspace().run(operation, mon); 40 39 } catch (CoreException e) { 41 RfpCore Plugin.log("Problem creating new project.", e);40 RfpCore.log("Problem creating new project.", e); 42 41 } finally { 43 42 mon.done(); … … 104 103 */ 105 104 private String[] getProjectNatures () { 106 return new String[] { Rfp Nature.NATURE_ID, JavaCore.NATURE_ID };105 return new String[] { RfpCore.NATURE_ID, JavaCore.NATURE_ID }; 107 106 } 108 107 }
Note: See TracChangeset
for help on using the changeset viewer.