sysperfana/analyzetoolext/com.nokia.s60tools.analyzetool/src/com/nokia/s60tools/analyzetool/engine/AnalyzeFactory.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
38 return emptyModel ? EMPTY_MODEL : new MemoryActivityModel(); |
38 return emptyModel ? EMPTY_MODEL : new MemoryActivityModel(); |
39 } |
39 } |
40 |
40 |
41 /** |
41 /** |
42 * Returns an empty model |
42 * Returns an empty model |
43 * @return |
43 * @return Empty memory model |
44 */ |
44 */ |
45 public static IMemoryActivityModel getEmptyModel(){ |
45 public static IMemoryActivityModel getEmptyModel(){ |
46 return EMPTY_MODEL; |
46 return EMPTY_MODEL; |
47 } |
47 } |
48 |
48 |
116 } |
116 } |
117 |
117 |
118 public void setSelectedProcess(ProcessInfo processInfo) { |
118 public void setSelectedProcess(ProcessInfo processInfo) { |
119 //cannot occur in empty model |
119 //cannot occur in empty model |
120 } |
120 } |
121 |
121 |
|
122 /* (non-Javadoc) |
|
123 * @see com.nokia.s60tools.analyzetool.engine.IMemoryActivityModel#isDeferredCallstackReading() |
|
124 */ |
|
125 public boolean isDeferredCallstackReading() { |
|
126 return false; |
|
127 } |
|
128 |
|
129 public void setDeferredCallstackReading(boolean value) { |
|
130 //nothing to do |
|
131 } |
|
132 |
|
133 public ICallstackManager getCallstackManager() { |
|
134 return null; |
|
135 } |
|
136 |
|
137 public void setCallstackManager(ICallstackManager callstackManager) { |
|
138 //nothing to do |
|
139 } |
122 } |
140 } |
123 |
|
124 } |
141 } |