tmf: Update copyright headers in tmf.ui
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.ui / src / org / eclipse / linuxtools / tmf / ui / views / TmfView.java
index 1f3233d44230fa43b2e4b5d3b4ecb8ca71468109..981753ff29dcf0303a87b2b66e016ceeea23e6d3 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2009, 2010, 2012 Ericsson
+ * Copyright (c) 2009, 2012 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -35,7 +35,7 @@ public abstract class TmfView extends ViewPart implements ITmfComponent {
        private final String fName;
        /**
         * Action class for pinning of TmfView.
-        * @since 1.2
+        * @since 2.0
         */
        protected PinTmfViewAction fPinAction;
 
@@ -55,7 +55,8 @@ public abstract class TmfView extends ViewPart implements ITmfComponent {
        }
 
        /**
-        * Disposes this view and deregisters itself from the signal manager
+        * Disposes this view and de-registers itself from the signal manager
+        *
         * @see org.eclipse.ui.part.WorkbenchPart#dispose()
         */
        @Override
@@ -86,12 +87,16 @@ public abstract class TmfView extends ViewPart implements ITmfComponent {
                TmfSignalManager.dispatchSignal(signal);
        }
 
+    // ------------------------------------------------------------------------
+    // View pinning support
+    // ------------------------------------------------------------------------
+
     /**
      * Returns whether the pin flag is set.
      * For example, this flag can be used to ignore time synchronization signals from other TmfViews.
      *
      * @return pin flag
-     * @since 1.2
+     * @since 2.0
      */
     public boolean isPinned() {
         return ((fPinAction != null) && (fPinAction.isChecked()));
@@ -101,7 +106,7 @@ public abstract class TmfView extends ViewPart implements ITmfComponent {
      * Method adds a pin action to the TmfView. The pin action allows to toggle the <code>fIsPinned</code> flag.
      * For example, this flag can be used to ignore time synchronization signals from other TmfViews.
      *
-     * @since 1.2
+     * @since 2.0
      */
     protected void contributePinActionToToolBar() {
         if (fPinAction == null) {
@@ -113,4 +118,5 @@ public abstract class TmfView extends ViewPart implements ITmfComponent {
             toolBarManager.add(fPinAction);
         }
     }
+
 }
This page took 0.024544 seconds and 5 git commands to generate.