Browse files

First part of haskell.ui plugin documentation.

Fixed typo in most of the already-documented files by me.
  • Loading branch information...
1 parent d3cb8e3 commit 6396a6b6a4e78a54abe4405f7f086333e0605bfe @serras serras committed Aug 25, 2011
Showing with 731 additions and 183 deletions.
  1. +1 −1 net.sf.eclipsefp.haskell.browser/src/net/sf/eclipsefp/haskell/browser/BrowserEvent.java
  2. +1 −1 net.sf.eclipsefp.haskell.browser/src/net/sf/eclipsefp/haskell/browser/BrowserPlugin.java
  3. +1 −1 net.sf.eclipsefp.haskell.browser/src/net/sf/eclipsefp/haskell/browser/BrowserServer.java
  4. +1 −1 net.sf.eclipsefp.haskell.browser/src/net/sf/eclipsefp/haskell/browser/DatabaseLoadedEvent.java
  5. +1 −1 net.sf.eclipsefp.haskell.browser/src/net/sf/eclipsefp/haskell/browser/DatabaseType.java
  6. +1 −1 net.sf.eclipsefp.haskell.browser/src/net/sf/eclipsefp/haskell/browser/IDatabaseLoadedListener.java
  7. +1 −1 net.sf.eclipsefp.haskell.browser/src/net/sf/eclipsefp/haskell/browser/IHoogleLoadedListener.java
  8. +1 −1 net.sf.eclipsefp.haskell.browser/src/net/sf/eclipsefp/haskell/browser/client/Commands.java
  9. +1 −1 net.sf.eclipsefp.haskell.browser/src/net/sf/eclipsefp/haskell/browser/client/NullBrowserServer.java
  10. +1 −1 ...sf.eclipsefp.haskell.browser/src/net/sf/eclipsefp/haskell/browser/client/StreamBrowserServer.java
  11. +1 −1 net.sf.eclipsefp.haskell.browser/src/net/sf/eclipsefp/haskell/browser/items/Constructor.java
  12. +1 −1 net.sf.eclipsefp.haskell.browser/src/net/sf/eclipsefp/haskell/browser/items/DataType.java
  13. +1 −1 net.sf.eclipsefp.haskell.browser/src/net/sf/eclipsefp/haskell/browser/items/Declaration.java
  14. +1 −1 net.sf.eclipsefp.haskell.browser/src/net/sf/eclipsefp/haskell/browser/items/DeclarationType.java
  15. +1 −1 net.sf.eclipsefp.haskell.browser/src/net/sf/eclipsefp/haskell/browser/items/Documented.java
  16. +1 −1 net.sf.eclipsefp.haskell.browser/src/net/sf/eclipsefp/haskell/browser/items/Function.java
  17. +1 −1 net.sf.eclipsefp.haskell.browser/src/net/sf/eclipsefp/haskell/browser/items/Gadt.java
  18. +1 −1 net.sf.eclipsefp.haskell.browser/src/net/sf/eclipsefp/haskell/browser/items/HaskellPackage.java
  19. +1 −1 net.sf.eclipsefp.haskell.browser/src/net/sf/eclipsefp/haskell/browser/items/HoogleResult.java
  20. +1 −1 ...eclipsefp.haskell.browser/src/net/sf/eclipsefp/haskell/browser/items/HoogleResultConstructor.java
  21. +1 −1 ...eclipsefp.haskell.browser/src/net/sf/eclipsefp/haskell/browser/items/HoogleResultDeclaration.java
  22. +1 −1 net.sf.eclipsefp.haskell.browser/src/net/sf/eclipsefp/haskell/browser/items/HoogleResultModule.java
  23. +1 −1 net.sf.eclipsefp.haskell.browser/src/net/sf/eclipsefp/haskell/browser/items/HoogleResultPackage.java
  24. +1 −1 net.sf.eclipsefp.haskell.browser/src/net/sf/eclipsefp/haskell/browser/items/HoogleResultType.java
  25. +1 −1 net.sf.eclipsefp.haskell.browser/src/net/sf/eclipsefp/haskell/browser/items/Instance.java
  26. +1 −1 net.sf.eclipsefp.haskell.browser/src/net/sf/eclipsefp/haskell/browser/items/Module.java
  27. +1 −1 net.sf.eclipsefp.haskell.browser/src/net/sf/eclipsefp/haskell/browser/items/NewType.java
  28. +1 −1 net.sf.eclipsefp.haskell.browser/src/net/sf/eclipsefp/haskell/browser/items/PackageIdentifier.java
  29. +1 −1 net.sf.eclipsefp.haskell.browser/src/net/sf/eclipsefp/haskell/browser/items/Packaged.java
  30. +1 −1 net.sf.eclipsefp.haskell.browser/src/net/sf/eclipsefp/haskell/browser/items/QueryItem.java
  31. +1 −1 net.sf.eclipsefp.haskell.browser/src/net/sf/eclipsefp/haskell/browser/items/TypeClass.java
  32. +1 −1 net.sf.eclipsefp.haskell.browser/src/net/sf/eclipsefp/haskell/browser/items/TypeSynonym.java
  33. +1 −1 net.sf.eclipsefp.haskell.browser/src/net/sf/eclipsefp/haskell/browser/items/Util.java
  34. +1 −1 net.sf.eclipsefp.haskell.hlint/src/net/sf/eclipsefp/haskell/hlint/CodeModification.java
  35. +1 −1 net.sf.eclipsefp.haskell.hlint/src/net/sf/eclipsefp/haskell/hlint/CodeModificationRemove.java
  36. +1 −1 net.sf.eclipsefp.haskell.hlint/src/net/sf/eclipsefp/haskell/hlint/CodeModificationText.java
  37. +1 −1 net.sf.eclipsefp.haskell.hlint/src/net/sf/eclipsefp/haskell/hlint/CodeModificationType.java
  38. +1 −1 net.sf.eclipsefp.haskell.hlint/src/net/sf/eclipsefp/haskell/hlint/HLintRunner.java
  39. +1 −1 net.sf.eclipsefp.haskell.hlint/src/net/sf/eclipsefp/haskell/hlint/Severity.java
  40. +1 −1 net.sf.eclipsefp.haskell.hlint/src/net/sf/eclipsefp/haskell/hlint/SourceLocation.java
  41. +1 −1 net.sf.eclipsefp.haskell.hlint/src/net/sf/eclipsefp/haskell/hlint/Suggestion.java
  42. +1 −1 ...psefp.haskell.profiler/src/net/sf/eclipsefp/haskell/profiler/internal/editors/ProfileNumbers.java
  43. +1 −1 ...psefp.haskell.profiler/src/net/sf/eclipsefp/haskell/profiler/internal/editors/ProfilerViewer.java
  44. +1 −1 net.sf.eclipsefp.haskell.profiler/src/net/sf/eclipsefp/haskell/profiler/model/Job.java
  45. +1 −1 net.sf.eclipsefp.haskell.profiler/src/net/sf/eclipsefp/haskell/profiler/model/Sample.java
  46. +1 −1 net.sf.eclipsefp.haskell.scion.client/src/net/sf/eclipsefp/haskell/scion/client/CommandGroup.java
  47. +6 −1 net.sf.eclipsefp.haskell.ui/.settings/org.eclipse.jdt.core.prefs
  48. +2 −4 net.sf.eclipsefp.haskell.ui/.settings/org.eclipse.jdt.ui.prefs
  49. +5 −1 net.sf.eclipsefp.haskell.ui/src/net/sf/eclipsefp/haskell/browser/BrowserPerspective.java
  50. +2 −2 net.sf.eclipsefp.haskell.ui/src/net/sf/eclipsefp/haskell/browser/util/HtmlUtil.java
  51. +11 −1 net.sf.eclipsefp.haskell.ui/src/net/sf/eclipsefp/haskell/browser/util/ImageCache.java
  52. +5 −1 ...sf.eclipsefp.haskell.ui/src/net/sf/eclipsefp/haskell/browser/views/NoDatabaseContentProvider.java
  53. +5 −1 net.sf.eclipsefp.haskell.ui/src/net/sf/eclipsefp/haskell/browser/views/NoDatabaseLabelProvider.java
  54. +5 −1 net.sf.eclipsefp.haskell.ui/src/net/sf/eclipsefp/haskell/browser/views/NoDatabaseRoot.java
  55. +7 −1 ...skell.ui/src/net/sf/eclipsefp/haskell/browser/views/declarations/DeclarationsContentProvider.java
  56. +6 −1 ...haskell.ui/src/net/sf/eclipsefp/haskell/browser/views/declarations/DeclarationsLabelProvider.java
  57. +7 −1 ...ipsefp.haskell.ui/src/net/sf/eclipsefp/haskell/browser/views/declarations/DeclarationsSorter.java
  58. +7 −1 ...clipsefp.haskell.ui/src/net/sf/eclipsefp/haskell/browser/views/declarations/DeclarationsView.java
  59. +6 −1 ...f.eclipsefp.haskell.ui/src/net/sf/eclipsefp/haskell/browser/views/declarations/FunctionsView.java
  60. +6 −1 net.sf.eclipsefp.haskell.ui/src/net/sf/eclipsefp/haskell/browser/views/declarations/TypesView.java
  61. +6 −2 ...eclipsefp.haskell.ui/src/net/sf/eclipsefp/haskell/browser/views/hoogle/HoogleContentProvider.java
  62. +6 −2 ...f.eclipsefp.haskell.ui/src/net/sf/eclipsefp/haskell/browser/views/hoogle/HoogleLabelProvider.java
  63. +6 −2 net.sf.eclipsefp.haskell.ui/src/net/sf/eclipsefp/haskell/browser/views/hoogle/HoogleView.java
  64. +6 −1 ...lipsefp.haskell.ui/src/net/sf/eclipsefp/haskell/browser/views/modules/ModulesContentProvider.java
  65. +9 −1 net.sf.eclipsefp.haskell.ui/src/net/sf/eclipsefp/haskell/browser/views/modules/ModulesItem.java
  66. +6 −1 ...eclipsefp.haskell.ui/src/net/sf/eclipsefp/haskell/browser/views/modules/ModulesLabelProvider.java
  67. +6 −1 net.sf.eclipsefp.haskell.ui/src/net/sf/eclipsefp/haskell/browser/views/modules/ModulesSorter.java
  68. +6 −1 net.sf.eclipsefp.haskell.ui/src/net/sf/eclipsefp/haskell/browser/views/modules/ModulesView.java
  69. +6 −1 ...ipsefp.haskell.ui/src/net/sf/eclipsefp/haskell/browser/views/modules/ModulesViewFlatDelegate.java
  70. +6 −1 ...askell.ui/src/net/sf/eclipsefp/haskell/browser/views/modules/ModulesViewHierarchicalDelegate.java
  71. +7 −1 ...psefp.haskell.ui/src/net/sf/eclipsefp/haskell/browser/views/modules/ModulesViewStyleDelegate.java
  72. +6 −1 ...psefp.haskell.ui/src/net/sf/eclipsefp/haskell/browser/views/packages/PackagesContentProvider.java
  73. +8 −1 net.sf.eclipsefp.haskell.ui/src/net/sf/eclipsefp/haskell/browser/views/packages/PackagesItem.java
  74. +6 −1 ...lipsefp.haskell.ui/src/net/sf/eclipsefp/haskell/browser/views/packages/PackagesLabelProvider.java
  75. +7 −1 net.sf.eclipsefp.haskell.ui/src/net/sf/eclipsefp/haskell/browser/views/packages/PackagesRoot.java
  76. +7 −1 net.sf.eclipsefp.haskell.ui/src/net/sf/eclipsefp/haskell/browser/views/packages/PackagesSorter.java
  77. +6 −1 net.sf.eclipsefp.haskell.ui/src/net/sf/eclipsefp/haskell/browser/views/packages/PackagesView.java
  78. +1 −1 net.sf.eclipsefp.haskell.ui/src/net/sf/eclipsefp/haskell/ui/internal/editors/cabal/forms/Choice.java
  79. +2 −3 ....eclipsefp.haskell.ui/src/net/sf/eclipsefp/haskell/ui/internal/editors/cabal/forms/FormEntry.java
  80. +1 −1 ...efp.haskell.ui/src/net/sf/eclipsefp/haskell/ui/internal/editors/cabal/forms/FormEntryAdapter.java
  81. +5 −1 ...fp.haskell.ui/src/net/sf/eclipsefp/haskell/ui/internal/editors/cabal/forms/FormEntryCheckBox.java
  82. +10 −2 ...psefp.haskell.ui/src/net/sf/eclipsefp/haskell/ui/internal/editors/cabal/forms/FormEntryCombo.java
  83. +1 −1 ...p.haskell.ui/src/net/sf/eclipsefp/haskell/ui/internal/editors/cabal/forms/FormEntryDecorator.java
  84. +6 −2 ...ipsefp.haskell.ui/src/net/sf/eclipsefp/haskell/ui/internal/editors/cabal/forms/FormEntryFile.java
  85. +7 −2 ...haskell.ui/src/net/sf/eclipsefp/haskell/ui/internal/editors/cabal/forms/FormEntryMultiSelect.java
  86. +1 −1 ...ipsefp.haskell.ui/src/net/sf/eclipsefp/haskell/ui/internal/editors/cabal/forms/FormEntryText.java
  87. +6 −2 ...p.haskell.ui/src/net/sf/eclipsefp/haskell/ui/internal/editors/cabal/forms/IFormEntryListener.java
  88. +1 −1 ...src/net/sf/eclipsefp/haskell/ui/internal/editors/cabal/forms/LimitedWorkbenchContentProvider.java
  89. +6 −2 ...p.haskell.ui/src/net/sf/eclipsefp/haskell/ui/internal/editors/cabal/forms/overview/BuildType.java
  90. +6 −1 ...ell.ui/src/net/sf/eclipsefp/haskell/ui/internal/editors/cabal/forms/overview/BuildTypeChoice.java
  91. +6 −2 ....ui/src/net/sf/eclipsefp/haskell/ui/internal/editors/cabal/forms/overview/CabalVersionChoice.java
  92. +7 −2 ...i/src/net/sf/eclipsefp/haskell/ui/internal/editors/cabal/forms/overview/ChooseCompilerDialog.java
  93. +6 −2 ...l.ui/src/net/sf/eclipsefp/haskell/ui/internal/editors/cabal/forms/overview/CompilerFormEntry.java
  94. +6 −2 ...ll.ui/src/net/sf/eclipsefp/haskell/ui/internal/editors/cabal/forms/overview/DataFilesSection.java
  95. +7 −2 ...efp.haskell.ui/src/net/sf/eclipsefp/haskell/ui/internal/editors/cabal/forms/overview/License.java
  96. +6 −1 ...skell.ui/src/net/sf/eclipsefp/haskell/ui/internal/editors/cabal/forms/overview/LicenseChoice.java
  97. +7 −2 ...t/sf/eclipsefp/haskell/ui/internal/editors/cabal/forms/overview/MinimalVersionFormEntryCombo.java
  98. +7 −2 ...f/eclipsefp/haskell/ui/internal/editors/cabal/forms/stanzas/CompilerExtensionContentProvider.java
  99. +6 −2 .../src/net/sf/eclipsefp/haskell/ui/internal/editors/cabal/forms/stanzas/CompilerOptionsSection.java
  100. +6 −2 ...l.ui/src/net/sf/eclipsefp/haskell/ui/internal/editors/cabal/forms/stanzas/DependenciesDialog.java
  101. +6 −2 .../eclipsefp/haskell/ui/internal/editors/cabal/forms/stanzas/DependenciesDialogContentProvider.java
  102. +6 −2 ...sf/eclipsefp/haskell/ui/internal/editors/cabal/forms/stanzas/DependenciesDialogLabelProvider.java
  103. +6 −2 ...i/src/net/sf/eclipsefp/haskell/ui/internal/editors/cabal/forms/stanzas/DependenciesFormEntry.java
  104. +6 −2 ....ui/src/net/sf/eclipsefp/haskell/ui/internal/editors/cabal/forms/stanzas/DependenciesSection.java
  105. +6 −2 ...f/eclipsefp/haskell/ui/internal/editors/cabal/forms/stanzas/DependenciesTableContentProvider.java
  106. +6 −2 .../sf/eclipsefp/haskell/ui/internal/editors/cabal/forms/stanzas/DependenciesTableLabelProvider.java
  107. +6 −2 ...skell.ui/src/net/sf/eclipsefp/haskell/ui/internal/editors/cabal/forms/stanzas/DependencyItem.java
  108. +5 −1 ...kell.ui/src/net/sf/eclipsefp/haskell/ui/internal/editors/cabal/forms/stanzas/ExecutablesPage.java
  109. +5 −1 ...kell.ui/src/net/sf/eclipsefp/haskell/ui/internal/editors/cabal/forms/stanzas/FormEntryMainIs.java
  110. +5 −1 ...ell.ui/src/net/sf/eclipsefp/haskell/ui/internal/editors/cabal/forms/stanzas/FormEntryModules.java
  111. +6 −2 ...ui/src/net/sf/eclipsefp/haskell/ui/internal/editors/cabal/forms/stanzas/FormEntryModulesRoot.java
  112. +5 −1 ...rc/net/sf/eclipsefp/haskell/ui/internal/editors/cabal/forms/stanzas/IOtherValueEntryListener.java
  113. +6 −2 ....haskell.ui/src/net/sf/eclipsefp/haskell/ui/internal/editors/cabal/forms/stanzas/LibraryPage.java
  114. +6 −2 ...kell.ui/src/net/sf/eclipsefp/haskell/ui/internal/editors/cabal/forms/stanzas/MainIsFormEntry.java
  115. +6 −2 ...rc/net/sf/eclipsefp/haskell/ui/internal/editors/cabal/forms/stanzas/ModulesExecutableSection.java
  116. +6 −2 ...i/src/net/sf/eclipsefp/haskell/ui/internal/editors/cabal/forms/stanzas/ModulesLibrarySection.java
  117. +6 −2 ...src/net/sf/eclipsefp/haskell/ui/internal/editors/cabal/forms/stanzas/ModulesTestSuiteSection.java
  118. +6 −2 ...ll.ui/src/net/sf/eclipsefp/haskell/ui/internal/editors/cabal/forms/stanzas/SourceDirsSection.java
  119. +6 −2 ...askell.ui/src/net/sf/eclipsefp/haskell/ui/internal/editors/cabal/forms/stanzas/TestSuiteType.java
  120. +6 −1 ....ui/src/net/sf/eclipsefp/haskell/ui/internal/editors/cabal/forms/stanzas/TestSuiteTypeChoice.java
  121. +5 −1 ...skell.ui/src/net/sf/eclipsefp/haskell/ui/internal/editors/cabal/forms/stanzas/TestSuitesPage.java
  122. +2 −0 ...et/sf/eclipsefp/haskell/ui/internal/editors/haskell/codeassist/HaskellContentAssistProcessor.java
  123. +10 −1 ...lipsefp.haskell.ui/src/net/sf/eclipsefp/haskell/ui/internal/editors/haskell/imports/AnImport.java
  124. +11 −1 ...p.haskell.ui/src/net/sf/eclipsefp/haskell/ui/internal/editors/haskell/imports/ImportsManager.java
  125. +9 −0 ...eclipsefp.haskell.ui/src/net/sf/eclipsefp/haskell/ui/internal/editors/partitioned/AlexEditor.java
  126. +9 −1 ...i/src/net/sf/eclipsefp/haskell/ui/internal/editors/partitioned/AlexSourceViewerConfiguration.java
  127. +9 −0 ...clipsefp.haskell.ui/src/net/sf/eclipsefp/haskell/ui/internal/editors/partitioned/HappyEditor.java
  128. +9 −1 .../src/net/sf/eclipsefp/haskell/ui/internal/editors/partitioned/HappySourceViewerConfiguration.java
  129. +9 −1 ...sefp.haskell.ui/src/net/sf/eclipsefp/haskell/ui/internal/editors/partitioned/KeywordDetector.java
  130. +9 −1 ...skell.ui/src/net/sf/eclipsefp/haskell/ui/internal/editors/partitioned/PartitionDocumentSetup.java
  131. +9 −0 ...sefp.haskell.ui/src/net/sf/eclipsefp/haskell/ui/internal/editors/partitioned/PartitionEditor.java
  132. +9 −0 .../net/sf/eclipsefp/haskell/ui/internal/editors/partitioned/PartitionSourceViewerConfiguration.java
  133. +10 −1 ...p.haskell.ui/src/net/sf/eclipsefp/haskell/ui/internal/editors/partitioned/SingleWordDetector.java
  134. +9 −0 ...clipsefp.haskell.ui/src/net/sf/eclipsefp/haskell/ui/internal/editors/partitioned/UuagcEditor.java
  135. +9 −1 .../src/net/sf/eclipsefp/haskell/ui/internal/editors/partitioned/UuagcSourceViewerConfiguration.java
  136. +10 −1 ...fp.haskell.ui/src/net/sf/eclipsefp/haskell/ui/internal/editors/uuagcOptions/UuagcFileSection.java
  137. +10 −1 ...kell.ui/src/net/sf/eclipsefp/haskell/ui/internal/editors/uuagcOptions/UuagcOptionsFormEditor.java
  138. +9 −1 ...fp.haskell.ui/src/net/sf/eclipsefp/haskell/ui/internal/editors/uuagcOptions/UuagcOptionsPage.java
  139. +9 −1 ...efp.haskell.ui/src/net/sf/eclipsefp/haskell/ui/internal/editors/uuagcOptions/UuagcTextEditor.java
  140. +10 −1 ...p.haskell.ui/src/net/sf/eclipsefp/haskell/ui/internal/refactoring/participants/ChangeCreator.java
  141. +9 −1 ...haskell.ui/src/net/sf/eclipsefp/haskell/ui/internal/refactoring/participants/CopyParticipant.java
  142. +9 −1 ...l.ui/src/net/sf/eclipsefp/haskell/ui/internal/refactoring/participants/MoveFolderParticipant.java
  143. +9 −1 ...haskell.ui/src/net/sf/eclipsefp/haskell/ui/internal/refactoring/participants/MoveParticipant.java
  144. +9 −1 ...ui/src/net/sf/eclipsefp/haskell/ui/internal/refactoring/participants/RenameFolderParticipant.java
  145. +9 −0 ...skell.ui/src/net/sf/eclipsefp/haskell/ui/internal/refactoring/participants/RenameParticipant.java
  146. +10 −2 ....eclipsefp.haskell.ui/src/net/sf/eclipsefp/haskell/ui/internal/refactoring/participants/Util.java
  147. +9 −1 ...sf.eclipsefp.haskell.ui/src/net/sf/eclipsefp/haskell/ui/internal/resolve/AddImportResolution.java
  148. +3 −2 ...f.eclipsefp.haskell.ui/src/net/sf/eclipsefp/haskell/ui/internal/resolve/QuickAssistProcessor.java
  149. +9 −1 ...ui/src/net/sf/eclipsefp/haskell/ui/internal/resolve/RemoveRedundantElementInImportResolution.java
  150. +10 −1 net.sf.eclipsefp.haskell.ui/src/net/sf/eclipsefp/haskell/ui/sourcegraph/RunActionDelegate.java
