March 24, 2010
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.ui.tests / widgetStubs / org / eclipse / linuxtools / tmf / ui / widgets / timeAnalysis / test / stub / views / TsfTraceAnalysisView.java
index 2cfb433c2ea220a5c29e461690559e77468975bb..56cd2e991ffe336944c8228480d94f5d164e5762 100644 (file)
@@ -1,3 +1,14 @@
+/*******************************************************************************
+ * Copyright (c) 2009, 2010 Ericsson
+ * 
+ * All rights reserved. This program and the accompanying materials are
+ * made available under the terms of the Eclipse Public License v1.0 which
+ * accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ * 
+ * Contributors:
+ *   Alvaro Sanchez-Leon (alvsan09@gmail.com) - Initial API and implementation
+ *******************************************************************************/
 package org.eclipse.linuxtools.tmf.ui.widgets.timeAnalysis.test.stub.views;
 
 import java.text.SimpleDateFormat;
@@ -45,23 +56,12 @@ import org.eclipse.ui.PlatformUI;
 import org.eclipse.ui.part.DrillDownAdapter;
 import org.eclipse.ui.part.ViewPart;
 
-/**
- * This sample class demonstrates how to plug-in a new workbench view. The view
- * shows data obtained from the model. The sample creates a dummy model on the
- * fly, but a real implementation would connect to the model available either in
- * this or another plug-in (e.g. the workspace). The view is connected to the
- * model using a content provider.
- * <p>
- * The view uses a label provider to define how model objects should be
- * presented in the view. Each view can present the same model objects using
- * different labels and icons, if needed. Alternatively, a single label provider
- * can be shared between views in order to ensure that objects of the same type
- * are presented in the same way everywhere.
- * <p>
- */
-
 public class TsfTraceAnalysisView extends ViewPart implements
                ITmfTimeSelectionListener, ITmfTimeScaleSelectionListener {
+
+       // ========================================================================
+       // Data
+       // ========================================================================
        private TreeViewer viewer;
        private DrillDownAdapter drillDownAdapter;
        private Action action1;
@@ -87,6 +87,9 @@ public class TsfTraceAnalysisView extends ViewPart implements
                        "yy/MM/dd HH:mm:ss");
        private TraceModelImplFactory fact;
 
+       // ========================================================================
+       // Inner Classes
+       // ========================================================================
        /*
         * The content provider class is responsible for providing objects to the
         * view. It can wrap existing objects in adapters or simply return objects
@@ -236,12 +239,9 @@ public class TsfTraceAnalysisView extends ViewPart implements
        class NameSorter extends ViewerSorter {
        }
 
-       /**
-        * The constructor.
-        */
-       public TsfTraceAnalysisView() {
-       }
-
+       // ========================================================================
+       // Methods
+       // ========================================================================
        /**
         * This is a callback that will allow us to create the viewer and initialize
         * it.
This page took 0.024738 seconds and 5 git commands to generate.