performed javacscript:fix and worked on documentation
[taxeditor.git] / taxeditor-application / src / main / java / eu / etaxonomy / taxeditor / Perspective.java
index 133c79ff06c67eef72c199bd2bc30dd625079631..adbe9c34509b419b6529b0162ff7986a7d768a10 100644 (file)
@@ -1,29 +1,37 @@
-package eu.etaxonomy.taxeditor;\r
-\r
-import org.eclipse.ui.IFolderLayout;\r
-import org.eclipse.ui.IPageLayout;\r
-import org.eclipse.ui.IPerspectiveFactory;\r
-import org.eclipse.ui.progress.IProgressConstants;\r
-\r
-import eu.etaxonomy.taxeditor.navigation.navigator.TaxonNavigator;\r
-import eu.etaxonomy.taxeditor.navigation.search.SearchResultView;\r
-\r
-public class Perspective implements IPerspectiveFactory {\r
-\r
-       public static final String ID = "eu.etaxonomy.taxeditor.application.perspective";\r
-       \r
-       /* (non-Javadoc)\r
-        * @see org.eclipse.ui.IPerspectiveFactory#createInitialLayout(org.eclipse.ui.IPageLayout)\r
-        */\r
-       public void createInitialLayout(IPageLayout layout) {\r
-               IFolderLayout navigationFolder = layout.createFolder("navigation", IPageLayout.LEFT, 0.25f,\r
-                           layout.getEditorArea());\r
-               \r
-               // Note: ":*" is what allows us to call multiple searchResultView's with unique secondaryIds;\r
-               //      this can only be done here, with a placeholder, not in plugin.xml\r
-               navigationFolder.addPlaceholder(SearchResultView.ID + ":*");\r
-               navigationFolder.addView(TaxonNavigator.ID);\r
-               \r
-               navigationFolder.addPlaceholder(IProgressConstants.PROGRESS_VIEW_ID);\r
-       }\r
-}
\ No newline at end of file
+package eu.etaxonomy.taxeditor;
+
+import org.eclipse.ui.IFolderLayout;
+import org.eclipse.ui.IPageLayout;
+import org.eclipse.ui.IPerspectiveFactory;
+import org.eclipse.ui.progress.IProgressConstants;
+
+import eu.etaxonomy.taxeditor.navigation.navigator.TaxonNavigator;
+import eu.etaxonomy.taxeditor.navigation.search.SearchResultView;
+
+/**
+ * <p>Perspective class.</p>
+ *
+ * @author n.hoffmann
+ * @version $Id: $
+ */
+public class Perspective implements IPerspectiveFactory {
+
+       /** Constant <code>ID="eu.etaxonomy.taxeditor.application.pers"{trunked}</code> */
+       public static final String ID = "eu.etaxonomy.taxeditor.application.perspective";
+       
+       /* (non-Javadoc)
+        * @see org.eclipse.ui.IPerspectiveFactory#createInitialLayout(org.eclipse.ui.IPageLayout)
+        */
+       /** {@inheritDoc} */
+       public void createInitialLayout(IPageLayout layout) {
+               IFolderLayout navigationFolder = layout.createFolder("navigation", IPageLayout.LEFT, 0.25f,
+                           layout.getEditorArea());
+               
+               // Note: ":*" is what allows us to call multiple searchResultView's with unique secondaryIds;
+               //      this can only be done here, with a placeholder, not in plugin.xml
+               navigationFolder.addPlaceholder(SearchResultView.ID + ":*");
+               navigationFolder.addView(TaxonNavigator.ID);
+               
+               navigationFolder.addPlaceholder(IProgressConstants.PROGRESS_VIEW_ID);
+       }
+}