trace/traceviewer/com.nokia.traceviewer/src/com/nokia/traceviewer/engine/dataprocessor/DummyView.java
changeset 11 5b9d4d8641ce
equal deleted inserted replaced
10:ed1c9f64298a 11:5b9d4d8641ce
       
     1 /*
       
     2  * Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies). 
       
     3  * All rights reserved.
       
     4  * This component and the accompanying materials are made available
       
     5  * under the terms of "Eclipse Public License v1.0"
       
     6  * which accompanies this distribution, and is available
       
     7  * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8  *
       
     9  * Initial Contributors:
       
    10  * Nokia Corporation - initial contribution.
       
    11  *
       
    12  * Contributors:
       
    13  *
       
    14  * Description:
       
    15  *
       
    16  * Dummy View to be a placeholder for real TraceViewer views
       
    17  *
       
    18  */
       
    19 package com.nokia.traceviewer.engine.dataprocessor;
       
    20 
       
    21 import com.nokia.traceviewer.engine.TraceProperties;
       
    22 import com.nokia.traceviewer.engine.TraceViewerViewInterface;
       
    23 
       
    24 /**
       
    25  * Dummy View to be a placeholder for real TraceViewer views
       
    26  * 
       
    27  */
       
    28 public final class DummyView implements TraceViewerViewInterface, DataProcessor {
       
    29 
       
    30 	/*
       
    31 	 * (non-Javadoc)
       
    32 	 * 
       
    33 	 * @see com.nokia.traceviewer.engine.TraceViewerViewInterface#clearAll()
       
    34 	 */
       
    35 	public void clearAll() {
       
    36 	}
       
    37 
       
    38 	/*
       
    39 	 * (non-Javadoc)
       
    40 	 * 
       
    41 	 * @see
       
    42 	 * com.nokia.traceviewer.engine.TraceViewerViewInterface#hasUnshownData()
       
    43 	 */
       
    44 	public boolean hasUnshownData() {
       
    45 		return false;
       
    46 	}
       
    47 
       
    48 	/*
       
    49 	 * (non-Javadoc)
       
    50 	 * 
       
    51 	 * @see com.nokia.traceviewer.engine.TraceViewerViewInterface#isDisposed()
       
    52 	 */
       
    53 	public boolean isDisposed() {
       
    54 		return true;
       
    55 	}
       
    56 
       
    57 	/*
       
    58 	 * (non-Javadoc)
       
    59 	 * 
       
    60 	 * @see com.nokia.traceviewer.engine.TraceViewerViewInterface#update()
       
    61 	 */
       
    62 	public void update() {
       
    63 	}
       
    64 
       
    65 	/*
       
    66 	 * (non-Javadoc)
       
    67 	 * 
       
    68 	 * @see
       
    69 	 * com.nokia.traceviewer.engine.dataprocessor.DataProcessor#processData(
       
    70 	 * com.nokia.traceviewer.engine.TraceProperties)
       
    71 	 */
       
    72 	public void processData(TraceProperties properties) {
       
    73 	}
       
    74 
       
    75 }