View
2 net.sf.eclipsefp.haskell.browser/src/net/sf/eclipsefp/haskell/browser/BrowserEvent.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.browser;
View
2 net.sf.eclipsefp.haskell.browser/src/net/sf/eclipsefp/haskell/browser/BrowserPlugin.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.browser;
View
2 net.sf.eclipsefp.haskell.browser/src/net/sf/eclipsefp/haskell/browser/BrowserServer.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.browser;
View
2 ...f.eclipsefp.haskell.browser/src/net/sf/eclipsefp/haskell/browser/DatabaseLoadedEvent.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.browser;
View
2 net.sf.eclipsefp.haskell.browser/src/net/sf/eclipsefp/haskell/browser/DatabaseType.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.browser;
View
2 ...lipsefp.haskell.browser/src/net/sf/eclipsefp/haskell/browser/IDatabaseLoadedListener.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.browser;
View
2 ...eclipsefp.haskell.browser/src/net/sf/eclipsefp/haskell/browser/IHoogleLoadedListener.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.browser;
View
2 net.sf.eclipsefp.haskell.browser/src/net/sf/eclipsefp/haskell/browser/client/Commands.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.browser.client;
View
2 ...ipsefp.haskell.browser/src/net/sf/eclipsefp/haskell/browser/client/NullBrowserServer.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.browser.client;
View
2 ...sefp.haskell.browser/src/net/sf/eclipsefp/haskell/browser/client/StreamBrowserServer.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.browser.client;
View
2 net.sf.eclipsefp.haskell.browser/src/net/sf/eclipsefp/haskell/browser/items/Constructor.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.browser.items;
View
2 net.sf.eclipsefp.haskell.browser/src/net/sf/eclipsefp/haskell/browser/items/DataType.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.browser.items;
View
2 net.sf.eclipsefp.haskell.browser/src/net/sf/eclipsefp/haskell/browser/items/Declaration.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.browser.items;
View
2 ...eclipsefp.haskell.browser/src/net/sf/eclipsefp/haskell/browser/items/DeclarationType.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.browser.items;
View
2 net.sf.eclipsefp.haskell.browser/src/net/sf/eclipsefp/haskell/browser/items/Documented.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.browser.items;
View
2 net.sf.eclipsefp.haskell.browser/src/net/sf/eclipsefp/haskell/browser/items/Function.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.browser.items;
View
2 net.sf.eclipsefp.haskell.browser/src/net/sf/eclipsefp/haskell/browser/items/Gadt.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.browser.items;
View
2 ....eclipsefp.haskell.browser/src/net/sf/eclipsefp/haskell/browser/items/HaskellPackage.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.browser.items;
View
2 ...sf.eclipsefp.haskell.browser/src/net/sf/eclipsefp/haskell/browser/items/HoogleResult.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.browser.items;
View
2 ...p.haskell.browser/src/net/sf/eclipsefp/haskell/browser/items/HoogleResultConstructor.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.browser.items;
View
2 ...p.haskell.browser/src/net/sf/eclipsefp/haskell/browser/items/HoogleResultDeclaration.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.browser.items;
View
2 ...ipsefp.haskell.browser/src/net/sf/eclipsefp/haskell/browser/items/HoogleResultModule.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.browser.items;
View
2 ...psefp.haskell.browser/src/net/sf/eclipsefp/haskell/browser/items/HoogleResultPackage.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.browser.items;
View
2 ...clipsefp.haskell.browser/src/net/sf/eclipsefp/haskell/browser/items/HoogleResultType.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.browser.items;
View
2 net.sf.eclipsefp.haskell.browser/src/net/sf/eclipsefp/haskell/browser/items/Instance.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.browser.items;
View
2 net.sf.eclipsefp.haskell.browser/src/net/sf/eclipsefp/haskell/browser/items/Module.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.browser.items;
View
2 net.sf.eclipsefp.haskell.browser/src/net/sf/eclipsefp/haskell/browser/items/NewType.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.browser.items;
View
2 ...lipsefp.haskell.browser/src/net/sf/eclipsefp/haskell/browser/items/PackageIdentifier.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.browser.items;
View
2 net.sf.eclipsefp.haskell.browser/src/net/sf/eclipsefp/haskell/browser/items/Packaged.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.browser.items;
View
2 net.sf.eclipsefp.haskell.browser/src/net/sf/eclipsefp/haskell/browser/items/QueryItem.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.browser.items;
View
2 net.sf.eclipsefp.haskell.browser/src/net/sf/eclipsefp/haskell/browser/items/TypeClass.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.browser.items;
View
2 net.sf.eclipsefp.haskell.browser/src/net/sf/eclipsefp/haskell/browser/items/TypeSynonym.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.browser.items;
View
2 net.sf.eclipsefp.haskell.browser/src/net/sf/eclipsefp/haskell/browser/items/Util.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.browser.items;
View
2 net.sf.eclipsefp.haskell.hlint/src/net/sf/eclipsefp/haskell/hlint/CodeModification.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.hlint;
View
2 ...sf.eclipsefp.haskell.hlint/src/net/sf/eclipsefp/haskell/hlint/CodeModificationRemove.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.hlint;
View
2 net.sf.eclipsefp.haskell.hlint/src/net/sf/eclipsefp/haskell/hlint/CodeModificationText.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.hlint;
View
2 net.sf.eclipsefp.haskell.hlint/src/net/sf/eclipsefp/haskell/hlint/CodeModificationType.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.hlint;
View
2 net.sf.eclipsefp.haskell.hlint/src/net/sf/eclipsefp/haskell/hlint/HLintRunner.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.hlint;
View
2 net.sf.eclipsefp.haskell.hlint/src/net/sf/eclipsefp/haskell/hlint/Severity.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.hlint;
View
2 net.sf.eclipsefp.haskell.hlint/src/net/sf/eclipsefp/haskell/hlint/SourceLocation.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.hlint;
View
2 net.sf.eclipsefp.haskell.hlint/src/net/sf/eclipsefp/haskell/hlint/Suggestion.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.hlint;
View
2 ...skell.profiler/src/net/sf/eclipsefp/haskell/profiler/internal/editors/ProfileNumbers.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.profiler.internal.editors;
View
2 ...skell.profiler/src/net/sf/eclipsefp/haskell/profiler/internal/editors/ProfilerViewer.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.profiler.internal.editors;
View
2 net.sf.eclipsefp.haskell.profiler/src/net/sf/eclipsefp/haskell/profiler/model/Job.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.profiler.model;
View
2 net.sf.eclipsefp.haskell.profiler/src/net/sf/eclipsefp/haskell/profiler/model/Sample.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.profiler.model;
View
2 ...clipsefp.haskell.scion.client/src/net/sf/eclipsefp/haskell/scion/client/CommandGroup.java
@@ -1,6 +1,6 @@
/**
* (c) 2010, B. Scott Michel
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.scion.client;
View
7 net.sf.eclipsefp.haskell.ui/.settings/org.eclipse.jdt.core.prefs
@@ -1,4 +1,4 @@
-#Fri Feb 18 12:35:31 CET 2011
+#Thu Aug 25 12:19:40 CEST 2011
eclipse.preferences.version=1
org.eclipse.jdt.core.builder.cleanOutputFolder=clean
org.eclipse.jdt.core.builder.duplicateResourceTask=warning
@@ -154,6 +154,7 @@ org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert
org.eclipse.jdt.core.formatter.comment.line_length=80
org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true
org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true
+org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments=false
org.eclipse.jdt.core.formatter.compact_else_if=true
org.eclipse.jdt.core.formatter.continuation_indentation=2
org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2
@@ -172,9 +173,13 @@ org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true
org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true
org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=true
org.eclipse.jdt.core.formatter.indentation.size=2
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field=insert
org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert
org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_member=insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method=insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package=insert
org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type=insert
org.eclipse.jdt.core.formatter.insert_new_line_after_label=do not insert
org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert
org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert
View
6 net.sf.eclipsefp.haskell.ui/.settings/org.eclipse.jdt.ui.prefs
@@ -1,18 +1,16 @@
-#Fri Feb 11 15:14:12 PST 2011
+#Thu Aug 25 12:19:40 CEST 2011
eclipse.preferences.version=1
editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true
formatter_profile=_net.sf.eclipsefp.haskell.ui
-formatter_settings_version=11
+formatter_settings_version=12
org.eclipse.jdt.ui.exception.name=ex
org.eclipse.jdt.ui.gettersetter.use.is=true
org.eclipse.jdt.ui.ignorelowercasenames=true
org.eclipse.jdt.ui.importorder=java;javax;org;com;
-org.eclipse.jdt.ui.javadoc=false
org.eclipse.jdt.ui.keywordthis=false
org.eclipse.jdt.ui.ondemandthreshold=99
org.eclipse.jdt.ui.overrideannotation=true
org.eclipse.jdt.ui.staticondemandthreshold=99
-org.eclipse.jdt.ui.text.custom_code_templates=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?><templates><template autoinsert\="true" context\="gettercomment_context" deleted\="false" description\="Comment for getter method" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.gettercomment" name\="gettercomment"/><template autoinsert\="true" context\="settercomment_context" deleted\="false" description\="Comment for setter method" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.settercomment" name\="settercomment"/><template autoinsert\="true" context\="constructorcomment_context" deleted\="false" description\="Comment for created constructors" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.constructorcomment" name\="constructorcomment"/><template autoinsert\="true" context\="filecomment_context" deleted\="false" description\="Comment for created Java files" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.filecomment" name\="filecomment">// Copyright (c) 2004-2005 by Leif Frenzel&\#13;\r\n// See http\://leiffrenzel.de</template><template autoinsert\="true" context\="typecomment_context" deleted\="false" description\="Comment for created types" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.typecomment" name\="typecomment">/** &lt;p&gt;TODO&lt;/p&gt;\r\n *\r\n * @author Leif Frenzel\r\n */</template><template autoinsert\="true" context\="fieldcomment_context" deleted\="false" description\="Comment for fields" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.fieldcomment" name\="fieldcomment"/><template autoinsert\="true" context\="methodcomment_context" deleted\="false" description\="Comment for non-overriding methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.methodcomment" name\="methodcomment"/><template autoinsert\="true" context\="overridecomment_context" deleted\="false" description\="Comment for overriding methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.overridecomment" name\="overridecomment"/><template autoinsert\="true" context\="newtype_context" deleted\="false" description\="Newly created files" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.newtype" name\="newtype">${filecomment}\r\n${package_declaration}\r\n\r\n${typecomment}\r\n${type_declaration}</template><template autoinsert\="true" context\="catchblock_context" deleted\="false" description\="Code in new catch blocks" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.catchblock" name\="catchblock">// ${todo} Auto-generated catch block\r\n${exception_var}.printStackTrace();</template><template autoinsert\="true" context\="methodbody_context" deleted\="false" description\="Code in created method stubs" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.methodbody" name\="methodbody">// ${todo} Auto-generated method stub\r\n${body_statement}</template><template autoinsert\="true" context\="constructorbody_context" deleted\="false" description\="Code in created constructor stubs" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.constructorbody" name\="constructorbody">${body_statement}\r\n// ${todo} Auto-generated constructor stub</template><template autoinsert\="true" context\="getterbody_context" deleted\="false" description\="Code in created getters" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.getterbody" name\="getterbody">return ${field};</template><template autoinsert\="true" context\="setterbody_context" deleted\="false" description\="Code in created setters" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.setterbody" name\="setterbody">${field} \= ${param};</template><template autoinsert\="true" context\="delegatecomment_context" deleted\="false" description\="Comment for delegate methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.delegatecomment" name\="delegatecomment">/**\r\n * ${tags}\r\n * ${see_to_target}\r\n */</template><template autoinsert\="true" context\="classbody_context" deleted\="false" description\="Code in new class type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.classbody" name\="classbody">\r\n</template><template autoinsert\="true" context\="interfacebody_context" deleted\="false" description\="Code in new interface type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.interfacebody" name\="interfacebody">\r\n</template><template autoinsert\="true" context\="enumbody_context" deleted\="false" description\="Code in new enum type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.enumbody" name\="enumbody">\r\n</template><template autoinsert\="true" context\="annotationbody_context" deleted\="false" description\="Code in new annotation type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.annotationbody" name\="annotationbody">\r\n</template></templates>
sp_cleanup.add_default_serial_version_id=true
sp_cleanup.add_generated_serial_version_id=false
sp_cleanup.add_missing_annotations=true
View
6 net.sf.eclipsefp.haskell.ui/src/net/sf/eclipsefp/haskell/browser/BrowserPerspective.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.browser;
@@ -11,6 +11,10 @@
import org.eclipse.ui.IPageLayout;
import org.eclipse.ui.IPerspectiveFactory;
+/**
+ * Perspective for Haskell Browser.
+ * @author Alejandro Serrano
+ */
public class BrowserPerspective implements IPerspectiveFactory {
public void createInitialLayout(final IPageLayout layout) {
View
4 net.sf.eclipsefp.haskell.ui/src/net/sf/eclipsefp/haskell/browser/util/HtmlUtil.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.browser.util;
@@ -11,7 +11,7 @@
/**
* Generates Html for showing documentation in several places.
*
- * @author serras
+ * @author Alejandro Serrano
*/
public class HtmlUtil {
View
12 net.sf.eclipsefp.haskell.ui/src/net/sf/eclipsefp/haskell/browser/util/ImageCache.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.browser.util;
@@ -9,6 +9,11 @@
import net.sf.eclipsefp.haskell.ui.util.IImageNames;
import org.eclipse.swt.graphics.Image;
+/**
+ * Cache for images used in the Haskell Browser.
+ * @author Alejandro Serrano
+ *
+ */
public class ImageCache {
public static Image MODULE = HaskellUIImages.getImage( IImageNames.MODULE );
@@ -22,6 +27,11 @@
public static Image FUNCTION = HaskellUIImages.getImage( IImageNames.FUNCTION_BINDING );
public static Image TYPE = HaskellUIImages.getImage( IImageNames.TYPE_DECL );
+ /**
+ * Get the image corresponding to a declaration.
+ * @param type The type of the declaration to show.
+ * @return The corresponding image.
+ */
public static Image getImageForDeclaration( final DeclarationType type ) {
switch( type ) {
case DATA_TYPE:
View
6 ...sefp.haskell.ui/src/net/sf/eclipsefp/haskell/browser/views/NoDatabaseContentProvider.java
@@ -3,7 +3,11 @@
import org.eclipse.jface.viewers.ITreeContentProvider;
import org.eclipse.jface.viewers.Viewer;
-
+/**
+ * Content provider used when the database or Hoogle haven't been loaded yet.
+ * @author Alejandro Serrano
+ *
+ */
public class NoDatabaseContentProvider implements ITreeContentProvider {
public void dispose() {
View
6 ...ipsefp.haskell.ui/src/net/sf/eclipsefp/haskell/browser/views/NoDatabaseLabelProvider.java
@@ -6,7 +6,11 @@
import org.eclipse.jface.viewers.ILabelProviderListener;
import org.eclipse.swt.graphics.Image;
-
+/**
+ * Provider used when the database or Hoogle haven't been loaded yet.
+ * @author Alejandro Serrano
+ *
+ */
public class NoDatabaseLabelProvider implements ILabelProvider {
boolean isHoogle;
View
6 net.sf.eclipsefp.haskell.ui/src/net/sf/eclipsefp/haskell/browser/views/NoDatabaseRoot.java
@@ -1,6 +1,10 @@
package net.sf.eclipsefp.haskell.browser.views;
-
+/**
+ * Element to show when the database is not yet loaded.
+ * @author Alejandro Serrano
+ *
+ */
public class NoDatabaseRoot {
public static NoDatabaseRoot ROOT = new NoDatabaseRoot();
}
View
8 .../src/net/sf/eclipsefp/haskell/browser/views/declarations/DeclarationsContentProvider.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.browser.views.declarations;
@@ -18,6 +18,12 @@
import org.eclipse.jface.viewers.ITreeContentProvider;
import org.eclipse.jface.viewers.Viewer;
+/**
+ * Content provider for declarations.
+ * Implements the nesting of instances in their parent elements.
+ * @author Alejandro Serrano
+ *
+ */
public class DeclarationsContentProvider implements ITreeContentProvider {
boolean isTypes;
View
7 ...ui/src/net/sf/eclipsefp/haskell/browser/views/declarations/DeclarationsLabelProvider.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.browser.views.declarations;
@@ -12,6 +12,11 @@
import org.eclipse.jface.viewers.ILabelProviderListener;
import org.eclipse.swt.graphics.Image;
+/**
+ * Label provider for declarations.
+ * @author Alejandro Serrano
+ *
+ */
public class DeclarationsLabelProvider implements ILabelProvider {
public Image getImage(final Object element) {
View
8 ...askell.ui/src/net/sf/eclipsefp/haskell/browser/views/declarations/DeclarationsSorter.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.browser.views.declarations;
@@ -11,6 +11,12 @@
import org.eclipse.jface.viewers.Viewer;
import org.eclipse.jface.viewers.ViewerSorter;
+/**
+ * Sort declarations, usually in a case-insensitive way,
+ * but sending all instance declarations to the bottom.
+ * @author Alejandro Serrano
+ *
+ */
public class DeclarationsSorter extends ViewerSorter {
@Override
View
8 ....haskell.ui/src/net/sf/eclipsefp/haskell/browser/views/declarations/DeclarationsView.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.browser.views.declarations;
@@ -30,6 +30,12 @@
import org.eclipse.ui.browser.IWorkbenchBrowserSupport;
import org.eclipse.ui.part.ViewPart;
+/**
+ * Base class for types and functions views, which share the
+ * idea of showing a Haskell declaration.
+ * @author Alejandro Serrano
+ *
+ */
public abstract class DeclarationsView extends ViewPart implements
ISelectionListener, ISelectionChangedListener, IDoubleClickListener {
View
7 ...efp.haskell.ui/src/net/sf/eclipsefp/haskell/browser/views/declarations/FunctionsView.java
@@ -1,9 +1,14 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.browser.views.declarations;
+/**
+ * View part for 'functions' in the Browser.
+ * @author Alejandro Serrano
+ *
+ */
public class FunctionsView extends DeclarationsView {
/**
View
7 ...lipsefp.haskell.ui/src/net/sf/eclipsefp/haskell/browser/views/declarations/TypesView.java
@@ -1,9 +1,14 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.browser.views.declarations;
+/**
+ * View part for 'declarations' in the Browser.
+ * @author Alejandro Serrano
+ *
+ */
public class TypesView extends DeclarationsView {
/**
View
8 ...p.haskell.ui/src/net/sf/eclipsefp/haskell/browser/views/hoogle/HoogleContentProvider.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.browser.views.hoogle;
@@ -13,7 +13,11 @@
import org.eclipse.jface.viewers.ITreeContentProvider;
import org.eclipse.jface.viewers.Viewer;
-
+/**
+ * Content provider for Hoogle results.
+ * @author Alejandro Serrano
+ *
+ */
public class HoogleContentProvider implements ITreeContentProvider {
ArrayList<Map.Entry<String, ArrayList<HoogleResult>>> results = null;
View
8 ...efp.haskell.ui/src/net/sf/eclipsefp/haskell/browser/views/hoogle/HoogleLabelProvider.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.browser.views.hoogle;
@@ -15,7 +15,11 @@
import org.eclipse.jface.viewers.ILabelProviderListener;
import org.eclipse.swt.graphics.Image;
-
+/**
+ * Label provider for Hoogle results.
+ * @author Alejandro Serrano
+ *
+ */
public class HoogleLabelProvider implements ILabelProvider {
public Image getImage( final Object element ) {
View
8 ...sf.eclipsefp.haskell.ui/src/net/sf/eclipsefp/haskell/browser/views/hoogle/HoogleView.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.browser.views.hoogle;
@@ -44,7 +44,11 @@
import org.eclipse.ui.browser.IWorkbenchBrowserSupport;
import org.eclipse.ui.part.ViewPart;
-
+/**
+ * View part for Hoogle search.
+ * @author Alejandro Serrano
+ *
+ */
public class HoogleView extends ViewPart implements SelectionListener,
ISelectionChangedListener, IDoubleClickListener, IHoogleLoadedListener {
View
7 ...haskell.ui/src/net/sf/eclipsefp/haskell/browser/views/modules/ModulesContentProvider.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.browser.views.modules;
@@ -13,6 +13,11 @@
import org.eclipse.jface.viewers.Viewer;
import org.eclipse.ui.IMemento;
+/**
+ * Content provider for modules view.
+ * @author Alejandro Serrano
+ *
+ */
public class ModulesContentProvider implements ITreeContentProvider {
boolean isHierarchical;
View
10 ....eclipsefp.haskell.ui/src/net/sf/eclipsefp/haskell/browser/views/modules/ModulesItem.java
@@ -1,12 +1,20 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.browser.views.modules;
import java.util.ArrayList;
import net.sf.eclipsefp.haskell.browser.items.Module;
+/**
+ * Item shown by the modules view.
+ * Includes not only module information, but also the possible
+ * parent and children modules and information about which
+ * package or database the element belongs to.
+ * @author Alejandro Serrano
+ *
+ */
public class ModulesItem {
private final Object dbInfo;
private final String name;
View
7 ...p.haskell.ui/src/net/sf/eclipsefp/haskell/browser/views/modules/ModulesLabelProvider.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.browser.views.modules;
@@ -9,6 +9,11 @@
import org.eclipse.jface.viewers.ILabelProviderListener;
import org.eclipse.swt.graphics.Image;
+/**
+ * Label provider for modules view.
+ * @author Alejandro Serrano
+ *
+ */
public class ModulesLabelProvider implements ILabelProvider {
public Image getImage(final Object element) {
View
7 ...clipsefp.haskell.ui/src/net/sf/eclipsefp/haskell/browser/views/modules/ModulesSorter.java
@@ -1,12 +1,17 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.browser.views.modules;
import org.eclipse.jface.viewers.Viewer;
import org.eclipse.jface.viewers.ViewerSorter;
+/**
+ * Sorts the modules in the view in a case-insensitive way.
+ * @author Alejandro Serrano
+ *
+ */
public class ModulesSorter extends ViewerSorter {
@Override
View
7 ....eclipsefp.haskell.ui/src/net/sf/eclipsefp/haskell/browser/views/modules/ModulesView.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.browser.views.modules;
@@ -24,6 +24,11 @@
import org.eclipse.ui.PartInitException;
import org.eclipse.ui.part.ViewPart;
+/**
+ * View part for showing the 'modules' in the Browser.
+ * @author Alejandro Serrano
+ *
+ */
public class ModulesView extends ViewPart implements ISelectionListener,
ISelectionChangedListener {
View
7 ...askell.ui/src/net/sf/eclipsefp/haskell/browser/views/modules/ModulesViewFlatDelegate.java
@@ -1,9 +1,14 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.browser.views.modules;
+/**
+ * Action for changng the modules view to a flat one.
+ * @author Alejandro Serrano
+ *
+ */
public class ModulesViewFlatDelegate extends ModulesViewStyleDelegate {
public ModulesViewFlatDelegate() {
super(false);
View
7 ...i/src/net/sf/eclipsefp/haskell/browser/views/modules/ModulesViewHierarchicalDelegate.java
@@ -1,9 +1,14 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.browser.views.modules;
+/**
+ * Action for changing the modules view to a hierarchical one.
+ * @author Alejandro Serrano
+ *
+ */
public class ModulesViewHierarchicalDelegate extends ModulesViewStyleDelegate {
public ModulesViewHierarchicalDelegate() {
super(true);
View
8 ...skell.ui/src/net/sf/eclipsefp/haskell/browser/views/modules/ModulesViewStyleDelegate.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.browser.views.modules;
@@ -9,6 +9,12 @@
import org.eclipse.ui.IViewActionDelegate;
import org.eclipse.ui.IViewPart;
+/**
+ * Action that changes the way modules are shown in the
+ * view: either flat or hierarchical.
+ * @author Alejandro Serrano
+ *
+ */
public class ModulesViewStyleDelegate implements IViewActionDelegate {
boolean isHierarchical;
View
7 ...skell.ui/src/net/sf/eclipsefp/haskell/browser/views/packages/PackagesContentProvider.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.browser.views.packages;
@@ -11,6 +11,11 @@
import org.eclipse.jface.viewers.ITreeContentProvider;
import org.eclipse.jface.viewers.Viewer;
+/**
+ * Content provider for packages view.
+ * @author Alejandro Serrano
+ *
+ */
public class PackagesContentProvider implements ITreeContentProvider {
PackagesItem[] localCache = null;
View
9 ...clipsefp.haskell.ui/src/net/sf/eclipsefp/haskell/browser/views/packages/PackagesItem.java
@@ -1,12 +1,19 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.browser.views.packages;
import net.sf.eclipsefp.haskell.browser.DatabaseType;
import net.sf.eclipsefp.haskell.browser.items.HaskellPackage;
+/**
+ * Elements that are shown in the packages view.
+ * Each package also includes the database where it belongs to,
+ * so the parent element in the tree can be recovered.
+ * @author Alejandro Serrano
+ *
+ */
public class PackagesItem {
private final DatabaseType ty;
private final HaskellPackage pkg;
View
7 ...haskell.ui/src/net/sf/eclipsefp/haskell/browser/views/packages/PackagesLabelProvider.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.browser.views.packages;
@@ -10,6 +10,11 @@
import org.eclipse.jface.viewers.ILabelProviderListener;
import org.eclipse.swt.graphics.Image;
+/**
+ * Label provider for packages.
+ * @author Alejandro Serrano
+ *
+ */
public class PackagesLabelProvider implements ILabelProvider {
public Image getImage(final Object element) {
View
8 ...clipsefp.haskell.ui/src/net/sf/eclipsefp/haskell/browser/views/packages/PackagesRoot.java
@@ -1,9 +1,15 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.browser.views.packages;
+/**
+ * Represents a root for the packages view, that is,
+ * a database in Scion Browser.
+ * @author Alejandro Serrano
+ *
+ */
public class PackagesRoot {
public static PackagesRoot ROOT = new PackagesRoot();
View
8 ...ipsefp.haskell.ui/src/net/sf/eclipsefp/haskell/browser/views/packages/PackagesSorter.java
@@ -1,13 +1,19 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.browser.views.packages;
import net.sf.eclipsefp.haskell.browser.items.HaskellPackage;
import org.eclipse.jface.viewers.Viewer;
import org.eclipse.jface.viewers.ViewerSorter;
+/**
+ * Sorts packages corresponding to their names and version,
+ * in a case-insensitive way.
+ * @author Alejandro Serrano
+ *
+ */
public class PackagesSorter extends ViewerSorter {
@Override
View
7 ...clipsefp.haskell.ui/src/net/sf/eclipsefp/haskell/browser/views/packages/PackagesView.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.browser.views.packages;
@@ -30,6 +30,11 @@
import org.eclipse.ui.browser.IWorkbenchBrowserSupport;
import org.eclipse.ui.part.ViewPart;
+/**
+ * View part for the 'packages' in the Browser.
+ * @author Alejandro Serrano
+ *
+ */
public class PackagesView extends ViewPart implements IDatabaseLoadedListener,
ISelectionChangedListener, IDoubleClickListener {
View
2 ...psefp.haskell.ui/src/net/sf/eclipsefp/haskell/ui/internal/editors/cabal/forms/Choice.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.ui.internal.editors.cabal.forms;
View
5 ...fp.haskell.ui/src/net/sf/eclipsefp/haskell/ui/internal/editors/cabal/forms/FormEntry.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.ui.internal.editors.cabal.forms;
@@ -14,8 +14,7 @@
/**
* Common class for Cabal entry widgets, which provide common functionality
* where the editor pages can hook on.
- *
- * @author serras
+ * @author Alejandro Serrano
*/
public abstract class FormEntry {
View
2 ...ell.ui/src/net/sf/eclipsefp/haskell/ui/internal/editors/cabal/forms/FormEntryAdapter.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.ui.internal.editors.cabal.forms;
View
6 ...ll.ui/src/net/sf/eclipsefp/haskell/ui/internal/editors/cabal/forms/FormEntryCheckBox.java
@@ -9,7 +9,11 @@
import org.eclipse.swt.widgets.Control;
import org.eclipse.ui.forms.widgets.FormToolkit;
-
+/**
+ * Form entry showing a simple checkbox.
+ * @author Alejandro Serrano
+ *
+ */
public class FormEntryCheckBox extends FormEntry implements SelectionListener {
static final String TRUE = "true";
View
12 ...skell.ui/src/net/sf/eclipsefp/haskell/ui/internal/editors/cabal/forms/FormEntryCombo.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.ui.internal.editors.cabal.forms;
@@ -19,7 +19,15 @@
import org.eclipse.swt.widgets.Control;
import org.eclipse.ui.forms.widgets.FormToolkit;
-
+/**
+ * Form entry for selecting an element in a combo list.
+ * @author Alejandro Serrano
+ *
+ * @param <T> Type of the elements that may be chosen
+ * from the list. In the constructor, you
+ * must provide a Choice<T> instance for
+ * the names of the items.
+ */
public class FormEntryCombo<T> extends FormEntry {
private CCombo comboField;
View
2 ...l.ui/src/net/sf/eclipsefp/haskell/ui/internal/editors/cabal/forms/FormEntryDecorator.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.ui.internal.editors.cabal.forms;
View
8 ...askell.ui/src/net/sf/eclipsefp/haskell/ui/internal/editors/cabal/forms/FormEntryFile.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.ui.internal.editors.cabal.forms;
@@ -19,7 +19,11 @@
import org.eclipse.ui.model.WorkbenchLabelProvider;
import org.eclipse.ui.views.navigator.ResourceComparator;
-
+/**
+ * Form entry for selecting a file.
+ * @author Alejandro Serrano
+ *
+ */
public class FormEntryFile extends FormEntry implements ICheckStateListener {
CheckboxTreeViewer treeField;
View
9 ...ui/src/net/sf/eclipsefp/haskell/ui/internal/editors/cabal/forms/FormEntryMultiSelect.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.ui.internal.editors.cabal.forms;
@@ -17,7 +17,12 @@
import org.eclipse.swt.widgets.Control;
import org.eclipse.ui.forms.widgets.FormToolkit;
-
+/**
+ * Form entry that shows a list with attached checkboxes,
+ * where the user can select zero or more of them.
+ * @author Alejandro Serrano
+ *
+ */
public class FormEntryMultiSelect extends FormEntry implements
ICheckStateListener {
View
2 ...askell.ui/src/net/sf/eclipsefp/haskell/ui/internal/editors/cabal/forms/FormEntryText.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.ui.internal.editors.cabal.forms;
View
8 ...l.ui/src/net/sf/eclipsefp/haskell/ui/internal/editors/cabal/forms/IFormEntryListener.java
@@ -1,10 +1,14 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.ui.internal.editors.cabal.forms;
-
+/**
+ * Listener for changes in a form entry in a managed form.
+ * @author Alejandro Serrano
+ *
+ */
public interface IFormEntryListener {
void focusGained( FormEntry entry );
void textDirty( FormEntry entry );
View
2 ...sf/eclipsefp/haskell/ui/internal/editors/cabal/forms/LimitedWorkbenchContentProvider.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.ui.internal.editors.cabal.forms;
View
8 ...l.ui/src/net/sf/eclipsefp/haskell/ui/internal/editors/cabal/forms/overview/BuildType.java
@@ -1,10 +1,14 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.ui.internal.editors.cabal.forms.overview;
-
+/**
+ * Types of build that can be used in a Cabal file.
+ * @author Alejandro Serrano
+ *
+ */
public enum BuildType {
Simple ("Simple", "Simple"),
Configure ("Configure", "Configure"),
View
7 ...rc/net/sf/eclipsefp/haskell/ui/internal/editors/cabal/forms/overview/BuildTypeChoice.java
@@ -1,11 +1,16 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.ui.internal.editors.cabal.forms.overview;
import net.sf.eclipsefp.haskell.ui.internal.editors.cabal.forms.Choice;
+/**
+ * Information about the types of build that can be used in a Cabal file.
+ * @author Alejandro Serrano
+ *
+ */
public class BuildTypeChoice extends Choice<BuildType> {
@Override
View
8 ...net/sf/eclipsefp/haskell/ui/internal/editors/cabal/forms/overview/CabalVersionChoice.java
@@ -1,12 +1,16 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.ui.internal.editors.cabal.forms.overview;
import net.sf.eclipsefp.haskell.ui.internal.editors.cabal.forms.Choice;
-
+/**
+ * Possible versions of Cabal that may be set as minimal version required.
+ * @author Alejandro Serrano
+ *
+ */
public class CabalVersionChoice extends Choice<String> {
private static String[] values = new String[] { "1.2", "1.4", "1.6", "1.8", "1.10", "1.12" };
View
9 ...t/sf/eclipsefp/haskell/ui/internal/editors/cabal/forms/overview/ChooseCompilerDialog.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.ui.internal.editors.cabal.forms.overview;
@@ -17,7 +17,12 @@
import org.eclipse.swt.widgets.Shell;
import org.eclipse.swt.widgets.Text;
-
+/**
+ * Dialog that allows to select a compiler and a version.
+ * The compiler list is taken from the Cabal documentation.
+ * @author Alejandro Serrano
+ *
+ */
public class ChooseCompilerDialog extends Dialog {
List compilerList;
View
8 .../net/sf/eclipsefp/haskell/ui/internal/editors/cabal/forms/overview/CompilerFormEntry.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.ui.internal.editors.cabal.forms.overview;
@@ -21,7 +21,11 @@
import org.eclipse.ui.PlatformUI;
import org.eclipse.ui.forms.widgets.FormToolkit;
-
+/**
+ * Form entry to select a list of compiler and their versions.
+ * @author Alejandro Serrano
+ *
+ */
public class CompilerFormEntry extends FormEntry {
private List compilerList;
View
8 ...c/net/sf/eclipsefp/haskell/ui/internal/editors/cabal/forms/overview/DataFilesSection.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.ui.internal.editors.cabal.forms.overview;
@@ -16,7 +16,11 @@
import org.eclipse.ui.forms.editor.IFormPage;
import org.eclipse.ui.forms.widgets.FormToolkit;
-
+/**
+ * Section for selecting the files to include as data.
+ * @author Alejandro Serrano
+ *
+ */
public class DataFilesSection extends CabalFormSection {
DataFilesSection( final IFormPage page, final Composite parent,
View
9 ...ell.ui/src/net/sf/eclipsefp/haskell/ui/internal/editors/cabal/forms/overview/License.java
@@ -1,10 +1,15 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.ui.internal.editors.cabal.forms.overview;
-
+/**
+ * Licenses available by name in a Cabal file.
+ * The list is taken from Cabal documentation.
+ * @author Alejandro Serrano
+ *
+ */
public enum License {
GPL3 ("GPL-3", "GNU General Public License, version 3"),
GPL2 ("GPL-2", "GNU General Public License, version 2"),
View
7 .../src/net/sf/eclipsefp/haskell/ui/internal/editors/cabal/forms/overview/LicenseChoice.java
@@ -1,11 +1,16 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.ui.internal.editors.cabal.forms.overview;
import net.sf.eclipsefp.haskell.ui.internal.editors.cabal.forms.Choice;
+/**
+ * Information for showing the available licenses for a Cabal package.
+ * @author Alejandro Serrano
+ *
+ */
public class LicenseChoice extends Choice<License> {
@Override
View
9 ...ipsefp/haskell/ui/internal/editors/cabal/forms/overview/MinimalVersionFormEntryCombo.java
@@ -1,13 +1,18 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.ui.internal.editors.cabal.forms.overview;
import net.sf.eclipsefp.haskell.ui.internal.editors.cabal.forms.Choice;
import net.sf.eclipsefp.haskell.ui.internal.editors.cabal.forms.FormEntryCombo;
-
+/**
+ * Form entry to select the minimal Cabal version needed to build the package.
+ * @author Alejandro Serrano
+ *
+ * @param <T>
+ */
public class MinimalVersionFormEntryCombo<T> extends FormEntryCombo<T> {
public MinimalVersionFormEntryCombo( final Choice<T> choices ) {
View
9 ...efp/haskell/ui/internal/editors/cabal/forms/stanzas/CompilerExtensionContentProvider.java
@@ -1,13 +1,18 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.ui.internal.editors.cabal.forms.stanzas;
import org.eclipse.jface.viewers.ITreeContentProvider;
import org.eclipse.jface.viewers.Viewer;
-
+/**
+ * Provider for the list of extensions to the compiler.
+ * The list is taken from GHC documentation.
+ * @author Alejandro Serrano
+ *
+ */
public class CompilerExtensionContentProvider implements ITreeContentProvider {
public static String[] extensions = new String[] { "OverlappingInstances",
View
8 .../sf/eclipsefp/haskell/ui/internal/editors/cabal/forms/stanzas/CompilerOptionsSection.java
@@ -1,6 +1,6 @@
/**
* (c) 2011, Alejandro Serrano
- * Released under the condidtions of the EPL.
+ * Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.ui.internal.editors.cabal.forms.stanzas;