Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 200139 | Differences between
and this patch

Collapse All | Expand All

(-)META-INF/MANIFEST.MF (-1 / +2 lines)
Lines 58-63 Link Here
58
 org.eclipse.hyades.uml2sd.util,
58
 org.eclipse.hyades.uml2sd.util,
59
 org.eclipse.hyades.uml2sd.ztest,
59
 org.eclipse.hyades.uml2sd.ztest,
60
 org.eclipse.tptp.platform.common.ui.internal,
60
 org.eclipse.tptp.platform.common.ui.internal,
61
 org.eclipse.tptp.platform.common.ui.internal.util
61
 org.eclipse.tptp.platform.common.ui.internal.util,
62
 org.eclipse.tptp.platform.extension.delegate
62
Bundle-Vendor: %plugin.provider
63
Bundle-Vendor: %plugin.provider
63
Bundle-RequiredExecutionEnvironment: J2SE-1.4
64
Bundle-RequiredExecutionEnvironment: J2SE-1.4
(-).classpath (+1 lines)
Lines 5-9 Link Here
5
	<classpathentry kind="src" path="src-common-external"/>
5
	<classpathentry kind="src" path="src-common-external"/>
6
	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
6
	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
7
	<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
7
	<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
8
	<classpathentry kind="src" path="src-extensions"/>
8
	<classpathentry kind="output" path="bin"/>
9
	<classpathentry kind="output" path="bin"/>
9
</classpath>
10
</classpath>
(-)src-extensions/example.xml (+32 lines)
Added Link Here
1
<plugin>
2
 <!-- TPTP extensions -->    
3
   <extension
4
         point="org.eclipse.tptp.platform.models.handler">
5
      <handler id="1" application="TPTP" 
6
            class="className1"
7
            priority="1">
8
      </handler>
9
      
10
      <handler id="3" application="TPTP" 
11
            class="className3"
12
            priority="3">
13
      </handler>
14
      
15
   </extension>
16
   
17
  	<!-- ACLT extensions -->
18
    <extension
19
         point="org.eclipse.tptp.platform.models.handler">
20
      <handler id="2" application="ACME" type="interface2" modifier="replace" targetHandler="//TPTP/1"
21
            class="className2"
22
            position="1"
23
            priority="2">
24
      </handler>
25
      <handler application="ACME" mode="remove" target="//TPTP/3" priority="4"/>
26
      <handler id="2" application="ACME" modifier="extends" target="1"
27
            class="className2"
28
            insertBefore="2"
29
            priority="2">
30
      </handler>
31
   </extension>
32
</plugin>
(-)src-extensions/org/eclipse/tptp/platform/extension/delegate/ViewPartDelegator.java (+129 lines)
Added Link Here
1
/**********************************************************************
2
 * Copyright (c) 2007 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 *
8
 * Contributors:
9
 * IBM - Initial API and implementation
10
 *
11
 * $Id$
12
 **********************************************************************/
13
package org.eclipse.tptp.platform.extension.delegate;
14
15
import org.eclipse.swt.graphics.Image;
16
import org.eclipse.swt.widgets.Composite;
17
import org.eclipse.ui.IMemento;
18
import org.eclipse.ui.IPropertyListener;
19
import org.eclipse.ui.IViewPart;
20
import org.eclipse.ui.IViewSite;
21
import org.eclipse.ui.IWorkbenchPartSite;
22
import org.eclipse.ui.PartInitException;
23
/**
24
 * 
25
 * @author slavescu
26
 *
27
 */
28
public class ViewPartDelegator implements IViewPart {
29
	
30
	protected IViewPart delegate;
31
	
32
	public ViewPartDelegator() {
33
	}
34
35
	public void addPropertyListener(IPropertyListener listener) {
36
		if(delegate==null)
37
			return;
38
		delegate.addPropertyListener(listener);
39
	}
40
41
	public void createPartControl(Composite parent) {
42
		if(delegate==null)
43
			return;
44
		delegate.createPartControl(parent);	
45
	}
46
	
47
	public void dispose() {
48
		if(delegate==null)
49
			return;
50
		delegate.dispose();
51
	}
52
53
	public IWorkbenchPartSite getSite() {
54
		if(delegate==null)
55
			return null;
56
		return delegate.getSite();
57
	}
58
59
	public String getTitle() {
60
		if(delegate==null)
61
			return null;
62
		return delegate.getTitle();
63
	}
64
65
	public Image getTitleImage() {
66
		if(delegate==null)
67
			return null;
68
		return delegate.getTitleImage();
69
	}
70
71
	public String getTitleToolTip() {
72
		if(delegate==null)
73
			return null;
74
		return delegate.getTitleToolTip();
75
	}
76
77
	public void removePropertyListener(IPropertyListener listener) {
78
		if(delegate==null)
79
			return;
80
		delegate.removePropertyListener(listener);
81
		
82
	}
83
84
	public void setFocus() {
85
		if(delegate==null)
86
			return;
87
		delegate.setFocus();
88
	}
89
90
	public Object getAdapter(Class adapter) {
91
		if(delegate==null)
92
			return null;
93
		return delegate.getAdapter(adapter);
94
	}
95
96
	public IViewSite getViewSite() {
97
		if(delegate==null)
98
			return null;
99
		return delegate.getViewSite();
100
	}
101
102
	public void init(IViewSite site, IMemento memento) throws PartInitException {
103
		if(delegate==null)
104
			return;
105
		delegate.init(site,memento);
106
	}
107
108
	public void init(IViewSite site) throws PartInitException {
109
		if(delegate==null)
110
		{
111
			return;
112
		}
113
		delegate.init(site);
114
	}
115
116
	public void saveState(IMemento memento) {
117
		if(delegate==null)
118
			return;
119
		delegate.saveState(memento);
120
	}
121
122
	public IViewPart getDelegate() {
123
		return delegate;
124
	}
125
126
	public void setDelegate(IViewPart delegate) {
127
		this.delegate = delegate;
128
	}
129
}
(-)LogInteractionInfopopContexts.xml (-21 lines)
Removed Link Here
1
<?xml version="1.0" encoding="UTF-8" ?> 
2
<?NLS type="org.eclipse.help.contexts"?> 
3
<contexts>
4
	<context id="lgiv0000">
5
		<description>Log interaction diagrams display interactions among log events (records) that occur during the execution of an application</description> 
6
		<topic label="Log Interactions View" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tvwlogi.htm" /> 
7
	</context>
8
	<context id="lgpp0000">
9
		<description>Log interaction preference page allows you to update the number of log records in a page</description> 
10
		<topic label="Log Interactions View" href="../org.eclipse.tptp.platform.log.doc.user/ref/resqlgin.htm" /> 
11
	</context>
12
	<context id="cord0000">
13
		<description>Select the correlation schema for the log correlation</description> 
14
		<topic label="Log Interactions View" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tvwlogi.htm" /> 
15
	</context>
16
	<context id="evtd0000">
17
		<description>Jump to the source or target log record by making a selection in the log records table.</description> 
18
		<topic label="Log Interactions View" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tvwlogi.htm" /> 
19
	</context>
20
	
21
</contexts>
(-)plugin.xml (-798 lines)
Removed Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
2
<?eclipse version="3.0"?>
3
<plugin>
4
5
	<!-- The new log correlation wizard -->
6
	<extension point="org.eclipse.ui.newWizards">
7
		<category
8
			name="%TRC_LGNW"
9
			id="org.eclipse.hyades.trace_log.newWizard">
10
		</category>
11
		<wizard
12
			name="%NEWCOR_WZ"
13
            icon="icons/full/ctool16/newcorrelation_wiz.gif"
14
            category="org.eclipse.hyades.trace_log.newWizard"
15
            class="org.eclipse.tptp.platform.log.views.internal.navigator.wizards.NewCorrelationWizard"
16
            id="org.eclipse.hyades.log.ui.wizard.new.correlation">
17
			<description>
18
				%NEWCOR_WZD
19
			</description>
20
		</wizard>
21
	</extension>
22
   
23
   
24
25
	<!-- Contribute new views -->
26
	<extension point="org.eclipse.ui.views">
27
	
28
		<!-- The log navigator view -->
29
		<view
30
            name="%LOG_NAV_TTL"
31
            icon="icons/full/cview16/lognav_view.gif"
32
            category="org.eclipse.hyades.trace.internal.ui.trace"
33
            class="org.eclipse.tptp.platform.log.views.internal.navigator.LogNavigator"
34
            id="org.eclipse.hyades.log.ui.internal.navigator.LogNavigator">
35
		</view>
36
			
37
		<!-- The Log Viewer -->
38
		<view
39
			name="%1"
40
            icon="icons/full/cview16/log_view.gif"
41
            category="org.eclipse.hyades.trace.internal.ui.trace"
42
            class="org.eclipse.tptp.platform.log.views.internal.views.LogViewer"
43
            id="org.eclipse.tptp.platform.log.views.internal.views.LogViewer">
44
      	</view>
45
       
46
       	<!-- The Log Interaction View -->
47
       	<view
48
            allowMultiple="true" 
49
            class="org.eclipse.hyades.sd.logc.internal.loader.LogSDView"
50
            icon="icons/full/obj16/sequencediagram_obj.gif"
51
            category="org.eclipse.hyades.trace.internal.ui.trace"
52
            name="%14"
53
            id="org.eclipse.hyades.sd.logc.LogInteractionsView">
54
		</view>  
55
		
56
	</extension>
57
	
58
	
59
	<!-- View actions -->
60
	<extension point="org.eclipse.ui.viewActions">
61
		
62
		<!-- Contributions to the log navigator toolbar -->
63
		<viewContribution
64
			targetID="org.eclipse.hyades.log.ui.internal.navigator.LogNavigator"
65
            id="org.eclipse.hyades.log.ui.internal.logview.toolbar">
66
			<action
67
				id="org.eclipse.hyades.log.ui.internal.logview.toolbar.refreshViews"
68
				toolbarPath="refreshGroup"
69
				hoverIcon="icons/full/clcl16/updateviews_co.gif"
70
   				class="org.eclipse.hyades.trace.ui.internal.actions.RefreshViewsActionDelegate"
71
				disabledIcon="icons/full/dlcl16/updateviews_co.gif"
72
				icon="icons/full/elcl16/updateviews_co.gif"
73
				helpContextId="refresh_views_action_context"
74
				label="%40"
75
				tooltip="%40">
76
			</action>
77
		</viewContribution>
78
79
		
80
		<!-- Contributions to the log viewer -->
81
		<viewContribution
82
			id="org.eclipse.tptp.platform.log.views.tabbedPropertiesViewContribution"
83
            targetID="org.eclipse.tptp.platform.log.views.internal.views.LogViewer">
84
			<action
85
				class="org.eclipse.tptp.platform.log.views.internal.actions.OpenPropertyViewAction"
86
				icon="icons/full/cview16/prop_ps.gif"
87
				id="org.eclipse.tptp.platform.log.views.action1"
88
				label="%37"
89
				style="push"
90
				toolbarPath="additions"/>
91
      	</viewContribution>
92
	</extension>	
93
94
	<!-- Perspective extensions -->
95
	<extension point="org.eclipse.ui.perspectiveExtensions">
96
	
97
		<!-- The extension for the Profiling & Logging perspective -->
98
		<perspectiveExtension
99
			targetID="org.eclipse.hyades.trace.internal.ui.tracePerspective">
100
			
101
			<!-- The extensions for the log navigator -->
102
			<view
103
				relative="org.eclipse.hyades.trace.internal.ui.PDProjectExplorer"
104
				visible="true"
105
				relationship="stack"
106
				id="org.eclipse.hyades.log.ui.internal.navigator.LogNavigator">
107
			</view>
108
         	<viewShortcut id="org.eclipse.hyades.log.ui.internal.navigator.LogNavigator"/>
109
			
110
			<!-- The extensions for the log viewer -->
111
			<!-- relative="org.eclipse.ui.console.ConsoleView was removed for defect_143455 -->
112
			 <!-- now the views which used to use the console view as a relative use the ExecStats-->
113
			<actionSet id="org.eclipse.tptp.platform.log.views.internal.logViewActionSet"/>
114
			<view
115
				relative ="org.eclipse.hyades.trace.views.adapter.internal.ExecutionStatisticViewer2"
116
				visible="false"
117
				relationship="stack"
118
				id="org.eclipse.tptp.platform.log.views.internal.views.LogViewer">
119
         	</view>       
120
         	<viewShortcut id="org.eclipse.tptp.platform.log.views.internal.views.LogViewer"/>
121
         	
122
         </perspectiveExtension>
123
	</extension>
124
	
125
	
126
	<!-- Associate the log agent with its corresponding views -->
127
	<extension point="org.eclipse.tptp.platform.common.ui.analyzerExtensions">
128
	
129
		<!-- The log view -->
130
		<analyzerExtension
131
            name="%1"
132
            type="Logging"
133
            icon="icons/full/cview16/log_view.gif"
134
            isDefault="true"
135
            class="org.eclipse.tptp.platform.log.views.internal.actions.OpenLogViewAction"
136
            id="org.eclipse.tptp.platform.log.views.internal.actions.OpenLogViewAction"
137
            extension="trace">
138
		</analyzerExtension>
139
		
140
		<!-- The log interaction view -->
141
		<analyzerExtension
142
            name="%12" 
143
            type="Logging"
144
            icon="icons/full/obj16/sequencediagram_obj.gif"
145
            class="org.eclipse.hyades.sd.logc.internal.actions.OpenLogViewAction"
146
            id="org.eclipse.hyades.sd.logc.internal.actions.ROpenLogViewAction"
147
            extension="trace">
148
		</analyzerExtension>
149
		
150
		<!-- The log thread interaction view -->
151
		<analyzerExtension
152
            name="%13"
153
            type="Logging"
154
            icon="icons/full/obj16/sequencediagram_obj.gif"
155
            class="org.eclipse.hyades.sd.logc.internal.actions.OpenLogViewAction"
156
            id="org.eclipse.hyades.sd.logc.internal.actions.TOpenLogViewAction"
157
            extension="trace">
158
		</analyzerExtension>
159
  
160
   	</extension>
161
   
162
    
163
	<!-- Contribute the UML views -->
164
	<extension
165
		point="org.eclipse.tptp.platform.common.ui.uml2SDLoader">
166
		<uml2SDLoader
167
			name="%12"
168
            class="org.eclipse.hyades.sd.logc.internal.loader.LogInteractions"
169
            id="org.eclipse.hyades.sd.logc.internal.loader.LogInteractions"
170
            view="org.eclipse.hyades.sd.logc.LogInteractionsView"
171
            default="true">
172
		</uml2SDLoader>
173
		<uml2SDLoader
174
            name="%13"
175
            class="org.eclipse.hyades.sd.logc.internal.loader.LogThreadInteractions"
176
            id="org.eclipse.hyades.sd.logc.internal.loader.LogthreadInteractions"
177
            view="org.eclipse.hyades.sd.logc.LogInteractionsView">
178
		</uml2SDLoader>
179
	</extension>   
180
	
181
	
182
	<!-- Define filters for the log view -->
183
	<extension point="org.eclipse.tptp.platform.common.ui.filterTypes">
184
		<filterType
185
			id="org.eclipse.tptp.platform.log.views.LogFilterType"
186
			name="%5"
187
			icon="icons/full/obj16/log_agent_filter_obj.gif"
188
			description="%6"
189
			standardTabUI="org.eclipse.tptp.platform.log.views.internal.views.LogFiltersStandardUI"
190
			advancedAttributes="org.eclipse.tptp.platform.log.views.internal.views.LogAdvancedTabAttributeSet">
191
			<appliesTo
192
				filterScope="LoggingAgentScope">
193
			</appliesTo>
194
		</filterType>         
195
	</extension>  
196
	
197
	<extension point="org.eclipse.tptp.platform.common.ui.filterTypes">
198
		<filterType
199
			id="org.eclipse.tptp.platform.log.views.LogInteractionsFilterType"
200
			name="%5"
201
			icon="icons/full/obj16/log_agent_filter_obj.gif"
202
			description="%6"
203
			standardTabUI="org.eclipse.tptp.platform.log.views.internal.views.LogFiltersStandardUI"
204
			advancedAttributes="org.eclipse.tptp.platform.log.views.internal.views.LogAdvancedTabAttributeSet">
205
			<appliesTo
206
				filterScope="LogInteractionsScope">
207
			</appliesTo>
208
		</filterType>         
209
	</extension>  
210
	
211
	<!-- Contribute report generators to the log view -->
212
	<extension point="org.eclipse.tptp.platform.common.ui.reportGenerators">
213
	
214
		<!-- XML log report generator -->
215
		<wizard
216
			icon="icons/full/cview16/log_view.gif"
217
            class="org.eclipse.tptp.platform.log.views.internal.reports.ReportXMLLogWizard"
218
            description="%22"
219
            name="%21"
220
            id="org.eclipse.tptp.platform.log.views.internal.reports.ReportXMLLogWizard"/>
221
            
222
  		<!-- HTML log report generator -->
223
		<wizard
224
            icon="icons/full/cview16/log_view.gif"
225
            class="org.eclipse.tptp.platform.log.views.internal.reports.ReportHTMLLogWizard"
226
            description="%26"
227
            name="%25"
228
            id="org.eclipse.tptp.platform.log.views.internal.reports.ReportHTMLLogWizard"/>
229
            
230
		<!-- CSV log report generator -->        
231
 		<wizard
232
            icon="icons/full/cview16/log_view.gif"
233
            class="org.eclipse.tptp.platform.log.views.internal.reports.CSVReportLogWizard"
234
            description="%24"
235
            name="%23"
236
            id="org.eclipse.tptp.platform.log.views.internal.reports.CSVReportLogWizard"/>
237
238
  		<!-- HTML log report generator --> 
239
		<wizard
240
            icon="icons/full/cview16/log_view.gif"
241
            class="org.eclipse.tptp.platform.log.views.internal.reports.HTMLReportLogFileWizard"
242
            description="%28"
243
            name="%27"
244
            id="org.eclipse.tptp.platform.log.views.internal.reports.HTMLReportLogFileWizard"/>
245
 
246
	</extension>
247
	
248
	
249
	<!-- Identify a tabbed property contributor -->
250
	<extension point="org.eclipse.ui.views.properties.tabbed.propertyContributor">
251
		<propertyContributor contributorId="org.eclipse.tptp.platform.log.views.internal.views.LogViewer">
252
			<propertyCategory category="tabs"/>
253
		</propertyContributor>
254
	</extension>
255
	
256
	<!-- Contribute the property tabs -->
257
	<extension point="org.eclipse.ui.views.properties.tabbed.propertyTabs">
258
		
259
		<propertyTabs contributorId="org.eclipse.tptp.platform.log.views.internal.views.LogViewer">
260
			
261
			<!-- The multiple common base event tab - displayed only when a LogGraphNode with multiple wrapped CBEs is selected -->
262
			<propertyTab
263
				category="tabs"
264
				id="org.eclipse.tptp.platform.log.views.MultipleCommonBaseEvent"
265
				label="%properties.cbe"/>
266
			
267
			<!-- The common base event tab -->
268
			<propertyTab
269
				category="tabs"
270
				id="org.eclipse.tptp.platform.log.views.CommonBaseEventTab"
271
				label="%29"/>
272
273
			<!-- The extended data element tab -->
274
			<propertyTab
275
				afterTab="org.eclipse.tptp.platform.log.views.CommonBaseEventTab"
276
				category="tabs"
277
				id="org.eclipse.tptp.platform.log.views.ExtendedDataElementsTab"
278
				label="%30"/>
279
      
280
      		<!-- All properties tab -->
281
			<propertyTab
282
				afterTab="org.eclipse.tptp.platform.log.views.SituationTab"
283
				category="tabs"
284
				id="org.eclipse.tptp.platform.log.views.PropertiesTab"
285
				label="All Properties"/>
286
287
			<!-- The context data element tab -->
288
			<propertyTab
289
				afterTab="org.eclipse.tptp.platform.log.views.ExtendedDataElementsTab"
290
				category="tabs"
291
				id="org.eclipse.tptp.platform.log.views.ContextDataElementsTab"
292
				label="%31"/>
293
    
294
    		<!-- The situation tab -->
295
			<propertyTab
296
				afterTab="org.eclipse.tptp.platform.log.views.ContextDataElementsTab"
297
				category="tabs"
298
				id="org.eclipse.tptp.platform.log.views.SituationTab"
299
				label="%32"/>
300
301
			<!-- The message data element tab -->
302
			<propertyTab
303
				afterTab="org.eclipse.tptp.platform.log.views.SituationTab"
304
				category="tabs"
305
				id="org.eclipse.tptp.platform.log.views.MsgDataElementTab"
306
				label="%33"/>
307
     
308
     		<!-- The source component id tab -->
309
			<propertyTab
310
				afterTab="org.eclipse.tptp.platform.log.views.MsgDataElementTab"
311
				category="tabs"
312
				id="org.eclipse.tptp.platform.log.views.SourceComponentIDTab"
313
				label="%34"/>
314
      
315
      		<!-- The report component id tab -->
316
			<propertyTab
317
				afterTab="org.eclipse.tptp.platform.log.views.SourceComponentIDTab"
318
				category="tabs"
319
				id="org.eclipse.tptp.platform.log.views.ReporterComponentIDTab"
320
				label="%35"/>
321
      
322
      		<!-- The associated event tab -->
323
         	<propertyTab
324
				afterTab="org.eclipse.tptp.platform.log.views.ReporterComponentIDTab"
325
				category="tabs"
326
				id="org.eclipse.tptp.platform.log.views.AssociatedEventTab"
327
				label="%36"/>
328
     
329
     		<!-- Common base event xml tab -->
330
			<propertyTab
331
				afterTab="org.eclipse.tptp.platform.log.views.AssociatedEventTab"
332
				category="tabs"
333
				id="org.eclipse.tptp.platform.log.views.CBEXMLTab"
334
				label="CommonBaseEvent XML"/>
335
      
336
      		<!-- The analysis result tab -->
337
			<propertyTab
338
				afterTab="org.eclipse.tptp.platform.log.views.CBEXMLTab"
339
				category="tabs"
340
				id="org.eclipse.tptp.platform.log.views.AnalysisResultsTab"
341
				label="%39"/>
342
		</propertyTabs>        
343
	</extension>
344
   
345
	
346
	<!-- Associates property sections with each of the property tabs defined above -->
347
	<extension point="org.eclipse.ui.views.properties.tabbed.propertySections">
348
      
349
		<propertySections contributorId="org.eclipse.tptp.platform.log.views.internal.views.LogViewer">
350
		
351
			<!-- The multiple cbe tab section -->
352
			<propertySection
353
				class="org.eclipse.hyades.sd.logc.internal.loader.MultipleCBETab"
354
				id="org.eclipse.tptp.platform.log.views.propertySection0"
355
				tab="org.eclipse.tptp.platform.log.views.MultipleCommonBaseEvent">
356
				
357
				<!-- Notice that unlike most other sections, the input is different -->
358
				<input type="org.eclipse.hyades.sd.logc.internal.uml2sd.LogGraphNode"/>
359
			</propertySection>
360
      
361
      		<!-- The common base event section -->
362
			<propertySection
363
				class="org.eclipse.tptp.platform.log.views.internal.views.CommonBaseSection"
364
				id="org.eclipse.tptp.platform.log.views.propertySection1"
365
				tab="org.eclipse.tptp.platform.log.views.CommonBaseEventTab">
366
				<input type="org.eclipse.hyades.models.cbe.impl.CBEDefaultEventImpl"/>
367
			</propertySection>
368
      
369
      		<!-- Extended data element section -->
370
			<propertySection
371
				class="org.eclipse.tptp.platform.log.views.internal.views.ExtendedDataElementsSection"
372
				id="org.eclipse.tptp.platform.log.views.propertySection3"
373
				tab="org.eclipse.tptp.platform.log.views.ExtendedDataElementsTab">
374
				<input type="org.eclipse.hyades.models.cbe.impl.CBEDefaultEventImpl"/>
375
			</propertySection>
376
      
377
      		<!-- Context data element section -->
378
			<propertySection
379
				class="org.eclipse.tptp.platform.log.views.internal.views.ContextDataElementsSection"
380
				id="org.eclipse.tptp.platform.log.views.propertySection5"
381
				tab="org.eclipse.tptp.platform.log.views.ContextDataElementsTab">
382
				<input type="org.eclipse.hyades.models.cbe.impl.CBECommonBaseEventImpl"/>
383
			</propertySection>
384
      
385
      		<!-- Situation section -->
386
			<propertySection
387
				class="org.eclipse.tptp.platform.log.views.internal.views.SituationSection"
388
				id="org.eclipse.tptp.platform.log.views.propertySection6"
389
				tab="org.eclipse.tptp.platform.log.views.SituationTab">
390
				<input type="org.eclipse.hyades.models.cbe.impl.CBECommonBaseEventImpl"/>
391
			</propertySection>
392
      
393
      		<!-- The message data element section -->
394
			<propertySection
395
				class="org.eclipse.tptp.platform.log.views.internal.views.MessageDataElementSection"
396
				id="org.eclipse.tptp.platform.log.views.propertySection7"
397
				tab="org.eclipse.tptp.platform.log.views.MsgDataElementTab">
398
				<input type="org.eclipse.hyades.models.cbe.impl.CBECommonBaseEventImpl"/>
399
			</propertySection>
400
      
401
      		<!-- The source component section -->
402
			<propertySection
403
				class="org.eclipse.tptp.platform.log.views.internal.views.SourceComponentIDSection"
404
				id="org.eclipse.tptp.platform.log.views.propertySection8"
405
				tab="org.eclipse.tptp.platform.log.views.SourceComponentIDTab">
406
				<input type="org.eclipse.hyades.models.cbe.impl.CBECommonBaseEventImpl"/>
407
			</propertySection>
408
      
409
      		<!-- Reporter component section -->
410
			<propertySection
411
				class="org.eclipse.tptp.platform.log.views.internal.views.ReporterComponentIDSection"
412
				id="org.eclipse.tptp.platform.log.views.propertySection9"
413
				tab="org.eclipse.tptp.platform.log.views.ReporterComponentIDTab">
414
				<input type="org.eclipse.hyades.models.cbe.impl.CBECommonBaseEventImpl"/>
415
			</propertySection>
416
     
417
     		<!-- The associate event section -->
418
			<propertySection
419
				class="org.eclipse.tptp.platform.log.views.internal.views.AssociatedEventSection"
420
				id="org.eclipse.tptp.platform.log.views.propertySection8"
421
				tab="org.eclipse.tptp.platform.log.views.AssociatedEventTab">
422
				<input type="org.eclipse.hyades.models.cbe.impl.CBECommonBaseEventImpl"/>
423
			</propertySection>
424
      
425
      		<!-- The CBE XML section -->
426
			<propertySection
427
				class="org.eclipse.tptp.platform.log.views.internal.views.CBEXMLSection"
428
				id="org.eclipse.tptp.platform.log.views.CBEXMLSection"
429
				tab="org.eclipse.tptp.platform.log.views.CBEXMLTab">
430
				<input type="org.eclipse.hyades.models.cbe.impl.CBEDefaultEventImpl"/>
431
			</propertySection>
432
      
433
      		<!-- The analysis result section -->
434
			<propertySection
435
				class="org.eclipse.tptp.platform.log.views.internal.views.AnalysisResultsSection"
436
				id="org.eclipse.tptp.platform.log.views.AnalysisResultsSection"
437
				tab="org.eclipse.tptp.platform.log.views.AnalysisResultsTab">
438
				<input type="org.eclipse.hyades.models.cbe.impl.CBECommonBaseEventImpl"/>
439
			</propertySection>
440
		</propertySections>
441
	</extension>
442
443
	
444
	<!-- Contributions to the CBE objects -->
445
	<extension point="org.eclipse.ui.popupMenus">
446
		<objectContribution
447
			objectClass="org.eclipse.hyades.models.cbe.CBECommonBaseEvent"
448
			id="org.eclipse.tptp.platform.log.views.internal.actions.CopyToClipboardAction">
449
			<action
450
				label="%16"
451
				style="push"
452
				class="org.eclipse.tptp.platform.log.views.internal.actions.CopyToClipboardAction"
453
				menubarPath="additions"
454
				enablesFor="*"
455
				id="org.eclipse.tptp.platform.log.views.internal.actions.CopyToClipboardAction">
456
			</action>
457
		</objectContribution>
458
	</extension>
459
	
460
461
<!-- ==================================================================== -->
462
   <extension
463
         point="org.eclipse.ui.actionSets">
464
      <actionSet
465
            label="%0"
466
            visible="false"
467
            id="org.eclipse.tptp.platform.log.views.internal.logViewActionSet">
468
         <action
469
               label="%2"
470
               icon="icons/full/ctool16/log_view_nav.gif"
471
               tooltip="%3"
472
               class="org.eclipse.tptp.platform.log.views.internal.actions.OpenLogViewAction"
473
               toolbarPath="trace/group.openRAS"
474
               id="org.eclipse.tptp.platform.log.views.internal.actions.OpenLogViewAction">
475
         </action>
476
      </actionSet>
477
   </extension>
478
<!-- ==================================================================== -->
479
   <extension
480
         point="org.eclipse.ui.preferencePages">
481
      <page
482
            name="%4"
483
            category="org.eclipse.hyades.trace.ui.internal.preferences.TraceBasePreferencePage"
484
            class="org.eclipse.tptp.platform.log.views.internal.preferences.LogAnalyzerBasePrefPage"
485
            id="org.eclipse.tptp.platform.log.views.internal.preferences.LogAnalyzerBasePrefPage">
486
      </page>
487
 
488
   </extension>
489
490
    <extension
491
         point="org.eclipse.ui.preferencePages">
492
      <page
493
            name="%7"
494
            category="org.eclipse.hyades.trace.ui.internal.preferences.TraceBasePreferencePage"
495
            class="org.eclipse.tptp.platform.log.views.internal.preferences.LogDBResourceSupportPreferencePage"
496
            id="org.eclipse.tptp.platform.log.views.internal.preferences.LogDBResourceSupportPreferencePage">
497
      </page>
498
   </extension>
499
   
500
<!-- ==================================================================== -->
501
      
502
   <extension
503
         point="org.eclipse.help.contexts">
504
      <contexts
505
            file="logui.xml"
506
            plugin="org.eclipse.tptp.platform.log.views">
507
      </contexts>
508
      <contexts
509
            file="DatabaseHelpContexts.xml"
510
            plugin="org.eclipse.tptp.platform.log.views">
511
      </contexts>
512
   </extension>
513
   <extension point="org.eclipse.tptp.platform.common.ui.navigatorExtensions">
514
      <navigatorFilterSet
515
            id="org.eclipse.hyades.log.ui.navigatorFilterSet.hosts"
516
            label="%15"
517
            icon="icons/full/obj16/node_obj.gif"
518
            class="org.eclipse.hyades.trace.ui.internal.navigator.NodeNavigatorFilterSet"
519
            navigatorID="org.eclipse.hyades.log.ui.logNavigator"
520
            defaultEnabled="true"
521
            recursive="false"
522
            common="true"/>
523
   </extension>
524
   
525
   <!-- from sd.logc ==================================================================== -->
526
 
527
528
    <extension
529
         point="org.eclipse.ui.popupMenus">
530
         
531
      <!-- The analyze all action -->
532
      <objectContribution
533
            objectClass="org.eclipse.hyades.sd.logc.internal.uml2sd.LogGraphNode"
534
            id="org.eclipse.hyades.sd.logc.internal.actions.LogGraphNodeAnalyze.AnalyzeAll">
535
         <action
536
               label="%interaction.action.analyzeAll"             
537
               class="org.eclipse.hyades.sd.logc.internal.actions.LogGraphNodeAnalyze"
538
               id="org.eclipse.hyades.sd.logc.internal.actions.LogGraphNodeAnalyze.AnalyzeAll"
539
               menubarPath="analyze.group"
540
               icon="icons/full/elcl16/analyze_all.gif">
541
         </action>
542
      </objectContribution>
543
      
544
      <!-- The analyze action -->
545
      <objectContribution
546
            objectClass="org.eclipse.hyades.sd.logc.internal.uml2sd.LogGraphNode"
547
            id="org.eclipse.hyades.sd.logc.internal.actions.LogGraphNodeAnalyze.Analyze">
548
         <action
549
               label="%interaction.action.analyze"
550
               class="org.eclipse.hyades.sd.logc.internal.actions.LogGraphNodeAnalyze"
551
               id="org.eclipse.hyades.sd.logc.internal.actions.LogGraphNodeAnalyze.Analyze"
552
               menubarPath="analyze.group"
553
               icon="icons/full/elcl16/analyze.gif">
554
         </action>
555
      </objectContribution>
556
557
      <objectContribution
558
            objectClass="org.eclipse.hyades.sd.logc.internal.uml2sd.LogGraphNode"
559
            id="org.eclipse.hyades.sd.logc.internal.actions.LogGraphNodeCollapseAction">
560
         <filter
561
               name="isExpanded"
562
               value="true">
563
         </filter>
564
         <action
565
               label="%9"
566
               icon="icons/full/clcl16/collapse_tsk.gif"
567
               class="org.eclipse.hyades.sd.logc.internal.actions.LogGraphNodeCollapseAction"
568
               enablesFor="1"
569
               id="org.eclipse.hyades.sd.logc.internal.actions.LogGraphNodeCollapseAction">
570
         </action>
571
      </objectContribution>
572
      
573
      <objectContribution
574
            objectClass="org.eclipse.hyades.sd.logc.internal.uml2sd.LogGraphNode"
575
            id="org.eclipse.hyades.sd.logc.internal.actions.LogGraphNodeExpandAction">
576
         <filter
577
               name="isExpanded"
578
               value="false">
579
         </filter>
580
581
         <action
582
               label="%10"
583
               icon="icons/full/clcl16/expand_tsk.gif"
584
               class="org.eclipse.hyades.sd.logc.internal.actions.LogGraphNodeExpandAction"
585
               enablesFor="1"
586
               id="org.eclipse.hyades.sd.logc.internal.actions.LogGraphNodeExpandAction">
587
         </action>
588
      </objectContribution>
589
      <objectContribution
590
            objectClass="org.eclipse.hyades.sd.logc.internal.uml2sd.TargetOutOfPageMessage"
591
            id="org.eclipse.hyades.sd.logc.internal.actions.GoToTarget1">
592
         <action
593
               label="%18"
594
               style="push"
595
               state="true"
596
               icon="icons/full/clcl16/go_to_target.gif"
597
               class="org.eclipse.hyades.sd.logc.internal.actions.GoToTarget"
598
               menubarPath="additions"
599
               enablesFor="1"
600
               id="org.eclipse.hyades.sd.logc.internal.actions.GoToTarget2">
601
         </action>
602
      </objectContribution>
603
      <objectContribution
604
            objectClass="org.eclipse.hyades.sd.logc.internal.uml2sd.SourceOutOfPageMessage"
605
            id="org.eclipse.hyades.sd.logc.internal.actions.GoToSource1">
606
         <action
607
               label="%17"
608
               style="push"
609
               state="true"
610
               icon="icons/full/clcl16/go_to_source.gif"
611
               class="org.eclipse.hyades.sd.logc.internal.actions.GoToSource"
612
               menubarPath="additions"
613
               enablesFor="1"
614
               id="org.eclipse.hyades.sd.logc.internal.actions.GoToSource2">
615
         </action>
616
      </objectContribution>
617
      
618
      <objectContribution
619
            objectClass="org.eclipse.hyades.sd.logc.internal.uml2sd.LogAsyncMessage"
620
            id="org.eclipse.hyades.sd.logc.internal.actions.GoToTarget3">
621
         <action
622
               label="%18"
623
               style="push"
624
               state="true"
625
               icon="icons/full/clcl16/go_to_target.gif"
626
               class="org.eclipse.hyades.sd.logc.internal.actions.GoToTarget"
627
               menubarPath="additions"
628
               enablesFor="1"
629
               id="org.eclipse.hyades.sd.logc.internal.actions.GoToTarget">
630
         </action>
631
      </objectContribution>
632
      <objectContribution
633
            objectClass="org.eclipse.hyades.sd.logc.internal.uml2sd.LogAsyncMessage"
634
            id="org.eclipse.hyades.sd.logc.internal.actions.GoToSource3">
635
         <action
636
               label="%17"
637
               style="push"
638
               state="true"
639
               icon="icons/full/clcl16/go_to_source.gif"
640
               class="org.eclipse.hyades.sd.logc.internal.actions.GoToSource"
641
               menubarPath="additions"
642
               enablesFor="1"
643
               id="org.eclipse.hyades.sd.logc.internal.actions.GoToSource4">
644
         </action>
645
      </objectContribution>
646
      
647
      <objectContribution
648
            objectClass="org.eclipse.hyades.sd.logc.internal.uml2sd.LogGraphNode"
649
            id="org.eclipse.hyades.sd.logc.internal.actions.OpenLogView">
650
         <action
651
               label="%19"
652
               style="push"
653
               icon="icons/full/obj16/log_view.gif"
654
               state="true"
655
               class="org.eclipse.hyades.sd.logc.internal.actions.OpenLogView"
656
               menubarPath="additions"
657
               enablesFor="1"
658
               id="org.eclipse.hyades.sd.logc.internal.actions.OpenLogView">
659
         </action>
660
      </objectContribution>
661
      
662
      <objectContribution
663
            objectClass="org.eclipse.hyades.sd.logc.internal.uml2sd.LogGraphNode"
664
            id="org.eclipse.hyades.sd.logc.internal.actions.OpenPropertiesView1">
665
         <action
666
               label="%11"
667
               style="push"
668
               icon="icons/full/cview16/prop_ps.gif"
669
               state="true"
670
               class="org.eclipse.hyades.sd.logc.internal.actions.OpenPropertiesView"
671
               menubarPath="additions"
672
               enablesFor="1"
673
               id="org.eclipse.hyades.sd.logc.internal.actions.OpenPropertiesView2">
674
         </action>
675
      </objectContribution>
676
     <objectContribution
677
            objectClass="org.eclipse.hyades.sd.logc.internal.uml2sd.LogAsyncMessage"
678
            id="org.eclipse.hyades.sd.logc.internal.actions.OpenPropertiesView3">
679
         <action
680
               label="%11"
681
               style="push"
682
               icon="icons/full/cview16/prop_ps.gif"
683
               state="true"
684
               class="org.eclipse.hyades.sd.logc.internal.actions.OpenPropertiesView"
685
               menubarPath="additions"
686
               enablesFor="1"
687
               id="org.eclipse.hyades.sd.logc.internal.actions.OpenPropertiesView4">
688
         </action>
689
      </objectContribution>
690
      <objectContribution
691
            objectClass="org.eclipse.hyades.models.cbe.CBECommonBaseEvent"
692
            id="org.eclipse.hyades.sd.logc.internal.actions.OpenPropertiesView5">
693
         <action
694
               label="%11"
695
               style="push"
696
               icon="icons/full/cview16/prop_ps.gif"
697
               state="true"
698
               class="org.eclipse.hyades.sd.logc.internal.actions.OpenPropertiesView"
699
               menubarPath="additions"
700
               enablesFor="1"
701
               id="org.eclipse.hyades.sd.logc.internal.actions.OpenPropertiesView6">
702
         </action>
703
      </objectContribution>
704
      <objectContribution
705
            objectClass="org.eclipse.hyades.sd.logc.internal.uml2sd.SourceOutOfPageMessage"
706
            id="org.eclipse.hyades.sd.logc.internal.actions.OpenPropertiesView7">
707
         <action
708
               label="%11"
709
               style="push"
710
               icon="icons/full/cview16/prop_ps.gif"
711
               state="true"
712
               class="org.eclipse.hyades.sd.logc.internal.actions.OpenPropertiesView"
713
               menubarPath="additions"
714
               enablesFor="1"
715
               id="org.eclipse.hyades.sd.logc.internal.actions.OpenPropertiesView8">
716
         </action>
717
      </objectContribution>
718
      <objectContribution
719
            objectClass="org.eclipse.hyades.sd.logc.internal.uml2sd.TargetOutOfPageMessage"
720
            id="org.eclipse.hyades.sd.logc.internal.actions.OpenPropertiesView9">
721
         <action
722
               label="%11"
723
               style="push"
724
               icon="icons/full/cview16/prop_ps.gif"
725
               state="true"
726
               class="org.eclipse.hyades.sd.logc.internal.actions.OpenPropertiesView"
727
               menubarPath="additions"
728
               enablesFor="1"
729
               id="org.eclipse.hyades.sd.logc.internal.actions.OpenPropertiesView10">
730
         </action>
731
      </objectContribution>                
732
                    
733
      <objectContribution
734
            objectClass="org.eclipse.hyades.models.cbe.CBECommonBaseEvent"
735
            id="org.eclipse.hyades.sd.logc.internal.actions.OpenTimeBaseUML2SDViewAction">
736
         <action
737
               label="%8"
738
               class="org.eclipse.hyades.sd.logc.internal.actions.OpenTimeBaseUML2SDViewAction"
739
               menubarPath="open.views"
740
               enablesFor="1"
741
               id="org.eclipse.hyades.sd.logc.internal.actions.OpenTimeBaseUML2SDViewAction">
742
         </action>
743
      </objectContribution>
744
   </extension>
745
<!--===============================================================-->
746
   <extension
747
         point="org.eclipse.ui.preferencePages">
748
      <page
749
            name="%20"
750
            category="org.eclipse.hyades.uml2sd.ui.preferences.SDViewerPage"
751
            class="org.eclipse.hyades.sd.logc.internal.preferences.LogInteractionsPreferencePage"
752
            id="org.eclipse.hyades.sd.ui.preferences.FilterCallPreferencePage">
753
      </page>
754
   </extension>
755
   
756
   	<extension point="org.eclipse.help.contexts">
757
		<contexts file="LogInteractionInfopopContexts.xml" plugin="org.eclipse.tptp.platform.log.views"/>
758
	</extension>
759
	<!-- relative="org.eclipse.ui.console.ConsoleView was removed for defect_143455 -->
760
 	<extension point="org.eclipse.ui.perspectiveExtensions">
761
      <perspectiveExtension 
762
			targetID="org.eclipse.hyades.trace.internal.ui.tracePerspective">
763
      	<view
764
      		   relative = "org.eclipse.hyades.trace.views.adapter.internal.ExecutionStatisticViewer2"
765
               visible="false"
766
               relationship="stack"
767
               id="org.eclipse.hyades.sd.logc.LogInteractionsView">
768
      	</view>
769
      </perspectiveExtension>
770
   	</extension>	     	
771
   
772
    
773
   <extension
774
         point="org.eclipse.ui.popupMenus">
775
      <viewerContribution
776
            id="org.eclipse.tptp.symptom.internal.presentation.view.openLogViewContribution"
777
            targetID="org.eclipse.tptp.symptom.internal.presentation.view.SymptomAnalysisViewer">
778
         <action
779
               class="org.eclipse.tptp.platform.log.views.internal.actions.OpenLogViewActionDelegate"
780
               icon="icons/full/cview16/log_view.gif"
781
               id="org.eclipse.tptp.platform.log.views.openLogViewFromAnalysisResultsViewAction"
782
               label="%3"
783
               style="push"
784
               menubarPath="additions"/>
785
      </viewerContribution>
786
   </extension>
787
   <extension
788
         point="org.eclipse.hyades.analysis.engine.analysisActions">
789
      <action
790
            class="org.eclipse.tptp.platform.log.views.internal.actions.AnalyzeAction"
791
            id="org.eclipse.tptp.platform.log.views.internal.actions.AnalyzeAction"/>
792
      <action
793
            class="org.eclipse.tptp.platform.log.views.internal.actions.ExtendedAnalyzeAction"
794
            id="org.eclipse.tptp.platform.log.views.internal.actions.ExtendedAnalyzeAction"/>
795
            
796
   </extension>	
797
   
798
</plugin>
(-)logui.xml (-393 lines)
Removed Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
2
<?NLS type="org.eclipse.help.contexts"?>
3
4
<contexts>
5
6
<context id="labp0000">
7
<description>Set visual preferences for the Log view.
8
</description>
9
<topic label="Customizing Log view" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tsetpreflgvw.xhtml"/>
10
</context>
11
12
<context id="alpp0010">
13
<description>Set the date format for timestamp log property.</description>
14
<topic label="Customizing Log view" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tsetpreflgvw.xhtml"/>
15
</context>
16
17
<context id="alpp0020">
18
<description>Set the time format for timestamp log property.</description>
19
<topic label="Customizing Log view" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tsetpreflgvw.xhtml"/>
20
</context>
21
22
<context id="alpp0110">
23
<description>List of attributes used to sort data in the Log view.
24
</description>
25
<topic label="Customizing Log view" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tsetpreflgvw.xhtml"/>
26
</context>
27
28
<context id="alpp0210">
29
<description>List of properties to be displayed in the Log view.</description>
30
<topic label="Customizing Log view" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tsetpreflgvw.xhtml"/>
31
</context>
32
33
<context id="sypp0000">
34
<description>List of symptom databases to be used when analyse log records.</description>
35
<topic label="Determining problems in applications" href="../org.eclipse.tptp.platform.log.doc.user/concepts/ceautcom.xhtml"/>
36
</context>
37
38
<context id="sdpp0010">
39
<description>To find information about this item, open the online help to Log and Trace Analyzer. You can browse the table of contents or search for a particular topic.
40
</description>
41
<topic label="Determining problems in applications" href="../org.eclipse.tptp.platform.log.doc.user/concepts/ceautcom.xhtml"/>
42
</context>
43
44
<context id="sdpp0020">
45
<description>To find information about this item, open the online help to Log and Trace Analyzer. You can browse the table of contents or search for a particular topic.
46
</description>
47
<topic label="Determining problems in applications" href="../org.eclipse.tptp.platform.log.doc.user/concepts/ceautcom.xhtml"/>
48
</context>
49
50
<context id="sdpp0120">
51
<description>To find information about this item, open the online help to Log and Trace Analyzer. You can browse the table of contents or search for a particular topic.
52
</description>
53
<topic label="Determining problems in applications" href="../org.eclipse.tptp.platform.log.doc.user/concepts/ceautcom.xhtml"/>
54
</context>
55
56
<context id="sdpp0130">
57
<description>To find information about this item, open the online help to Log and Trace Analyzer. You can browse the table of contents or search for a particular topic.
58
</description>
59
<topic label="Determining problems in applications" href="../org.eclipse.tptp.platform.log.doc.user/concepts/ceautcom.xhtml"/>
60
</context>
61
62
<context id="sdpp0140">
63
<description>To find information about this item, open the online help to Log and Trace Analyzer. You can browse the table of contents or search for a particular topic.
64
</description>
65
<topic label="Determining problems in applications" href="../org.eclipse.tptp.platform.log.doc.user/concepts/ceautcom.xhtml"/>
66
</context>
67
68
<context id="sdpp0150">
69
<description>To find information about this item, open the online help to Log and Trace Analyzer. You can browse the table of contents or search for a particular topic.
70
</description>
71
<topic label="Determining problems in applications" href="../org.eclipse.tptp.platform.log.doc.user/concepts/ceautcom.xhtml"/>
72
</context>
73
74
<context id="lapp0010">
75
<description>To find information about this item, open the online help to Log and Trace Analyzer. You can browse the table of contents or search for a particular topic.
76
</description>
77
<topic label="Determining problems in applications" href="../org.eclipse.tptp.platform.log.doc.user/concepts/ceautcom.xhtml"/>
78
</context>
79
80
<context id="lapp0020">
81
<description>To find information about this item, open the online help to Log and Trace Analyzer. You can browse the table of contents or search for a particular topic.
82
</description>
83
<topic label="Determining problems in applications" href="../org.eclipse.tptp.platform.log.doc.user/concepts/ceautcom.xhtml"/>
84
</context>
85
86
<context id="iwlg0010">
87
<description>Set the list of hosts to be used when profiling a remote application.</description>
88
<topic label="Log and Trace Analyzer" href="../org.eclipse.tptp.platform.log.doc.user/concepts/ceautcom.xhtml"/>
89
</context>
90
91
<context id="algv0010">
92
<description>This view displays the content of the log file.</description>
93
<topic label="Log view" href="../org.eclipse.tptp.platform.log.doc.user/ref/relogvw.htm"/>
94
<topic label="Common Base Event format specification" href="../org.eclipse.tptp.platform.log.doc.user/ref/rcbeadapt.html"/>
95
</context>
96
97
<context id="algv0020">
98
<description>This panel displays log properties. The properties can be filtered and sorted using the view toolbar actions.</description>
99
<topic label="Log view" href="../org.eclipse.tptp.platform.log.doc.user/ref/relogvw.htm"/>
100
<topic label="Common Base Event format specification" href="../org.eclipse.tptp.platform.log.doc.user/ref/rcbeadapt.html"/>
101
</context>
102
103
<context id="algv0030">
104
<description>This panel displays the content for the selected property.</description>
105
<topic label="Log view" href="../org.eclipse.tptp.platform.log.doc.user/ref/relogvw.htm"/>
106
<topic label="Common Base Event format specification" href="../org.eclipse.tptp.platform.log.doc.user/ref/rcbeadapt.html"/>
107
</context>
108
109
<context id="algv0040">
110
<description>This panel displays the analysis result for the selected log record.</description>
111
<topic label="Log view" href="../org.eclipse.tptp.platform.log.doc.user/ref/relogvw.htm"/>
112
<topic label="Common Base Event format specification" href="../org.eclipse.tptp.platform.log.doc.user/ref/rcbeadapt.html"/>
113
</context>
114
115
<context id="algv0110">
116
<description>To find information about this item, open the online help to Log and Trace Analyzer. You can browse the table of contents or search for a particular topic.
117
</description>
118
<topic label="Determining problems in applications" href="../org.eclipse.tptp.platform.log.doc.user/concepts/ceautcom.xhtml"/>
119
</context>
120
121
<context id="algv0120">
122
<description>To find information about this item, open the online help to Log and Trace Analyzer. You can browse the table of contents or search for a particular topic.
123
</description>
124
<topic label="Determining problems in applications" href="../org.eclipse.tptp.platform.log.doc.user/concepts/ceautcom.xhtml"/>
125
</context>
126
127
<context id="algv0130">
128
<description>To find information about this item, open the online help to Log and Trace Analyzer. You can browse the table of contents or search for a particular topic.
129
</description>
130
<topic label="Determining problems in applications" href="../org.eclipse.tptp.platform.log.doc.user/concepts/ceautcom.xhtml"/>
131
</context>
132
133
<context id="algv0140">
134
<description>To find information about this item, open the online help to Log and Trace Analyzer. You can browse the table of contents or search for a particular topic.
135
</description>
136
<topic label="Determining problems in applications" href="../org.eclipse.tptp.platform.log.doc.user/concepts/ceautcom.xhtml"/>
137
</context>
138
139
<context id="algv0150">
140
<description>Choose columns button.
141
</description>
142
<topic label="Common Base Event model" href="../org.eclipse.tptp.platform.log.doc.user/concepts/cecbemdl.htm"/>
143
<topic label="Common Base Event format specification" href="../org.eclipse.tptp.platform.log.doc.user/ref/rcbeadapt.html"/>
144
</context>
145
146
<context id="algv0210">
147
<description>Set the sorting criterion for the log view.
148
</description>
149
<topic label="Common Base Event model" href="../org.eclipse.tptp.platform.log.doc.user/concepts/cecbemdl.htm"/>
150
<topic label="Common Base Event format specification" href="../org.eclipse.tptp.platform.log.doc.user/ref/rcbeadapt.html"/>
151
<topic label="Sorting log records in log view" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tsort.htm"/>
152
</context>
153
154
<context id="algv0310">
155
<description>Set filters for the log view.
156
</description>
157
<topic label="Common Base Event model" href="../org.eclipse.tptp.platform.log.doc.user/concepts/cecbemdl.htm"/>
158
<topic label="Common Base Event format specification" href="../org.eclipse.tptp.platform.log.doc.user/ref/rcbeadapt.html"/>
159
<topic label="Filtering log records in log view" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tefiltfi.htm"/>
160
</context>
161
162
<context id="algv0320">
163
<description>Filters high severity log records.
164
</description>
165
<topic label="Filtering log records in log view" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tefiltfi.htm"/>
166
</context>
167
168
<context id="algv0330">
169
<description>Filters medium severity log records.
170
</description>
171
<topic label="Filtering log records in log view" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tefiltfi.htm"/>
172
</context>
173
174
<context id="algv0340">
175
<description>Filters low severity log records.
176
</description>
177
<topic label="Filtering log records in log view" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tefiltfi.htm"/>
178
</context>
179
180
<context id="pp0000">
181
<description>List of log files which can be imported into the workspace.</description>
182
<topic label="Determining problems in applications" href="../org.eclipse.tptp.platform.log.doc.user/concepts/ceautcom.xhtml"/>
183
</context>
184
185
<context id="tmlo0001">
186
<description>Merge the content of the imported log file with an existing log file.</description>
187
<topic label="Determining problems in applications" href="../org.eclipse.tptp.platform.log.doc.user/concepts/ceautcom.xhtml"/>
188
</context>
189
190
<context id="tmlo0002">
191
<description>The list of log files currently imported into the workspace.</description>
192
<topic label="Determining problems in applications" href="../org.eclipse.tptp.platform.log.doc.user/concepts/ceautcom.xhtml"/>
193
</context>
194
195
<context id="algv0410">
196
<description>Add filter criterion.
197
</description>
198
<topic label="Filtering log records in log view" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tefiltfi.htm"/>
199
</context>
200
201
<context id="algv0420">
202
<description>Edit the selected filter criterion.
203
</description>
204
<topic label="Filtering log records in log view" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tefiltfi.htm"/>
205
</context>
206
207
<context id="algv0430">
208
<description>Remove the selected filter criterion.
209
</description>
210
<topic label="Filtering log records in log view" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tefiltfi.htm"/>
211
</context>
212
213
<context id="algv0440">
214
<description>Move the selected filter criterion up.
215
</description>
216
<topic label="Filtering log records in log view" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tefiltfi.htm"/>
217
</context>
218
219
<context id="algv0450">
220
<description>Move the selected filter criterion down.
221
</description>
222
<topic label="Filtering log records in log view" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tefiltfi.htm"/>
223
</context>
224
225
<context id="algv0460">
226
<description>Search log records based on added criteria.
227
</description>
228
<topic label="Determining problems in applications" href="../org.eclipse.tptp.platform.log.doc.user/concepts/ceautcom.xhtml"/>
229
<topic label="Finding log records in log view" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tesrchlg.htm"/>
230
<topic label="Common Base Event format specification" href="../org.eclipse.tptp.platform.log.doc.user/ref/rcbeadapt.html"/>
231
</context>
232
233
<context id="algv0510">
234
<description>Search log records based on added criteria.
235
</description>
236
<topic label="Common Base Event model" href="../org.eclipse.tptp.platform.log.doc.user/concepts/cecbemdl.htm"/>
237
<topic label="Common Base Event format specification" href="../org.eclipse.tptp.platform.log.doc.user/ref/rcbeadapt.html"/>
238
<topic label="Finding log records in log view" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tesrchlg.htm"/>
239
</context>
240
241
<context id="algv0610">
242
<description>Add search criterion.
243
</description>
244
<topic label="Finding log records in log view" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tesrchlg.htm"/>
245
</context>
246
247
<context id="algv0620">
248
<description>Edit the selected search criterion.
249
</description>
250
<topic label="Finding log records in log view" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tesrchlg.htm"/>
251
</context>
252
253
<context id="algv0630">
254
<description>Remove the selected search criterion.
255
</description>
256
<topic label="Finding log records in log view" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tesrchlg.htm"/>
257
</context>
258
259
<context id="algv0640">
260
<description>Move the selected search criterion up.
261
</description>
262
<topic label="Finding log records in log view" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tesrchlg.htm"/>
263
</context>
264
265
<context id="algv0650">
266
<description>Move the selected search criterion down.
267
</description>
268
<topic label="Finding log records in log view" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tesrchlg.htm"/>
269
</context>
270
271
<context id="algv0660">
272
<description>Search backwards in the log file.
273
</description>
274
<topic label="Finding log records in log view" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tesrchlg.htm"/>
275
</context>
276
277
<context id="algv0670">
278
<description>Search forwards in the log file.
279
</description>
280
<topic label="Finding log records in log view" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tesrchlg.htm"/>
281
</context>
282
283
<context id="lognav0010">
284
<description>The Log Navigator view displays logs, symptom databases and log correlations.
285
</description>
286
<topic label="Log navigator view" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tviewloglayout.xhtml"/>
287
</context>
288
289
<context id="newcorrwizname">
290
<description>Type in the name of the new log correlation.
291
</description>
292
<topic label="Correlating log files" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tecorlog.htm"/>
293
</context>
294
295
<context id="newcorrwizlogs">
296
<description>Select the logs to correlate by using the move left, right arrow keys.
297
</description>
298
<topic label="Correlating log files" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tecorlog.htm"/>
299
</context>
300
301
<context id="importloglocation">
302
<description>Input the log file details.
303
</description>
304
<topic label="Import a log file" href="../org.eclipse.tptp.platform.log.doc.user/tasks/teimplog.xhtml"/>
305
</context>
306
307
<context id="browsebtn">
308
<description>Browse to select a folder.
309
</description>
310
<topic label="Import a log file" href="../org.eclipse.tptp.platform.log.doc.user/tasks/teimplog.xhtml"/>
311
</context>
312
313
314
<context id="parserlist">
315
<description>Select a log type from the current list.
316
</description>
317
<topic label="Import a log file" href="../org.eclipse.tptp.platform.log.doc.user/tasks/teimplog.xhtml"/>
318
</context>
319
320
<context id="pp0010">
321
<description>Add a log file to the current log set.</description>
322
<topic label="Importing logs using log sets" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tewrkset.xhtml"/>
323
</context>
324
325
<context id="pp0020">
326
<description>Edit the properties for the selected log file.</description>
327
<topic label="Importing logs using log sets" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tewrkset.xhtml"/>
328
</context>
329
330
<context id="pp0030">
331
<description>Remove the selected log file from the current log set.</description>
332
<topic label="Importing logs using log sets" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tewrkset.xhtml"/>
333
</context>
334
335
<context id="ls0000">
336
<description>Create a new log set.</description>
337
<topic label="Importing logs using log sets" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tewrkset.xhtml"/>
338
</context>
339
340
<context id="ls0010">
341
<description>Open one of the persisted log sets.</description>
342
<topic label="Importing logs using log sets" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tewrkset.xhtml"/>
343
</context>
344
345
<context id="ls0020">
346
<description>Edit the persisted log sets.</description>
347
<topic label="Importing logs using log sets" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tewrkset.xhtml"/>
348
</context>
349
350
<context id="lgiv0100">
351
<description>Set filters for the log interactions view.</description>
352
<topic label="Common Base Event model" href="../org.eclipse.tptp.platform.log.doc.user/concepts/cecbemdl.htm"/>
353
<topic label="Common Base Event format specification" href="../org.eclipse.tptp.platform.log.doc.user/ref/rcbeadapt.html"/>
354
<topic label="Filtering records in Log Interactions view" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tfilterlogi.htm"/>
355
</context>
356
357
<context id="lgiv0010">
358
<description>Add filter criterion.
359
</description>
360
<topic label="Filtering records in Log Interactions view" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tfilterlogi.htm"/>
361
</context>
362
363
<context id="lgiv0020">
364
<description>Edit the selected filter criterion.
365
</description>
366
<topic label="Filtering records in Log Interactions view" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tfilterlogi.htm"/>
367
</context>
368
369
<context id="lgiv0030">
370
<description>Remove the selected filter criterion.
371
</description>
372
<topic label="Filtering records in Log Interactions view" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tfilterlogi.htm"/>
373
</context>
374
375
<context id="lgiv0040">
376
<description>Move the selected filter criterion up.
377
</description>
378
<topic label="Filtering records in Log Interactions view" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tfilterlogi.htm"/>
379
</context>
380
381
<context id="lgiv0050">
382
<description>Move the selected filter criterion down.
383
</description>
384
<topic label="Filtering records in Log Interactions view" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tfilterlogi.htm"/>
385
</context>
386
387
<context id="corrschema0000">
388
<description>Select the correlation schema that will be used to correlate the logs.
389
</description>
390
<topic label="Correlating log files" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tecorlog.htm"/>
391
</context>
392
393
</contexts>
(-)DatabaseHelpContexts.xml (-12 lines)
Removed Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
2
<?NLS type="org.eclipse.help.contexts"?>
3
4
<contexts>
5
6
<context id="lrsp0000">
7
<description>Configure database connection information for large log support enablement.
8
</description>
9
<topic label="Configuring large log support for the Log and Trace Analyzer" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tcfglglog.html" /> 
10
</context>
11
12
</contexts>
(-).classpath (+1 lines)
Lines 1-6 Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
1
<?xml version="1.0" encoding="UTF-8"?>
2
<classpath>
2
<classpath>
3
	<classpathentry kind="src" path="src"/>
3
	<classpathentry kind="src" path="src"/>
4
	<classpathentry kind="src" path="src-extensions"/>
4
	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
5
	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
5
	<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
6
	<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
6
	<classpathentry kind="output" path="bin"/>
7
	<classpathentry kind="output" path="bin"/>
(-)src/org/eclipse/tptp/platform/log/views/internal/views/LogViewer.java (-2 / +13 lines)
Lines 73-78 Link Here
73
import org.eclipse.tptp.platform.common.ui.internal.CommonUIPlugin;
73
import org.eclipse.tptp.platform.common.ui.internal.CommonUIPlugin;
74
import org.eclipse.tptp.platform.common.ui.trace.internal.CommonUITraceConstants;
74
import org.eclipse.tptp.platform.common.ui.trace.internal.CommonUITraceConstants;
75
import org.eclipse.tptp.platform.common.ui.trace.internal.helpers.TraceUIManager;
75
import org.eclipse.tptp.platform.common.ui.trace.internal.helpers.TraceUIManager;
76
import org.eclipse.tptp.platform.extension.delegate.ViewPartDelegator;
77
import org.eclipse.tptp.platform.extensions.IApplicationManager;
76
import org.eclipse.tptp.platform.log.views.internal.LogViewsMessages;
78
import org.eclipse.tptp.platform.log.views.internal.LogViewsMessages;
77
import org.eclipse.tptp.platform.log.views.internal.LogViewsPlugin;
79
import org.eclipse.tptp.platform.log.views.internal.LogViewsPlugin;
78
import org.eclipse.tptp.platform.log.views.internal.LogViewsPluginImages;
80
import org.eclipse.tptp.platform.log.views.internal.LogViewsPluginImages;
Lines 94-99 Link Here
94
import org.eclipse.tptp.platform.log.views.internal.util.TreeNode;
96
import org.eclipse.tptp.platform.log.views.internal.util.TreeNode;
95
import org.eclipse.ui.IMemento;
97
import org.eclipse.ui.IMemento;
96
import org.eclipse.ui.IPartListener;
98
import org.eclipse.ui.IPartListener;
99
import org.eclipse.ui.IViewPart;
97
import org.eclipse.ui.IViewSite;
100
import org.eclipse.ui.IViewSite;
98
import org.eclipse.ui.IWorkbenchActionConstants;
101
import org.eclipse.ui.IWorkbenchActionConstants;
99
import org.eclipse.ui.IWorkbenchPage;
102
import org.eclipse.ui.IWorkbenchPage;
Lines 106-114 Link Here
106
import org.eclipse.ui.views.properties.PropertySheet;
109
import org.eclipse.ui.views.properties.PropertySheet;
107
import org.eclipse.ui.views.properties.tabbed.ITabbedPropertySheetPageContributor;
110
import org.eclipse.ui.views.properties.tabbed.ITabbedPropertySheetPageContributor;
108
import org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage;
111
import org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage;
109
112
	
110
public class LogViewer extends FilterTraceViewer implements ILogFindProvider, ILogFilterProvider, IPartListener, ITabbedPropertySheetPageContributor, IAdaptable
113
public class LogViewer extends FilterTraceViewer implements ILogFindProvider, ILogFilterProvider, IPartListener, ITabbedPropertySheetPageContributor, IAdaptable
111
{
114
{
115
	
116
	public static class Delegate extends ViewPartDelegator
117
	{
118
	 
119
		public Delegate() {
120
			delegate = (IViewPart)IApplicationManager.INSTANCE.createDefaultHandlerInstance("TPTP/LogViewer");
121
		}
122
	}
112
	protected final String _title =
123
	protected final String _title =
113
		LogViewsPlugin.getResourceString("1");
124
		LogViewsPlugin.getResourceString("1");
114
	protected LogPage logPage;
125
	protected LogPage logPage;
Lines 263-269 Link Here
263
		sort.setDescription(STR_SORT);
274
		sort.setDescription(STR_SORT);
264
		sort.setToolTipText(STR_SORT);
275
		sort.setToolTipText(STR_SORT);
265
		
276
		
266
		highlightRecord = new HighlighterSelectionAction(this, getFilterInformationManager());		
277
		highlightRecord = new HighlighterSelectionAction(LogViewer.this, getFilterInformationManager());		
267
		
278
		
268
		final String STR_CHOOSE_COLUMNS = LogViewsMessages._334;
279
		final String STR_CHOOSE_COLUMNS = LogViewsMessages._334;
269
		changeColumnsSequence = new Action(STR_CHOOSE_COLUMNS) {
280
		changeColumnsSequence = new Action(STR_CHOOSE_COLUMNS) {
(-)src-extensions/example.xml (+104 lines)
Added Link Here
1
<plugin>
2
 <!-- TPTP extensions -->    
3
   <extension
4
         point="org.eclipse.tptp.platform.models.handler">
5
      <handler id="LogNavigatorView" application="TPTP" type="org.eclipse.ui.IViewPart" 
6
            class="org.eclipse.tptp.platform.log.views.internal.navigator.LogNavigator"
7
            targetExtension="org.eclipse.hyades.log.ui.internal.navigator.LogNavigator"
8
            priority="1">
9
      </handler>
10
      <handler id="LogViewer" application="TPTP" type="org.eclipse.ui.IViewPart"
11
            class="org.eclipse.tptp.platform.log.views.internal.views.LogViewer"
12
            targetExtension="org.eclipse.tptp.platform.log.views.internal.views.LogViewer.LogViewerDelegate"
13
            priority="1">
14
      </handler>
15
      <handler id="LogSDView" application="TPTP" type="org.eclipse.ui.IViewPart" 
16
            class="org.eclipse.hyades.sd.logc.internal.loader.LogSDView"
17
            targetExtension="org.eclipse.hyades.sd.logc.LogInteractionsView"
18
            priority="1">
19
      </handler>
20
      
21
      <handler id="OpenLogViewActionDelegate" application="TPTP" type="org.eclipse.ui.IViewActionDelegate" 
22
            class="org.eclipse.tptp.platform.log.views.internal.actions.OpenLogViewActionDelegate"
23
            targetExtension="org.eclipse.tptp.platform.log.views.openLogViewFromAnalysisResultsViewAction"
24
            priority="1">
25
      </handler>
26
      
27
   </extension>
28
29
	<extension point="org.eclipse.ui.views">
30
	
31
		<!-- The log navigator view -->
32
		<view
33
            name="%LOG_NAV_TTL"
34
            icon="icons/full/cview16/lognav_view.gif"
35
            category="org.eclipse.hyades.trace.internal.ui.trace"
36
            class="org.eclipse.tptp.platform.extensions.delegate.ViewPartDelegator"
37
            id="org.eclipse.hyades.log.ui.internal.navigator.LogNavigator">
38
		</view>
39
			
40
		<!-- The Log Viewer -->
41
		<view
42
			name="%1"
43
            icon="icons/full/cview16/log_view.gif"
44
            category="org.eclipse.hyades.trace.internal.ui.trace"
45
            class="org.eclipse.tptp.platform.extensions.delegate.ViewPartDelegator"
46
            id="org.eclipse.tptp.platform.log.views.internal.views.LogViewer">
47
      	</view>
48
       
49
       	<!-- The Log Interaction View -->
50
       	<view
51
            allowMultiple="true" 
52
            class="org.eclipse.tptp.platform.extensions.delegate.ViewPartDelegator"
53
            icon="icons/full/obj16/sequencediagram_obj.gif"
54
            category="org.eclipse.hyades.trace.internal.ui.trace"
55
            name="%14"
56
            id="org.eclipse.hyades.sd.logc.LogInteractionsView">
57
		</view>  
58
	</extension>
59
   
60
    <extension
61
         point="org.eclipse.ui.popupMenus">
62
      <viewerContribution
63
            id="org.eclipse.tptp.symptom.internal.presentation.view.openLogViewContribution"
64
            targetID="org.eclipse.tptp.symptom.internal.presentation.view.SymptomAnalysisViewer">
65
         <action
66
               class="org.eclipse.tptp.platform.models.extensions.delegate.ViewActionDelegateDelegator"
67
               icon="icons/full/cview16/log_view.gif"
68
               id="org.eclipse.tptp.platform.models.log.views.openLogViewFromAnalysisResultsViewAction"
69
               label="%3"
70
               style="push"
71
               menubarPath="additions"/>
72
      </viewerContribution>
73
   </extension>
74
   <extension
75
         point="org.eclipse.hyades.analysis.engine.analysisActions">
76
      <action
77
            class="org.eclipse.tptp.platform.log.views.internal.actions.AnalyzeAction"
78
            id="org.eclipse.tptp.platform.log.views.internal.actions.AnalyzeAction"/>
79
      <action
80
            class="org.eclipse.tptp.platform.log.views.internal.actions.ExtendedAnalyzeAction"
81
            id="org.eclipse.tptp.platform.log.views.internal.actions.ExtendedAnalyzeAction"/>
82
   </extension>	
83
   
84
   
85
  	<!-- ACLT extensions -->
86
    <extension
87
         point="org.eclipse.tptp.platform.models.handler">
88
	  <handler id="LogNavigatorView" application="ACME" modifier="replace" targetHandler="//TPTP/LogNavigatorView"
89
            class="com.acme.log.views.internal.navigator.LogNavigatorExtended"
90
            priority="2">
91
      </handler>
92
      <handler id="2" application="ACLT" type="interface2" modifier="replace" targetHandler="//TPTP/1"
93
            class="className2"
94
            position="1"
95
            priority="2">
96
      </handler>
97
      <handler application="ACME" mode="remove" target="//TPTP/3" priority="4"/>
98
      <handler id="2" application="ACLT" modifier="extends" target="1"
99
            class="className2"
100
            insertBefore="2"
101
            priority="2">
102
      </handler>
103
   </extension>
104
</plugin>
(-)src-log-views/LogInteractionInfopopContexts.xml (+21 lines)
Added Link Here
1
<?xml version="1.0" encoding="UTF-8" ?> 
2
<?NLS type="org.eclipse.help.contexts"?> 
3
<contexts>
4
	<context id="lgiv0000">
5
		<description>Log interaction diagrams display interactions among log events (records) that occur during the execution of an application</description> 
6
		<topic label="Log Interactions View" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tvwlogi.htm" /> 
7
	</context>
8
	<context id="lgpp0000">
9
		<description>Log interaction preference page allows you to update the number of log records in a page</description> 
10
		<topic label="Log Interactions View" href="../org.eclipse.tptp.platform.log.doc.user/ref/resqlgin.htm" /> 
11
	</context>
12
	<context id="cord0000">
13
		<description>Select the correlation schema for the log correlation</description> 
14
		<topic label="Log Interactions View" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tvwlogi.htm" /> 
15
	</context>
16
	<context id="evtd0000">
17
		<description>Jump to the source or target log record by making a selection in the log records table.</description> 
18
		<topic label="Log Interactions View" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tvwlogi.htm" /> 
19
	</context>
20
	
21
</contexts>
(-)src/org/eclipse/tptp/platform/lta/extensions/instances/Activator.java (+65 lines)
Added Link Here
1
/**********************************************************************
2
 * Copyright (c) 2007 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 *
8
 * Contributors:
9
 * IBM - Initial API and implementation
10
 *
11
 * $Id$
12
 **********************************************************************/
13
package org.eclipse.tptp.platform.lta.extensions.instances;
14
15
import org.eclipse.tptp.platform.log.views.internal.views.LogViewer;
16
import org.eclipse.ui.plugin.AbstractUIPlugin;
17
import org.osgi.framework.BundleContext;
18
19
/**
20
 * The activator class controls the plug-in life cycle
21
 * 
22
 * @author slavescu
23
 */
24
public class Activator extends AbstractUIPlugin {
25
26
	// The plug-in ID
27
	public static final String PLUGIN_ID = "org.eclipse.tptp.platform.lta.extensions.instances";
28
29
	// The shared instance
30
	private static Activator plugin;
31
	
32
	/**
33
	 * The constructor
34
	 */
35
	public Activator() {
36
	}
37
38
	/*
39
	 * (non-Javadoc)
40
	 * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
41
	 */
42
	public void start(BundleContext context) throws Exception {
43
		super.start(context);
44
		plugin = this;
45
	}
46
47
	/*
48
	 * (non-Javadoc)
49
	 * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
50
	 */
51
	public void stop(BundleContext context) throws Exception {
52
		plugin = null;
53
		super.stop(context);
54
	}
55
56
	/**
57
	 * Returns the shared instance
58
	 *
59
	 * @return the shared instance
60
	 */
61
	public static Activator getDefault() {
62
		return plugin;
63
	}
64
65
}
(-)plugin.xml (+816 lines)
Added Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
2
<?eclipse version="3.0"?>
3
<plugin>
4
5
	<!-- The new log correlation wizard -->
6
	<extension point="org.eclipse.ui.newWizards">
7
		<category
8
			name="%TRC_LGNW"
9
			id="org.eclipse.hyades.trace_log.newWizard">
10
		</category>
11
		<wizard
12
			name="%NEWCOR_WZ"
13
            icon="icons/full/ctool16/newcorrelation_wiz.gif"
14
            category="org.eclipse.hyades.trace_log.newWizard"
15
            class="org.eclipse.tptp.platform.log.views.internal.navigator.wizards.NewCorrelationWizard"
16
            id="org.eclipse.hyades.log.ui.wizard.new.correlation">
17
			<description>
18
				%NEWCOR_WZD
19
			</description>
20
		</wizard>
21
	</extension>
22
   
23
   
24
25
	<!-- Contribute new views -->
26
	<extension point="org.eclipse.ui.views">
27
	
28
		<!-- The log navigator view -->
29
		<view
30
            name="%LOG_NAV_TTL"
31
            icon="icons/full/cview16/lognav_view.gif"
32
            category="org.eclipse.hyades.trace.internal.ui.trace"
33
            class="org.eclipse.tptp.platform.log.views.internal.navigator.LogNavigator"
34
            id="org.eclipse.hyades.log.ui.internal.navigator.LogNavigator">
35
		</view>
36
			
37
		<!-- The Log Viewer -->
38
		<view
39
			name="%1"
40
            icon="icons/full/cview16/log_view.gif"
41
            category="org.eclipse.hyades.trace.internal.ui.trace"
42
            class="org.eclipse.tptp.platform.log.views.internal.views.LogViewer$Delegate"
43
            id="org.eclipse.tptp.platform.log.views.internal.views.LogViewer">
44
      	</view>
45
       
46
       	<!-- The Log Interaction View -->
47
       	<view
48
            allowMultiple="true" 
49
            class="org.eclipse.hyades.sd.logc.internal.loader.LogSDView"
50
            icon="icons/full/obj16/sequencediagram_obj.gif"
51
            category="org.eclipse.hyades.trace.internal.ui.trace"
52
            name="%14"
53
            id="org.eclipse.hyades.sd.logc.LogInteractionsView">
54
		</view>  
55
		
56
	</extension>
57
	<extension
58
         point="org.eclipse.tptp.platform.models.handler">
59
	  <handler id="LogViewer" application="TPTP" type="org.eclipse.ui.IViewPart"
60
            class="org.eclipse.tptp.platform.log.views.internal.views.LogViewer"
61
            targetExtension="org.eclipse.tptp.platform.log.views.internal.views.LogViewer"
62
            priority="1">
63
      </handler>
64
	</extension>
65
	
66
	<extension
67
         point="org.eclipse.tptp.platform.models.handler">
68
	  <handler id="LogViewer" application="TPTP" type="org.eclipse.ui.IViewPart"
69
            class="org.eclipse.tptp.platform.log.views.internal.views.ACLogViewer"
70
            targetExtension="org.eclipse.tptp.platform.log.views.internal.views.LogViewer"
71
            modifier="replace"
72
            targetHandler="TPTP/LogViewer"
73
            priority="1">
74
      </handler>
75
	</extension>
76
	
77
	<!-- View actions -->
78
	<extension point="org.eclipse.ui.viewActions">
79
		
80
		<!-- Contributions to the log navigator toolbar -->
81
		<viewContribution
82
			targetID="org.eclipse.hyades.log.ui.internal.navigator.LogNavigator"
83
            id="org.eclipse.hyades.log.ui.internal.logview.toolbar">
84
			<action
85
				id="org.eclipse.hyades.log.ui.internal.logview.toolbar.refreshViews"
86
				toolbarPath="refreshGroup"
87
				hoverIcon="icons/full/clcl16/updateviews_co.gif"
88
   				class="org.eclipse.hyades.trace.ui.internal.actions.RefreshViewsActionDelegate"
89
				disabledIcon="icons/full/dlcl16/updateviews_co.gif"
90
				icon="icons/full/elcl16/updateviews_co.gif"
91
				helpContextId="refresh_views_action_context"
92
				label="%40"
93
				tooltip="%40">
94
			</action>
95
		</viewContribution>
96
97
		
98
		<!-- Contributions to the log viewer -->
99
		<viewContribution
100
			id="org.eclipse.tptp.platform.log.views.tabbedPropertiesViewContribution"
101
            targetID="org.eclipse.tptp.platform.log.views.internal.views.LogViewer">
102
			<action
103
				class="org.eclipse.tptp.platform.log.views.internal.actions.OpenPropertyViewAction"
104
				icon="icons/full/cview16/prop_ps.gif"
105
				id="org.eclipse.tptp.platform.log.views.action1"
106
				label="%37"
107
				style="push"
108
				toolbarPath="additions"/>
109
      	</viewContribution>
110
	</extension>	
111
112
	<!-- Perspective extensions -->
113
	<extension point="org.eclipse.ui.perspectiveExtensions">
114
	
115
		<!-- The extension for the Profiling & Logging perspective -->
116
		<perspectiveExtension
117
			targetID="org.eclipse.hyades.trace.internal.ui.tracePerspective">
118
			
119
			<!-- The extensions for the log navigator -->
120
			<view
121
				relative="org.eclipse.hyades.trace.internal.ui.PDProjectExplorer"
122
				visible="true"
123
				relationship="stack"
124
				id="org.eclipse.hyades.log.ui.internal.navigator.LogNavigator">
125
			</view>
126
         	<viewShortcut id="org.eclipse.hyades.log.ui.internal.navigator.LogNavigator"/>
127
			
128
			<!-- The extensions for the log viewer -->
129
			<!-- relative="org.eclipse.ui.console.ConsoleView was removed for defect_143455 -->
130
			 <!-- now the views which used to use the console view as a relative use the ExecStats-->
131
			<actionSet id="org.eclipse.tptp.platform.log.views.internal.logViewActionSet"/>
132
			<view
133
				relative ="org.eclipse.hyades.trace.views.adapter.internal.ExecutionStatisticViewer2"
134
				visible="false"
135
				relationship="stack"
136
				id="org.eclipse.tptp.platform.log.views.internal.views.LogViewer">
137
         	</view>       
138
         	<viewShortcut id="org.eclipse.tptp.platform.log.views.internal.views.LogViewer"/>
139
         	
140
         </perspectiveExtension>
141
	</extension>
142
	
143
	
144
	<!-- Associate the log agent with its corresponding views -->
145
	<extension point="org.eclipse.tptp.platform.common.ui.analyzerExtensions">
146
	
147
		<!-- The log view -->
148
		<analyzerExtension
149
            name="%1"
150
            type="Logging"
151
            icon="icons/full/cview16/log_view.gif"
152
            isDefault="true"
153
            class="org.eclipse.tptp.platform.log.views.internal.actions.OpenLogViewAction"
154
            id="org.eclipse.tptp.platform.log.views.internal.actions.OpenLogViewAction"
155
            extension="trace">
156
		</analyzerExtension>
157
		
158
		<!-- The log interaction view -->
159
		<analyzerExtension
160
            name="%12" 
161
            type="Logging"
162
            icon="icons/full/obj16/sequencediagram_obj.gif"
163
            class="org.eclipse.hyades.sd.logc.internal.actions.OpenLogViewAction"
164
            id="org.eclipse.hyades.sd.logc.internal.actions.ROpenLogViewAction"
165
            extension="trace">
166
		</analyzerExtension>
167
		
168
		<!-- The log thread interaction view -->
169
		<analyzerExtension
170
            name="%13"
171
            type="Logging"
172
            icon="icons/full/obj16/sequencediagram_obj.gif"
173
            class="org.eclipse.hyades.sd.logc.internal.actions.OpenLogViewAction"
174
            id="org.eclipse.hyades.sd.logc.internal.actions.TOpenLogViewAction"
175
            extension="trace">
176
		</analyzerExtension>
177
  
178
   	</extension>
179
   
180
    
181
	<!-- Contribute the UML views -->
182
	<extension
183
		point="org.eclipse.tptp.platform.common.ui.uml2SDLoader">
184
		<uml2SDLoader
185
			name="%12"
186
            class="org.eclipse.hyades.sd.logc.internal.loader.LogInteractions"
187
            id="org.eclipse.hyades.sd.logc.internal.loader.LogInteractions"
188
            view="org.eclipse.hyades.sd.logc.LogInteractionsView"
189
            default="true">
190
		</uml2SDLoader>
191
		<uml2SDLoader
192
            name="%13"
193
            class="org.eclipse.hyades.sd.logc.internal.loader.LogThreadInteractions"
194
            id="org.eclipse.hyades.sd.logc.internal.loader.LogthreadInteractions"
195
            view="org.eclipse.hyades.sd.logc.LogInteractionsView">
196
		</uml2SDLoader>
197
	</extension>   
198
	
199
	
200
	<!-- Define filters for the log view -->
201
	<extension point="org.eclipse.tptp.platform.common.ui.filterTypes">
202
		<filterType
203
			id="org.eclipse.tptp.platform.log.views.LogFilterType"
204
			name="%5"
205
			icon="icons/full/obj16/log_agent_filter_obj.gif"
206
			description="%6"
207
			standardTabUI="org.eclipse.tptp.platform.log.views.internal.views.LogFiltersStandardUI"
208
			advancedAttributes="org.eclipse.tptp.platform.log.views.internal.views.LogAdvancedTabAttributeSet">
209
			<appliesTo
210
				filterScope="LoggingAgentScope">
211
			</appliesTo>
212
		</filterType>         
213
	</extension>  
214
	
215
	<extension point="org.eclipse.tptp.platform.common.ui.filterTypes">
216
		<filterType
217
			id="org.eclipse.tptp.platform.log.views.LogInteractionsFilterType"
218
			name="%5"
219
			icon="icons/full/obj16/log_agent_filter_obj.gif"
220
			description="%6"
221
			standardTabUI="org.eclipse.tptp.platform.log.views.internal.views.LogFiltersStandardUI"
222
			advancedAttributes="org.eclipse.tptp.platform.log.views.internal.views.LogAdvancedTabAttributeSet">
223
			<appliesTo
224
				filterScope="LogInteractionsScope">
225
			</appliesTo>
226
		</filterType>         
227
	</extension>  
228
	
229
	<!-- Contribute report generators to the log view -->
230
	<extension point="org.eclipse.tptp.platform.common.ui.reportGenerators">
231
	
232
		<!-- XML log report generator -->
233
		<wizard
234
			icon="icons/full/cview16/log_view.gif"
235
            class="org.eclipse.tptp.platform.log.views.internal.reports.ReportXMLLogWizard"
236
            description="%22"
237
            name="%21"
238
            id="org.eclipse.tptp.platform.log.views.internal.reports.ReportXMLLogWizard"/>
239
            
240
  		<!-- HTML log report generator -->
241
		<wizard
242
            icon="icons/full/cview16/log_view.gif"
243
            class="org.eclipse.tptp.platform.log.views.internal.reports.ReportHTMLLogWizard"
244
            description="%26"
245
            name="%25"
246
            id="org.eclipse.tptp.platform.log.views.internal.reports.ReportHTMLLogWizard"/>
247
            
248
		<!-- CSV log report generator -->        
249
 		<wizard
250
            icon="icons/full/cview16/log_view.gif"
251
            class="org.eclipse.tptp.platform.log.views.internal.reports.CSVReportLogWizard"
252
            description="%24"
253
            name="%23"
254
            id="org.eclipse.tptp.platform.log.views.internal.reports.CSVReportLogWizard"/>
255
256
  		<!-- HTML log report generator --> 
257
		<wizard
258
            icon="icons/full/cview16/log_view.gif"
259
            class="org.eclipse.tptp.platform.log.views.internal.reports.HTMLReportLogFileWizard"
260
            description="%28"
261
            name="%27"
262
            id="org.eclipse.tptp.platform.log.views.internal.reports.HTMLReportLogFileWizard"/>
263
 
264
	</extension>
265
	
266
	
267
	<!-- Identify a tabbed property contributor -->
268
	<extension point="org.eclipse.ui.views.properties.tabbed.propertyContributor">
269
		<propertyContributor contributorId="org.eclipse.tptp.platform.log.views.internal.views.LogViewer">
270
			<propertyCategory category="tabs"/>
271
		</propertyContributor>
272
	</extension>
273
	
274
	<!-- Contribute the property tabs -->
275
	<extension point="org.eclipse.ui.views.properties.tabbed.propertyTabs">
276
		
277
		<propertyTabs contributorId="org.eclipse.tptp.platform.log.views.internal.views.LogViewer">
278
			
279
			<!-- The multiple common base event tab - displayed only when a LogGraphNode with multiple wrapped CBEs is selected -->
280
			<propertyTab
281
				category="tabs"
282
				id="org.eclipse.tptp.platform.log.views.MultipleCommonBaseEvent"
283
				label="%properties.cbe"/>
284
			
285
			<!-- The common base event tab -->
286
			<propertyTab
287
				category="tabs"
288
				id="org.eclipse.tptp.platform.log.views.CommonBaseEventTab"
289
				label="%29"/>
290
291
			<!-- The extended data element tab -->
292
			<propertyTab
293
				afterTab="org.eclipse.tptp.platform.log.views.CommonBaseEventTab"
294
				category="tabs"
295
				id="org.eclipse.tptp.platform.log.views.ExtendedDataElementsTab"
296
				label="%30"/>
297
      
298
      		<!-- All properties tab -->
299
			<propertyTab
300
				afterTab="org.eclipse.tptp.platform.log.views.SituationTab"
301
				category="tabs"
302
				id="org.eclipse.tptp.platform.log.views.PropertiesTab"
303
				label="All Properties"/>
304
305
			<!-- The context data element tab -->
306
			<propertyTab
307
				afterTab="org.eclipse.tptp.platform.log.views.ExtendedDataElementsTab"
308
				category="tabs"
309
				id="org.eclipse.tptp.platform.log.views.ContextDataElementsTab"
310
				label="%31"/>
311
    
312
    		<!-- The situation tab -->
313
			<propertyTab
314
				afterTab="org.eclipse.tptp.platform.log.views.ContextDataElementsTab"
315
				category="tabs"
316
				id="org.eclipse.tptp.platform.log.views.SituationTab"
317
				label="%32"/>
318
319
			<!-- The message data element tab -->
320
			<propertyTab
321
				afterTab="org.eclipse.tptp.platform.log.views.SituationTab"
322
				category="tabs"
323
				id="org.eclipse.tptp.platform.log.views.MsgDataElementTab"
324
				label="%33"/>
325
     
326
     		<!-- The source component id tab -->
327
			<propertyTab
328
				afterTab="org.eclipse.tptp.platform.log.views.MsgDataElementTab"
329
				category="tabs"
330
				id="org.eclipse.tptp.platform.log.views.SourceComponentIDTab"
331
				label="%34"/>
332
      
333
      		<!-- The report component id tab -->
334
			<propertyTab
335
				afterTab="org.eclipse.tptp.platform.log.views.SourceComponentIDTab"
336
				category="tabs"
337
				id="org.eclipse.tptp.platform.log.views.ReporterComponentIDTab"
338
				label="%35"/>
339
      
340
      		<!-- The associated event tab -->
341
         	<propertyTab
342
				afterTab="org.eclipse.tptp.platform.log.views.ReporterComponentIDTab"
343
				category="tabs"
344
				id="org.eclipse.tptp.platform.log.views.AssociatedEventTab"
345
				label="%36"/>
346
     
347
     		<!-- Common base event xml tab -->
348
			<propertyTab
349
				afterTab="org.eclipse.tptp.platform.log.views.AssociatedEventTab"
350
				category="tabs"
351
				id="org.eclipse.tptp.platform.log.views.CBEXMLTab"
352
				label="CommonBaseEvent XML"/>
353
      
354
      		<!-- The analysis result tab -->
355
			<propertyTab
356
				afterTab="org.eclipse.tptp.platform.log.views.CBEXMLTab"
357
				category="tabs"
358
				id="org.eclipse.tptp.platform.log.views.AnalysisResultsTab"
359
				label="%39"/>
360
		</propertyTabs>        
361
	</extension>
362
   
363
	
364
	<!-- Associates property sections with each of the property tabs defined above -->
365
	<extension point="org.eclipse.ui.views.properties.tabbed.propertySections">
366
      
367
		<propertySections contributorId="org.eclipse.tptp.platform.log.views.internal.views.LogViewer">
368
		
369
			<!-- The multiple cbe tab section -->
370
			<propertySection
371
				class="org.eclipse.hyades.sd.logc.internal.loader.MultipleCBETab"
372
				id="org.eclipse.tptp.platform.log.views.propertySection0"
373
				tab="org.eclipse.tptp.platform.log.views.MultipleCommonBaseEvent">
374
				
375
				<!-- Notice that unlike most other sections, the input is different -->
376
				<input type="org.eclipse.hyades.sd.logc.internal.uml2sd.LogGraphNode"/>
377
			</propertySection>
378
      
379
      		<!-- The common base event section -->
380
			<propertySection
381
				class="org.eclipse.tptp.platform.log.views.internal.views.CommonBaseSection"
382
				id="org.eclipse.tptp.platform.log.views.propertySection1"
383
				tab="org.eclipse.tptp.platform.log.views.CommonBaseEventTab">
384
				<input type="org.eclipse.hyades.models.cbe.impl.CBEDefaultEventImpl"/>
385
			</propertySection>
386
      
387
      		<!-- Extended data element section -->
388
			<propertySection
389
				class="org.eclipse.tptp.platform.log.views.internal.views.ExtendedDataElementsSection"
390
				id="org.eclipse.tptp.platform.log.views.propertySection3"
391
				tab="org.eclipse.tptp.platform.log.views.ExtendedDataElementsTab">
392
				<input type="org.eclipse.hyades.models.cbe.impl.CBEDefaultEventImpl"/>
393
			</propertySection>
394
      
395
      		<!-- Context data element section -->
396
			<propertySection
397
				class="org.eclipse.tptp.platform.log.views.internal.views.ContextDataElementsSection"
398
				id="org.eclipse.tptp.platform.log.views.propertySection5"
399
				tab="org.eclipse.tptp.platform.log.views.ContextDataElementsTab">
400
				<input type="org.eclipse.hyades.models.cbe.impl.CBECommonBaseEventImpl"/>
401
			</propertySection>
402
      
403
      		<!-- Situation section -->
404
			<propertySection
405
				class="org.eclipse.tptp.platform.log.views.internal.views.SituationSection"
406
				id="org.eclipse.tptp.platform.log.views.propertySection6"
407
				tab="org.eclipse.tptp.platform.log.views.SituationTab">
408
				<input type="org.eclipse.hyades.models.cbe.impl.CBECommonBaseEventImpl"/>
409
			</propertySection>
410
      
411
      		<!-- The message data element section -->
412
			<propertySection
413
				class="org.eclipse.tptp.platform.log.views.internal.views.MessageDataElementSection"
414
				id="org.eclipse.tptp.platform.log.views.propertySection7"
415
				tab="org.eclipse.tptp.platform.log.views.MsgDataElementTab">
416
				<input type="org.eclipse.hyades.models.cbe.impl.CBECommonBaseEventImpl"/>
417
			</propertySection>
418
      
419
      		<!-- The source component section -->
420
			<propertySection
421
				class="org.eclipse.tptp.platform.log.views.internal.views.SourceComponentIDSection"
422
				id="org.eclipse.tptp.platform.log.views.propertySection8"
423
				tab="org.eclipse.tptp.platform.log.views.SourceComponentIDTab">
424
				<input type="org.eclipse.hyades.models.cbe.impl.CBECommonBaseEventImpl"/>
425
			</propertySection>
426
      
427
      		<!-- Reporter component section -->
428
			<propertySection
429
				class="org.eclipse.tptp.platform.log.views.internal.views.ReporterComponentIDSection"
430
				id="org.eclipse.tptp.platform.log.views.propertySection9"
431
				tab="org.eclipse.tptp.platform.log.views.ReporterComponentIDTab">
432
				<input type="org.eclipse.hyades.models.cbe.impl.CBECommonBaseEventImpl"/>
433
			</propertySection>
434
     
435
     		<!-- The associate event section -->
436
			<propertySection
437
				class="org.eclipse.tptp.platform.log.views.internal.views.AssociatedEventSection"
438
				id="org.eclipse.tptp.platform.log.views.propertySection8"
439
				tab="org.eclipse.tptp.platform.log.views.AssociatedEventTab">
440
				<input type="org.eclipse.hyades.models.cbe.impl.CBECommonBaseEventImpl"/>
441
			</propertySection>
442
      
443
      		<!-- The CBE XML section -->
444
			<propertySection
445
				class="org.eclipse.tptp.platform.log.views.internal.views.CBEXMLSection"
446
				id="org.eclipse.tptp.platform.log.views.CBEXMLSection"
447
				tab="org.eclipse.tptp.platform.log.views.CBEXMLTab">
448
				<input type="org.eclipse.hyades.models.cbe.impl.CBEDefaultEventImpl"/>
449
			</propertySection>
450
      
451
      		<!-- The analysis result section -->
452
			<propertySection
453
				class="org.eclipse.tptp.platform.log.views.internal.views.AnalysisResultsSection"
454
				id="org.eclipse.tptp.platform.log.views.AnalysisResultsSection"
455
				tab="org.eclipse.tptp.platform.log.views.AnalysisResultsTab">
456
				<input type="org.eclipse.hyades.models.cbe.impl.CBECommonBaseEventImpl"/>
457
			</propertySection>
458
		</propertySections>
459
	</extension>
460
461
	
462
	<!-- Contributions to the CBE objects -->
463
	<extension point="org.eclipse.ui.popupMenus">
464
		<objectContribution
465
			objectClass="org.eclipse.hyades.models.cbe.CBECommonBaseEvent"
466
			id="org.eclipse.tptp.platform.log.views.internal.actions.CopyToClipboardAction">
467
			<action
468
				label="%16"
469
				style="push"
470
				class="org.eclipse.tptp.platform.log.views.internal.actions.CopyToClipboardAction"
471
				menubarPath="additions"
472
				enablesFor="*"
473
				id="org.eclipse.tptp.platform.log.views.internal.actions.CopyToClipboardAction">
474
			</action>
475
		</objectContribution>
476
	</extension>
477
	
478
479
<!-- ==================================================================== -->
480
   <extension
481
         point="org.eclipse.ui.actionSets">
482
      <actionSet
483
            label="%0"
484
            visible="false"
485
            id="org.eclipse.tptp.platform.log.views.internal.logViewActionSet">
486
         <action
487
               label="%2"
488
               icon="icons/full/ctool16/log_view_nav.gif"
489
               tooltip="%3"
490
               class="org.eclipse.tptp.platform.log.views.internal.actions.OpenLogViewAction"
491
               toolbarPath="trace/group.openRAS"
492
               id="org.eclipse.tptp.platform.log.views.internal.actions.OpenLogViewAction">
493
         </action>
494
      </actionSet>
495
   </extension>
496
<!-- ==================================================================== -->
497
   <extension
498
         point="org.eclipse.ui.preferencePages">
499
      <page
500
            name="%4"
501
            category="org.eclipse.hyades.trace.ui.internal.preferences.TraceBasePreferencePage"
502
            class="org.eclipse.tptp.platform.log.views.internal.preferences.LogAnalyzerBasePrefPage"
503
            id="org.eclipse.tptp.platform.log.views.internal.preferences.LogAnalyzerBasePrefPage">
504
      </page>
505
 
506
   </extension>
507
508
    <extension
509
         point="org.eclipse.ui.preferencePages">
510
      <page
511
            name="%7"
512
            category="org.eclipse.hyades.trace.ui.internal.preferences.TraceBasePreferencePage"
513
            class="org.eclipse.tptp.platform.log.views.internal.preferences.LogDBResourceSupportPreferencePage"
514
            id="org.eclipse.tptp.platform.log.views.internal.preferences.LogDBResourceSupportPreferencePage">
515
      </page>
516
   </extension>
517
   
518
<!-- ==================================================================== -->
519
      
520
   <extension
521
         point="org.eclipse.help.contexts">
522
      <contexts
523
            file="src-log-views/logui.xml"
524
            plugin="org.eclipse.tptp.platform.log.views">
525
      </contexts>
526
      <contexts
527
            file="src-log-views/DatabaseHelpContexts.xml"
528
            plugin="org.eclipse.tptp.platform.log.views">
529
      </contexts>
530
   </extension>
531
   <extension point="org.eclipse.tptp.platform.common.ui.navigatorExtensions">
532
      <navigatorFilterSet
533
            id="org.eclipse.hyades.log.ui.navigatorFilterSet.hosts"
534
            label="%15"
535
            icon="icons/full/obj16/node_obj.gif"
536
            class="org.eclipse.hyades.trace.ui.internal.navigator.NodeNavigatorFilterSet"
537
            navigatorID="org.eclipse.hyades.log.ui.logNavigator"
538
            defaultEnabled="true"
539
            recursive="false"
540
            common="true"/>
541
   </extension>
542
   
543
   <!-- from sd.logc ==================================================================== -->
544
 
545
546
    <extension
547
         point="org.eclipse.ui.popupMenus">
548
         
549
      <!-- The analyze all action -->
550
      <objectContribution
551
            objectClass="org.eclipse.hyades.sd.logc.internal.uml2sd.LogGraphNode"
552
            id="org.eclipse.hyades.sd.logc.internal.actions.LogGraphNodeAnalyze.AnalyzeAll">
553
         <action
554
               label="%interaction.action.analyzeAll"             
555
               class="org.eclipse.hyades.sd.logc.internal.actions.LogGraphNodeAnalyze"
556
               id="org.eclipse.hyades.sd.logc.internal.actions.LogGraphNodeAnalyze.AnalyzeAll"
557
               menubarPath="analyze.group"
558
               icon="icons/full/elcl16/analyze_all.gif">
559
         </action>
560
      </objectContribution>
561
      
562
      <!-- The analyze action -->
563
      <objectContribution
564
            objectClass="org.eclipse.hyades.sd.logc.internal.uml2sd.LogGraphNode"
565
            id="org.eclipse.hyades.sd.logc.internal.actions.LogGraphNodeAnalyze.Analyze">
566
         <action
567
               label="%interaction.action.analyze"
568
               class="org.eclipse.hyades.sd.logc.internal.actions.LogGraphNodeAnalyze"
569
               id="org.eclipse.hyades.sd.logc.internal.actions.LogGraphNodeAnalyze.Analyze"
570
               menubarPath="analyze.group"
571
               icon="icons/full/elcl16/analyze.gif">
572
         </action>
573
      </objectContribution>
574
575
      <objectContribution
576
            objectClass="org.eclipse.hyades.sd.logc.internal.uml2sd.LogGraphNode"
577
            id="org.eclipse.hyades.sd.logc.internal.actions.LogGraphNodeCollapseAction">
578
         <filter
579
               name="isExpanded"
580
               value="true">
581
         </filter>
582
         <action
583
               label="%9"
584
               icon="icons/full/clcl16/collapse_tsk.gif"
585
               class="org.eclipse.hyades.sd.logc.internal.actions.LogGraphNodeCollapseAction"
586
               enablesFor="1"
587
               id="org.eclipse.hyades.sd.logc.internal.actions.LogGraphNodeCollapseAction">
588
         </action>
589
      </objectContribution>
590
      
591
      <objectContribution
592
            objectClass="org.eclipse.hyades.sd.logc.internal.uml2sd.LogGraphNode"
593
            id="org.eclipse.hyades.sd.logc.internal.actions.LogGraphNodeExpandAction">
594
         <filter
595
               name="isExpanded"
596
               value="false">
597
         </filter>
598
599
         <action
600
               label="%10"
601
               icon="icons/full/clcl16/expand_tsk.gif"
602
               class="org.eclipse.hyades.sd.logc.internal.actions.LogGraphNodeExpandAction"
603
               enablesFor="1"
604
               id="org.eclipse.hyades.sd.logc.internal.actions.LogGraphNodeExpandAction">
605
         </action>
606
      </objectContribution>
607
      <objectContribution
608
            objectClass="org.eclipse.hyades.sd.logc.internal.uml2sd.TargetOutOfPageMessage"
609
            id="org.eclipse.hyades.sd.logc.internal.actions.GoToTarget1">
610
         <action
611
               label="%18"
612
               style="push"
613
               state="true"
614
               icon="icons/full/clcl16/go_to_target.gif"
615
               class="org.eclipse.hyades.sd.logc.internal.actions.GoToTarget"
616
               menubarPath="additions"
617
               enablesFor="1"
618
               id="org.eclipse.hyades.sd.logc.internal.actions.GoToTarget2">
619
         </action>
620
      </objectContribution>
621
      <objectContribution
622
            objectClass="org.eclipse.hyades.sd.logc.internal.uml2sd.SourceOutOfPageMessage"
623
            id="org.eclipse.hyades.sd.logc.internal.actions.GoToSource1">
624
         <action
625
               label="%17"
626
               style="push"
627
               state="true"
628
               icon="icons/full/clcl16/go_to_source.gif"
629
               class="org.eclipse.hyades.sd.logc.internal.actions.GoToSource"
630
               menubarPath="additions"
631
               enablesFor="1"
632
               id="org.eclipse.hyades.sd.logc.internal.actions.GoToSource2">
633
         </action>
634
      </objectContribution>
635
      
636
      <objectContribution
637
            objectClass="org.eclipse.hyades.sd.logc.internal.uml2sd.LogAsyncMessage"
638
            id="org.eclipse.hyades.sd.logc.internal.actions.GoToTarget3">
639
         <action
640
               label="%18"
641
               style="push"
642
               state="true"
643
               icon="icons/full/clcl16/go_to_target.gif"
644
               class="org.eclipse.hyades.sd.logc.internal.actions.GoToTarget"
645
               menubarPath="additions"
646
               enablesFor="1"
647
               id="org.eclipse.hyades.sd.logc.internal.actions.GoToTarget">
648
         </action>
649
      </objectContribution>
650
      <objectContribution
651
            objectClass="org.eclipse.hyades.sd.logc.internal.uml2sd.LogAsyncMessage"
652
            id="org.eclipse.hyades.sd.logc.internal.actions.GoToSource3">
653
         <action
654
               label="%17"
655
               style="push"
656
               state="true"
657
               icon="icons/full/clcl16/go_to_source.gif"
658
               class="org.eclipse.hyades.sd.logc.internal.actions.GoToSource"
659
               menubarPath="additions"
660
               enablesFor="1"
661
               id="org.eclipse.hyades.sd.logc.internal.actions.GoToSource4">
662
         </action>
663
      </objectContribution>
664
      
665
      <objectContribution
666
            objectClass="org.eclipse.hyades.sd.logc.internal.uml2sd.LogGraphNode"
667
            id="org.eclipse.hyades.sd.logc.internal.actions.OpenLogView">
668
         <action
669
               label="%19"
670
               style="push"
671
               icon="icons/full/obj16/log_view.gif"
672
               state="true"
673
               class="org.eclipse.hyades.sd.logc.internal.actions.OpenLogView"
674
               menubarPath="additions"
675
               enablesFor="1"
676
               id="org.eclipse.hyades.sd.logc.internal.actions.OpenLogView">
677
         </action>
678
      </objectContribution>
679
      
680
      <objectContribution
681
            objectClass="org.eclipse.hyades.sd.logc.internal.uml2sd.LogGraphNode"
682
            id="org.eclipse.hyades.sd.logc.internal.actions.OpenPropertiesView1">
683
         <action
684
               label="%11"
685
               style="push"
686
               icon="icons/full/cview16/prop_ps.gif"
687
               state="true"
688
               class="org.eclipse.hyades.sd.logc.internal.actions.OpenPropertiesView"
689
               menubarPath="additions"
690
               enablesFor="1"
691
               id="org.eclipse.hyades.sd.logc.internal.actions.OpenPropertiesView2">
692
         </action>
693
      </objectContribution>
694
     <objectContribution
695
            objectClass="org.eclipse.hyades.sd.logc.internal.uml2sd.LogAsyncMessage"
696
            id="org.eclipse.hyades.sd.logc.internal.actions.OpenPropertiesView3">
697
         <action
698
               label="%11"
699
               style="push"
700
               icon="icons/full/cview16/prop_ps.gif"
701
               state="true"
702
               class="org.eclipse.hyades.sd.logc.internal.actions.OpenPropertiesView"
703
               menubarPath="additions"
704
               enablesFor="1"
705
               id="org.eclipse.hyades.sd.logc.internal.actions.OpenPropertiesView4">
706
         </action>
707
      </objectContribution>
708
      <objectContribution
709
            objectClass="org.eclipse.hyades.models.cbe.CBECommonBaseEvent"
710
            id="org.eclipse.hyades.sd.logc.internal.actions.OpenPropertiesView5">
711
         <action
712
               label="%11"
713
               style="push"
714
               icon="icons/full/cview16/prop_ps.gif"
715
               state="true"
716
               class="org.eclipse.hyades.sd.logc.internal.actions.OpenPropertiesView"
717
               menubarPath="additions"
718
               enablesFor="1"
719
               id="org.eclipse.hyades.sd.logc.internal.actions.OpenPropertiesView6">
720
         </action>
721
      </objectContribution>
722
      <objectContribution
723
            objectClass="org.eclipse.hyades.sd.logc.internal.uml2sd.SourceOutOfPageMessage"
724
            id="org.eclipse.hyades.sd.logc.internal.actions.OpenPropertiesView7">
725
         <action
726
               label="%11"
727
               style="push"
728
               icon="icons/full/cview16/prop_ps.gif"
729
               state="true"
730
               class="org.eclipse.hyades.sd.logc.internal.actions.OpenPropertiesView"
731
               menubarPath="additions"
732
               enablesFor="1"
733
               id="org.eclipse.hyades.sd.logc.internal.actions.OpenPropertiesView8">
734
         </action>
735
      </objectContribution>
736
      <objectContribution
737
            objectClass="org.eclipse.hyades.sd.logc.internal.uml2sd.TargetOutOfPageMessage"
738
            id="org.eclipse.hyades.sd.logc.internal.actions.OpenPropertiesView9">
739
         <action
740
               label="%11"
741
               style="push"
742
               icon="icons/full/cview16/prop_ps.gif"
743
               state="true"
744
               class="org.eclipse.hyades.sd.logc.internal.actions.OpenPropertiesView"
745
               menubarPath="additions"
746
               enablesFor="1"
747
               id="org.eclipse.hyades.sd.logc.internal.actions.OpenPropertiesView10">
748
         </action>
749
      </objectContribution>                
750
                    
751
      <objectContribution
752
            objectClass="org.eclipse.hyades.models.cbe.CBECommonBaseEvent"
753
            id="org.eclipse.hyades.sd.logc.internal.actions.OpenTimeBaseUML2SDViewAction">
754
         <action
755
               label="%8"
756
               class="org.eclipse.hyades.sd.logc.internal.actions.OpenTimeBaseUML2SDViewAction"
757
               menubarPath="open.views"
758
               enablesFor="1"
759
               id="org.eclipse.hyades.sd.logc.internal.actions.OpenTimeBaseUML2SDViewAction">
760
         </action>
761
      </objectContribution>
762
   </extension>
763
<!--===============================================================-->
764
   <extension
765
         point="org.eclipse.ui.preferencePages">
766
      <page
767
            name="%20"
768
            category="org.eclipse.hyades.uml2sd.ui.preferences.SDViewerPage"
769
            class="org.eclipse.hyades.sd.logc.internal.preferences.LogInteractionsPreferencePage"
770
            id="org.eclipse.hyades.sd.ui.preferences.FilterCallPreferencePage">
771
      </page>
772
   </extension>
773
   
774
   	<extension point="org.eclipse.help.contexts">
775
		<contexts file="src-log-views/LogInteractionInfopopContexts.xml" plugin="org.eclipse.tptp.platform.log.views"/>
776
	</extension>
777
	<!-- relative="org.eclipse.ui.console.ConsoleView was removed for defect_143455 -->
778
 	<extension point="org.eclipse.ui.perspectiveExtensions">
779
      <perspectiveExtension 
780
			targetID="org.eclipse.hyades.trace.internal.ui.tracePerspective">
781
      	<view
782
      		   relative = "org.eclipse.hyades.trace.views.adapter.internal.ExecutionStatisticViewer2"
783
               visible="false"
784
               relationship="stack"
785
               id="org.eclipse.hyades.sd.logc.LogInteractionsView">
786
      	</view>
787
      </perspectiveExtension>
788
   	</extension>	     	
789
   
790
    
791
   <extension
792
         point="org.eclipse.ui.popupMenus">
793
      <viewerContribution
794
            id="org.eclipse.tptp.symptom.internal.presentation.view.openLogViewContribution"
795
            targetID="org.eclipse.tptp.symptom.internal.presentation.view.SymptomAnalysisViewer">
796
         <action
797
               class="org.eclipse.tptp.platform.log.views.internal.actions.OpenLogViewActionDelegate"
798
               icon="icons/full/cview16/log_view.gif"
799
               id="org.eclipse.tptp.platform.log.views.openLogViewFromAnalysisResultsViewAction"
800
               label="%3"
801
               style="push"
802
               menubarPath="additions"/>
803
      </viewerContribution>
804
   </extension>
805
   <extension
806
         point="org.eclipse.hyades.analysis.engine.analysisActions">
807
      <action
808
            class="org.eclipse.tptp.platform.log.views.internal.actions.AnalyzeAction"
809
            id="org.eclipse.tptp.platform.log.views.internal.actions.AnalyzeAction"/>
810
      <action
811
            class="org.eclipse.tptp.platform.log.views.internal.actions.ExtendedAnalyzeAction"
812
            id="org.eclipse.tptp.platform.log.views.internal.actions.ExtendedAnalyzeAction"/>
813
            
814
   </extension>	
815
   
816
</plugin>
(-)src-log-views/DatabaseHelpContexts.xml (+12 lines)
Added Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
2
<?NLS type="org.eclipse.help.contexts"?>
3
4
<contexts>
5
6
<context id="lrsp0000">
7
<description>Configure database connection information for large log support enablement.
8
</description>
9
<topic label="Configuring large log support for the Log and Trace Analyzer" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tcfglglog.html" /> 
10
</context>
11
12
</contexts>
(-)src-log-views/logui.xml (+393 lines)
Added Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
2
<?NLS type="org.eclipse.help.contexts"?>
3
4
<contexts>
5
6
<context id="labp0000">
7
<description>Set visual preferences for the Log view.
8
</description>
9
<topic label="Customizing Log view" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tsetpreflgvw.xhtml"/>
10
</context>
11
12
<context id="alpp0010">
13
<description>Set the date format for timestamp log property.</description>
14
<topic label="Customizing Log view" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tsetpreflgvw.xhtml"/>
15
</context>
16
17
<context id="alpp0020">
18
<description>Set the time format for timestamp log property.</description>
19
<topic label="Customizing Log view" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tsetpreflgvw.xhtml"/>
20
</context>
21
22
<context id="alpp0110">
23
<description>List of attributes used to sort data in the Log view.
24
</description>
25
<topic label="Customizing Log view" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tsetpreflgvw.xhtml"/>
26
</context>
27
28
<context id="alpp0210">
29
<description>List of properties to be displayed in the Log view.</description>
30
<topic label="Customizing Log view" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tsetpreflgvw.xhtml"/>
31
</context>
32
33
<context id="sypp0000">
34
<description>List of symptom databases to be used when analyse log records.</description>
35
<topic label="Determining problems in applications" href="../org.eclipse.tptp.platform.log.doc.user/concepts/ceautcom.xhtml"/>
36
</context>
37
38
<context id="sdpp0010">
39
<description>To find information about this item, open the online help to Log and Trace Analyzer. You can browse the table of contents or search for a particular topic.
40
</description>
41
<topic label="Determining problems in applications" href="../org.eclipse.tptp.platform.log.doc.user/concepts/ceautcom.xhtml"/>
42
</context>
43
44
<context id="sdpp0020">
45
<description>To find information about this item, open the online help to Log and Trace Analyzer. You can browse the table of contents or search for a particular topic.
46
</description>
47
<topic label="Determining problems in applications" href="../org.eclipse.tptp.platform.log.doc.user/concepts/ceautcom.xhtml"/>
48
</context>
49
50
<context id="sdpp0120">
51
<description>To find information about this item, open the online help to Log and Trace Analyzer. You can browse the table of contents or search for a particular topic.
52
</description>
53
<topic label="Determining problems in applications" href="../org.eclipse.tptp.platform.log.doc.user/concepts/ceautcom.xhtml"/>
54
</context>
55
56
<context id="sdpp0130">
57
<description>To find information about this item, open the online help to Log and Trace Analyzer. You can browse the table of contents or search for a particular topic.
58
</description>
59
<topic label="Determining problems in applications" href="../org.eclipse.tptp.platform.log.doc.user/concepts/ceautcom.xhtml"/>
60
</context>
61
62
<context id="sdpp0140">
63
<description>To find information about this item, open the online help to Log and Trace Analyzer. You can browse the table of contents or search for a particular topic.
64
</description>
65
<topic label="Determining problems in applications" href="../org.eclipse.tptp.platform.log.doc.user/concepts/ceautcom.xhtml"/>
66
</context>
67
68
<context id="sdpp0150">
69
<description>To find information about this item, open the online help to Log and Trace Analyzer. You can browse the table of contents or search for a particular topic.
70
</description>
71
<topic label="Determining problems in applications" href="../org.eclipse.tptp.platform.log.doc.user/concepts/ceautcom.xhtml"/>
72
</context>
73
74
<context id="lapp0010">
75
<description>To find information about this item, open the online help to Log and Trace Analyzer. You can browse the table of contents or search for a particular topic.
76
</description>
77
<topic label="Determining problems in applications" href="../org.eclipse.tptp.platform.log.doc.user/concepts/ceautcom.xhtml"/>
78
</context>
79
80
<context id="lapp0020">
81
<description>To find information about this item, open the online help to Log and Trace Analyzer. You can browse the table of contents or search for a particular topic.
82
</description>
83
<topic label="Determining problems in applications" href="../org.eclipse.tptp.platform.log.doc.user/concepts/ceautcom.xhtml"/>
84
</context>
85
86
<context id="iwlg0010">
87
<description>Set the list of hosts to be used when profiling a remote application.</description>
88
<topic label="Log and Trace Analyzer" href="../org.eclipse.tptp.platform.log.doc.user/concepts/ceautcom.xhtml"/>
89
</context>
90
91
<context id="algv0010">
92
<description>This view displays the content of the log file.</description>
93
<topic label="Log view" href="../org.eclipse.tptp.platform.log.doc.user/ref/relogvw.htm"/>
94
<topic label="Common Base Event format specification" href="../org.eclipse.tptp.platform.log.doc.user/ref/rcbeadapt.html"/>
95
</context>
96
97
<context id="algv0020">
98
<description>This panel displays log properties. The properties can be filtered and sorted using the view toolbar actions.</description>
99
<topic label="Log view" href="../org.eclipse.tptp.platform.log.doc.user/ref/relogvw.htm"/>
100
<topic label="Common Base Event format specification" href="../org.eclipse.tptp.platform.log.doc.user/ref/rcbeadapt.html"/>
101
</context>
102
103
<context id="algv0030">
104
<description>This panel displays the content for the selected property.</description>
105
<topic label="Log view" href="../org.eclipse.tptp.platform.log.doc.user/ref/relogvw.htm"/>
106
<topic label="Common Base Event format specification" href="../org.eclipse.tptp.platform.log.doc.user/ref/rcbeadapt.html"/>
107
</context>
108
109
<context id="algv0040">
110
<description>This panel displays the analysis result for the selected log record.</description>
111
<topic label="Log view" href="../org.eclipse.tptp.platform.log.doc.user/ref/relogvw.htm"/>
112
<topic label="Common Base Event format specification" href="../org.eclipse.tptp.platform.log.doc.user/ref/rcbeadapt.html"/>
113
</context>
114
115
<context id="algv0110">
116
<description>To find information about this item, open the online help to Log and Trace Analyzer. You can browse the table of contents or search for a particular topic.
117
</description>
118
<topic label="Determining problems in applications" href="../org.eclipse.tptp.platform.log.doc.user/concepts/ceautcom.xhtml"/>
119
</context>
120
121
<context id="algv0120">
122
<description>To find information about this item, open the online help to Log and Trace Analyzer. You can browse the table of contents or search for a particular topic.
123
</description>
124
<topic label="Determining problems in applications" href="../org.eclipse.tptp.platform.log.doc.user/concepts/ceautcom.xhtml"/>
125
</context>
126
127
<context id="algv0130">
128
<description>To find information about this item, open the online help to Log and Trace Analyzer. You can browse the table of contents or search for a particular topic.
129
</description>
130
<topic label="Determining problems in applications" href="../org.eclipse.tptp.platform.log.doc.user/concepts/ceautcom.xhtml"/>
131
</context>
132
133
<context id="algv0140">
134
<description>To find information about this item, open the online help to Log and Trace Analyzer. You can browse the table of contents or search for a particular topic.
135
</description>
136
<topic label="Determining problems in applications" href="../org.eclipse.tptp.platform.log.doc.user/concepts/ceautcom.xhtml"/>
137
</context>
138
139
<context id="algv0150">
140
<description>Choose columns button.
141
</description>
142
<topic label="Common Base Event model" href="../org.eclipse.tptp.platform.log.doc.user/concepts/cecbemdl.htm"/>
143
<topic label="Common Base Event format specification" href="../org.eclipse.tptp.platform.log.doc.user/ref/rcbeadapt.html"/>
144
</context>
145
146
<context id="algv0210">
147
<description>Set the sorting criterion for the log view.
148
</description>
149
<topic label="Common Base Event model" href="../org.eclipse.tptp.platform.log.doc.user/concepts/cecbemdl.htm"/>
150
<topic label="Common Base Event format specification" href="../org.eclipse.tptp.platform.log.doc.user/ref/rcbeadapt.html"/>
151
<topic label="Sorting log records in log view" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tsort.htm"/>
152
</context>
153
154
<context id="algv0310">
155
<description>Set filters for the log view.
156
</description>
157
<topic label="Common Base Event model" href="../org.eclipse.tptp.platform.log.doc.user/concepts/cecbemdl.htm"/>
158
<topic label="Common Base Event format specification" href="../org.eclipse.tptp.platform.log.doc.user/ref/rcbeadapt.html"/>
159
<topic label="Filtering log records in log view" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tefiltfi.htm"/>
160
</context>
161
162
<context id="algv0320">
163
<description>Filters high severity log records.
164
</description>
165
<topic label="Filtering log records in log view" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tefiltfi.htm"/>
166
</context>
167
168
<context id="algv0330">
169
<description>Filters medium severity log records.
170
</description>
171
<topic label="Filtering log records in log view" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tefiltfi.htm"/>
172
</context>
173
174
<context id="algv0340">
175
<description>Filters low severity log records.
176
</description>
177
<topic label="Filtering log records in log view" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tefiltfi.htm"/>
178
</context>
179
180
<context id="pp0000">
181
<description>List of log files which can be imported into the workspace.</description>
182
<topic label="Determining problems in applications" href="../org.eclipse.tptp.platform.log.doc.user/concepts/ceautcom.xhtml"/>
183
</context>
184
185
<context id="tmlo0001">
186
<description>Merge the content of the imported log file with an existing log file.</description>
187
<topic label="Determining problems in applications" href="../org.eclipse.tptp.platform.log.doc.user/concepts/ceautcom.xhtml"/>
188
</context>
189
190
<context id="tmlo0002">
191
<description>The list of log files currently imported into the workspace.</description>
192
<topic label="Determining problems in applications" href="../org.eclipse.tptp.platform.log.doc.user/concepts/ceautcom.xhtml"/>
193
</context>
194
195
<context id="algv0410">
196
<description>Add filter criterion.
197
</description>
198
<topic label="Filtering log records in log view" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tefiltfi.htm"/>
199
</context>
200
201
<context id="algv0420">
202
<description>Edit the selected filter criterion.
203
</description>
204
<topic label="Filtering log records in log view" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tefiltfi.htm"/>
205
</context>
206
207
<context id="algv0430">
208
<description>Remove the selected filter criterion.
209
</description>
210
<topic label="Filtering log records in log view" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tefiltfi.htm"/>
211
</context>
212
213
<context id="algv0440">
214
<description>Move the selected filter criterion up.
215
</description>
216
<topic label="Filtering log records in log view" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tefiltfi.htm"/>
217
</context>
218
219
<context id="algv0450">
220
<description>Move the selected filter criterion down.
221
</description>
222
<topic label="Filtering log records in log view" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tefiltfi.htm"/>
223
</context>
224
225
<context id="algv0460">
226
<description>Search log records based on added criteria.
227
</description>
228
<topic label="Determining problems in applications" href="../org.eclipse.tptp.platform.log.doc.user/concepts/ceautcom.xhtml"/>
229
<topic label="Finding log records in log view" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tesrchlg.htm"/>
230
<topic label="Common Base Event format specification" href="../org.eclipse.tptp.platform.log.doc.user/ref/rcbeadapt.html"/>
231
</context>
232
233
<context id="algv0510">
234
<description>Search log records based on added criteria.
235
</description>
236
<topic label="Common Base Event model" href="../org.eclipse.tptp.platform.log.doc.user/concepts/cecbemdl.htm"/>
237
<topic label="Common Base Event format specification" href="../org.eclipse.tptp.platform.log.doc.user/ref/rcbeadapt.html"/>
238
<topic label="Finding log records in log view" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tesrchlg.htm"/>
239
</context>
240
241
<context id="algv0610">
242
<description>Add search criterion.
243
</description>
244
<topic label="Finding log records in log view" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tesrchlg.htm"/>
245
</context>
246
247
<context id="algv0620">
248
<description>Edit the selected search criterion.
249
</description>
250
<topic label="Finding log records in log view" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tesrchlg.htm"/>
251
</context>
252
253
<context id="algv0630">
254
<description>Remove the selected search criterion.
255
</description>
256
<topic label="Finding log records in log view" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tesrchlg.htm"/>
257
</context>
258
259
<context id="algv0640">
260
<description>Move the selected search criterion up.
261
</description>
262
<topic label="Finding log records in log view" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tesrchlg.htm"/>
263
</context>
264
265
<context id="algv0650">
266
<description>Move the selected search criterion down.
267
</description>
268
<topic label="Finding log records in log view" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tesrchlg.htm"/>
269
</context>
270
271
<context id="algv0660">
272
<description>Search backwards in the log file.
273
</description>
274
<topic label="Finding log records in log view" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tesrchlg.htm"/>
275
</context>
276
277
<context id="algv0670">
278
<description>Search forwards in the log file.
279
</description>
280
<topic label="Finding log records in log view" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tesrchlg.htm"/>
281
</context>
282
283
<context id="lognav0010">
284
<description>The Log Navigator view displays logs, symptom databases and log correlations.
285
</description>
286
<topic label="Log navigator view" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tviewloglayout.xhtml"/>
287
</context>
288
289
<context id="newcorrwizname">
290
<description>Type in the name of the new log correlation.
291
</description>
292
<topic label="Correlating log files" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tecorlog.htm"/>
293
</context>
294
295
<context id="newcorrwizlogs">
296
<description>Select the logs to correlate by using the move left, right arrow keys.
297
</description>
298
<topic label="Correlating log files" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tecorlog.htm"/>
299
</context>
300
301
<context id="importloglocation">
302
<description>Input the log file details.
303
</description>
304
<topic label="Import a log file" href="../org.eclipse.tptp.platform.log.doc.user/tasks/teimplog.xhtml"/>
305
</context>
306
307
<context id="browsebtn">
308
<description>Browse to select a folder.
309
</description>
310
<topic label="Import a log file" href="../org.eclipse.tptp.platform.log.doc.user/tasks/teimplog.xhtml"/>
311
</context>
312
313
314
<context id="parserlist">
315
<description>Select a log type from the current list.
316
</description>
317
<topic label="Import a log file" href="../org.eclipse.tptp.platform.log.doc.user/tasks/teimplog.xhtml"/>
318
</context>
319
320
<context id="pp0010">
321
<description>Add a log file to the current log set.</description>
322
<topic label="Importing logs using log sets" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tewrkset.xhtml"/>
323
</context>
324
325
<context id="pp0020">
326
<description>Edit the properties for the selected log file.</description>
327
<topic label="Importing logs using log sets" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tewrkset.xhtml"/>
328
</context>
329
330
<context id="pp0030">
331
<description>Remove the selected log file from the current log set.</description>
332
<topic label="Importing logs using log sets" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tewrkset.xhtml"/>
333
</context>
334
335
<context id="ls0000">
336
<description>Create a new log set.</description>
337
<topic label="Importing logs using log sets" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tewrkset.xhtml"/>
338
</context>
339
340
<context id="ls0010">
341
<description>Open one of the persisted log sets.</description>
342
<topic label="Importing logs using log sets" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tewrkset.xhtml"/>
343
</context>
344
345
<context id="ls0020">
346
<description>Edit the persisted log sets.</description>
347
<topic label="Importing logs using log sets" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tewrkset.xhtml"/>
348
</context>
349
350
<context id="lgiv0100">
351
<description>Set filters for the log interactions view.</description>
352
<topic label="Common Base Event model" href="../org.eclipse.tptp.platform.log.doc.user/concepts/cecbemdl.htm"/>
353
<topic label="Common Base Event format specification" href="../org.eclipse.tptp.platform.log.doc.user/ref/rcbeadapt.html"/>
354
<topic label="Filtering records in Log Interactions view" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tfilterlogi.htm"/>
355
</context>
356
357
<context id="lgiv0010">
358
<description>Add filter criterion.
359
</description>
360
<topic label="Filtering records in Log Interactions view" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tfilterlogi.htm"/>
361
</context>
362
363
<context id="lgiv0020">
364
<description>Edit the selected filter criterion.
365
</description>
366
<topic label="Filtering records in Log Interactions view" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tfilterlogi.htm"/>
367
</context>
368
369
<context id="lgiv0030">
370
<description>Remove the selected filter criterion.
371
</description>
372
<topic label="Filtering records in Log Interactions view" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tfilterlogi.htm"/>
373
</context>
374
375
<context id="lgiv0040">
376
<description>Move the selected filter criterion up.
377
</description>
378
<topic label="Filtering records in Log Interactions view" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tfilterlogi.htm"/>
379
</context>
380
381
<context id="lgiv0050">
382
<description>Move the selected filter criterion down.
383
</description>
384
<topic label="Filtering records in Log Interactions view" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tfilterlogi.htm"/>
385
</context>
386
387
<context id="corrschema0000">
388
<description>Select the correlation schema that will be used to correlate the logs.
389
</description>
390
<topic label="Correlating log files" href="../org.eclipse.tptp.platform.log.doc.user/tasks/tecorlog.htm"/>
391
</context>
392
393
</contexts>
(-)plugin.properties (+79 lines)
Added Link Here
1
############################################################################### 
2
# Copyright (c) 2005, 2006 IBM Corporation and others. 
3
# All rights reserved. This program and the accompanying materials 
4
# are made available under the terms of the Eclipse Public License v1.0 
5
# which accompanies this distribution, and is available at 
6
# http://www.eclipse.org/legal/epl-v10.html
7
# $Id: plugin.properties,v 1.41 2006/10/04 22:46:22 ewchan Exp $ 
8
# 
9
# Contributors: 
10
# IBM Corporation - initial API and implementation 
11
############################################################################### 
12
13
# NLS_MESSAGEFORMAT_VAR
14
# NLS_ENCODING=UTF-8
15
 
16
# Plugin
17
PLUGIN_NAME             = TPTP LTA Extensions Instances
18
PROVIDER_NAME           = Eclipse.org
19
20
0                                  = Logging views
21
1                              = Log View
22
2                                 = Log View
23
3                             = Open Log View
24
4                     = Log View
25
26
5								= Log
27
6						= Log Filter Type
28
29
7							= Large Resource Support
30
8 = Correlation by Time
31
9              = Collapse log records
32
10                = Expand log records
33
11           = Properties
34
35
12            = Log interactions
36
13            = Log thread interactions
37
14           = UML2 Log Interactions
38
# Filter set labels
39
15                                = Hosts
40
16						= Copy to Clipboard
41
17            = Go to source record
42
18            = Go to target record
43
19           = Open in log view
44
20    = Log interactions
45
21 = XML Log Report
46
22 = Export all log events and associations in XML format
47
23 = CSV Log Report
48
24 = Export all log events and associations in CSV format
49
25 = HTML Log Report
50
26 = Export all log events and associations in HTML format
51
27 = HTML Log Report
52
28 = Export all log events and associations in HTML format
53
# proeprty tab labels
54
29 = Event Details
55
30 = Additional Data Attributes
56
31 = Correlation Data Attributes
57
32 = Situation
58
33 = Message Information
59
34 = Source Component
60
35 = Reporting Component
61
36 = Associated Event
62
37 = Properties
63
38 = Choose Columns
64
39 = Analysis Result
65
40 = Refresh Views
66
67
#############################################################
68
# Ali M.: Newly added messages as part of the RCP
69
# refactoring effort
70
#############################################################
71
LOG_NAV_TTL 					= Log Navigator
72
TRC_LGNW                        = Profiling and Logging
73
NEWCOR_WZ             			= Log Correlation
74
NEWCOR_WZD                      = Creates a new log correlation
75
76
properties.cbe					= Common Base Events
77
78
interaction.action.analyze		= Analyze Selection
79
interaction.action.analyzeAll	= Analyze All
(-).project (+28 lines)
Added Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
2
<projectDescription>
3
	<name>org.eclipse.tptp.platform.lta.extensions.instances</name>
4
	<comment></comment>
5
	<projects>
6
	</projects>
7
	<buildSpec>
8
		<buildCommand>
9
			<name>org.eclipse.jdt.core.javabuilder</name>
10
			<arguments>
11
			</arguments>
12
		</buildCommand>
13
		<buildCommand>
14
			<name>org.eclipse.pde.ManifestBuilder</name>
15
			<arguments>
16
			</arguments>
17
		</buildCommand>
18
		<buildCommand>
19
			<name>org.eclipse.pde.SchemaBuilder</name>
20
			<arguments>
21
			</arguments>
22
		</buildCommand>
23
	</buildSpec>
24
	<natures>
25
		<nature>org.eclipse.pde.PluginNature</nature>
26
		<nature>org.eclipse.jdt.core.javanature</nature>
27
	</natures>
28
</projectDescription>
(-)build.properties (+4 lines)
Added Link Here
1
source.. = src/
2
output.. = bin/
3
bin.includes = META-INF/,\
4
               .
(-)META-INF/MANIFEST.MF (+11 lines)
Added Link Here
1
Manifest-Version: 1.0
2
Bundle-ManifestVersion: 2
3
Bundle-Name: %PLUGIN_NAME
4
Bundle-SymbolicName: org.eclipse.tptp.platform.lta.extensions.instances;singleton:=true
5
Bundle-Version: 4.5.0.qualifier
6
Bundle-Activator: org.eclipse.tptp.platform.lta.extensions.instances.Activator
7
Require-Bundle: org.eclipse.ui,
8
 org.eclipse.core.runtime,
9
 org.eclipse.tptp.platform.log.views;visibility:=reexport
10
Eclipse-LazyStart: true
11
Export-Package: org.eclipse.tptp.platform.lta.extensions.instances
(-).classpath (+8 lines)
Added Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
2
<classpath>
3
	<classpathentry kind="src" path="src"/>
4
	<classpathentry kind="src" path="src-log-views"/>
5
	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
6
	<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
7
	<classpathentry kind="output" path="bin"/>
8
</classpath>
(-)plugin.xml (+2 lines)
Lines 660-664 Link Here
660
      </hyadesResourceExtension>
660
      </hyadesResourceExtension>
661
   </extension>
661
   </extension>
662
    
662
    
663
	 <!-- TPTP extensions -->    
664
	<extension-point id="handler" name="Generic handler support" schema="schema/handler.exsd"/>
663
    
665
    
664
</plugin>
666
</plugin>
(-).classpath (+1 lines)
Lines 14-19 Link Here
14
	<classpathentry kind="src" path="src-trace"/>
14
	<classpathentry kind="src" path="src-trace"/>
15
	<classpathentry kind="src" path="src-fastxpath-common"/>
15
	<classpathentry kind="src" path="src-fastxpath-common"/>
16
	<classpathentry kind="src" path="src-utils"/>
16
	<classpathentry kind="src" path="src-utils"/>
17
	<classpathentry kind="src" path="src-extensions"/>
17
	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
18
	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
18
	<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
19
	<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
19
	<classpathentry kind="output" path="bin"/>
20
	<classpathentry kind="output" path="bin"/>
(-)META-INF/MANIFEST.MF (+2 lines)
Lines 99-104 Link Here
99
 org.eclipse.hyades.models.trace.util,
99
 org.eclipse.hyades.models.trace.util,
100
 org.eclipse.hyades.models.util,
100
 org.eclipse.hyades.models.util,
101
 org.eclipse.hyades.models.util.internal,
101
 org.eclipse.hyades.models.util.internal,
102
 org.eclipse.tptp.platform.extensions,
103
 org.eclipse.tptp.platform.extensions.impl,
102
 org.eclipse.tptp.platform.models.internal.traceEvents,
104
 org.eclipse.tptp.platform.models.internal.traceEvents,
103
 org.eclipse.tptp.platform.models.internal.traceEvents.impl,
105
 org.eclipse.tptp.platform.models.internal.traceEvents.impl,
104
 org.eclipse.tptp.platform.models.internal.traceEvents.util,
106
 org.eclipse.tptp.platform.models.internal.traceEvents.util,
(-)src-extensions/org/eclipse/tptp/platform/extensions/IApplicationManager.java (+41 lines)
Added Link Here
1
/**********************************************************************
2
 * Copyright (c) 2007 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 *
8
 * Contributors:
9
 * IBM - Initial API and implementation
10
 *
11
 * $Id$
12
 **********************************************************************/
13
package org.eclipse.tptp.platform.extensions;
14
15
import java.util.List;
16
17
import org.eclipse.tptp.platform.extensions.impl.LTAApplicationManager;
18
19
/**
20
 * 
21
 * @author slavescu
22
 *
23
 */
24
public interface IApplicationManager {
25
	public static final IApplicationManager INSTANCE = new LTAApplicationManager();
26
	/**
27
	 * 
28
	 * @param handlerId has this form "application/id", where application and id are handler properties
29
	 */
30
	public IHandlerElement getDefaultHandlerElement(String handlerId);
31
	public Object createDefaultHandlerInstance(String handlerId);
32
	public Object createHandlerInstance(IHandlerElement handlerElement);
33
	/**
34
	 * 
35
	 * @param templateQuery if null will return all handler elements
36
	 * @param defaultsOnly
37
	 */
38
	public List findHandlerElements(IHandlerElement templateQuery, boolean defaultsOnly);
39
	public void addListener(IApplicationManagerListener listener, int targetEventType);
40
	public void removeListener(IApplicationManagerListener listener, int targetEventType);
41
}
(-)src-extensions/org/eclipse/tptp/platform/extensions/impl/LTAApplicationManager.java (+82 lines)
Added Link Here
1
/**********************************************************************
2
 * Copyright (c) 2007 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 *
8
 * Contributors:
9
 * IBM - Initial API and implementation
10
 *
11
 * $Id$
12
 **********************************************************************/
13
package org.eclipse.tptp.platform.extensions.impl;
14
15
import java.util.List;
16
17
import org.eclipse.core.runtime.CoreException;
18
import org.eclipse.core.runtime.IConfigurationElement;
19
import org.eclipse.core.runtime.IExtensionRegistry;
20
import org.eclipse.core.runtime.InvalidRegistryObjectException;
21
import org.eclipse.core.runtime.Platform;
22
import org.eclipse.tptp.platform.extensions.IApplicationManager;
23
import org.eclipse.tptp.platform.extensions.IApplicationManagerListener;
24
import org.eclipse.tptp.platform.extensions.IHandlerElement;
25
26
/**
27
 * 
28
 * @author slavescu
29
 *
30
 */
31
public class LTAApplicationManager implements IApplicationManager{
32
33
	public void addListener(IApplicationManagerListener listener,
34
			int targetEventType) {
35
		// TODO Auto-generated method stub
36
		
37
	}
38
39
	public Object createDefaultHandlerInstance(String handlerId) {
40
		//TODO MS: remove after testing
41
		if(handlerId.equals("TPTP/LogViewer"))
42
		{
43
			IConfigurationElement[] elements = Platform.getExtensionRegistry().getConfigurationElementsFor("org.eclipse.tptp.platform.models.handler");
44
			for (int i = 0; i < elements.length; i++) {
45
				if(elements[i].getAttribute("application").equals("TPTP") && elements[i].getAttribute("id").equals("LogViewer"))
46
					try {
47
						return elements[i].createExecutableExtension("class");
48
					} catch (InvalidRegistryObjectException e) {
49
						// TODO Auto-generated catch block
50
						e.printStackTrace();
51
					} catch (CoreException e) {
52
						// TODO Auto-generated catch block
53
						e.printStackTrace();
54
					}
55
			}
56
		}
57
		return null;
58
	}
59
60
	public Object createHandlerInstance(IHandlerElement handlerElement) {
61
		// TODO Auto-generated method stub
62
		return null;
63
	}
64
65
	public List findHandlerElements(IHandlerElement templateQuery,
66
			boolean defaultsOnly) {
67
		// TODO Auto-generated method stub
68
		return null;
69
	}
70
71
	public IHandlerElement getDefaultHandlerElement(String handlerId) {
72
		// TODO Auto-generated method stub
73
		return null;
74
	}
75
76
	public void removeListener(IApplicationManagerListener listener,
77
			int targetEventType) {
78
		// TODO Auto-generated method stub
79
		
80
	}
81
82
}
(-)src-extensions/org/eclipse/tptp/platform/extensions/IApplicationManagerListener.java (+17 lines)
Added Link Here
1
/**********************************************************************
2
 * Copyright (c) 2007 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 *
8
 * Contributors:
9
 * IBM - Initial API and implementation
10
 *
11
 * $Id$
12
 **********************************************************************/
13
package org.eclipse.tptp.platform.extensions;
14
15
public interface IApplicationManagerListener {
16
	public void handleEvent(int eventType,Object value);
17
}
(-)schema/handler.exsd (+238 lines)
Added Link Here
1
<?xml version='1.0' encoding='UTF-8'?>
2
<!-- Schema file written by PDE -->
3
<schema targetNamespace="org.eclipse.tptp.platform.models">
4
<annotation>
5
      <appInfo>
6
         <meta.schema plugin="org.eclipse.tptp.platform.models" id="sdbLoader" name="Symptom Database Loader"/>
7
      </appInfo>
8
      <documentation>
9
         This extension point is used to register a generic handler extensions which is used to define and compose flexible and extensible behavior.
10
      </documentation>
11
   </annotation>
12
13
   <element name="extension">
14
      <complexType>
15
         <sequence>
16
            <element ref="handler" minOccurs="1" maxOccurs="unbounded"/>
17
         </sequence>
18
         <attribute name="point" type="string" use="required">
19
            <annotation>
20
               <documentation>
21
                  a fully qualified identifier of the target extension point
22
               </documentation>
23
            </annotation>
24
         </attribute>
25
         <attribute name="name" type="string">
26
            <annotation>
27
               <documentation>
28
                  an optional name of the extension instance
29
               </documentation>
30
            </annotation>
31
         </attribute>
32
         <attribute name="id" type="string">
33
            <annotation>
34
               <documentation>
35
                  an optional identifier of the extension instance
36
               </documentation>
37
            </annotation>
38
         </attribute>
39
      </complexType>
40
   </element>
41
42
   <element name="handler">
43
      <annotation>
44
         <documentation>
45
            A handler defines a specific behavior. It can also implement another extension point (see targetExtension).
46
         </documentation>
47
      </annotation>
48
      <complexType>
49
         <sequence minOccurs="1" maxOccurs="unbounded">
50
            <element ref="parameter"/>
51
         </sequence>
52
         <attribute name="id" type="string" use="required">
53
            <annotation>
54
               <documentation>
55
                  A unique name that will be used to identify this extension
56
               </documentation>
57
            </annotation>
58
         </attribute>
59
         <attribute name="name" type="string">
60
            <annotation>
61
               <documentation>
62
                  a translatable name that will be used for this extension
63
               </documentation>
64
            </annotation>
65
         </attribute>
66
         <attribute name="application" type="string">
67
            <annotation>
68
               <documentation>
69
                  Specifies the application that defines this handler. The application can be used in references and also to specify the order in which the handlers are selected through application priority option in the plugins configuration file.
70
An application could be composed by one or more services/components
71
               </documentation>
72
            </annotation>
73
         </attribute>
74
         <attribute name="type" type="string">
75
            <annotation>
76
               <documentation>
77
                  Specifies the interface that this handler is implementing.
78
               </documentation>
79
               <appInfo>
80
                  <meta.attribute kind="java"/>
81
               </appInfo>
82
            </annotation>
83
         </attribute>
84
         <attribute name="class" type="string" use="required">
85
            <annotation>
86
               <documentation>
87
                  A name of the class that implements the interface defined by type attribute.
88
               </documentation>
89
               <appInfo>
90
                  <meta.attribute kind="java"/>
91
               </appInfo>
92
            </annotation>
93
         </attribute>
94
         <attribute name="targetExtension" type="string">
95
            <annotation>
96
               <documentation>
97
                  The extension point ID that this handler implements, were applicable.
98
               </documentation>
99
            </annotation>
100
         </attribute>
101
         <attribute name="priority" type="string">
102
            <annotation>
103
               <documentation>
104
                  Specifies the priority of this handler, if two or more handlers are defined for the same type and target extension the priority will be used to select the implementation.
105
Product order has higher priority when specified in the plugin configuration file.
106
               </documentation>
107
            </annotation>
108
         </attribute>
109
         <attribute name="parentId" type="string">
110
            <annotation>
111
               <documentation>
112
                  Specifies the parent handler.
113
               </documentation>
114
            </annotation>
115
         </attribute>
116
         <attribute name="modifier" type="string">
117
            <annotation>
118
               <documentation>
119
                  Specifies how this handler affects the target handler
120
               </documentation>
121
            </annotation>
122
         </attribute>
123
         <attribute name="targetHandler" type="string">
124
            <annotation>
125
               <documentation>
126
                  Specifies the target handler for the modifier operation.
127
               </documentation>
128
            </annotation>
129
         </attribute>
130
      </complexType>
131
   </element>
132
133
   <element name="parameter">
134
      <annotation>
135
         <documentation>
136
            A parameter for the handler, the handler will be able to request the parameters from the application manager (the class that mantains the handlers compositions and interactions).
137
         </documentation>
138
      </annotation>
139
      <complexType>
140
         <attribute name="name" type="string">
141
            <annotation>
142
               <documentation>
143
                  
144
               </documentation>
145
            </annotation>
146
         </attribute>
147
         <attribute name="value" type="string">
148
            <annotation>
149
               <documentation>
150
                  
151
               </documentation>
152
            </annotation>
153
         </attribute>
154
      </complexType>
155
   </element>
156
157
   <annotation>
158
      <appInfo>
159
         <meta.section type="since"/>
160
      </appInfo>
161
      <documentation>
162
         4.5.0
163
      </documentation>
164
   </annotation>
165
166
   <annotation>
167
      <appInfo>
168
         <meta.section type="examples"/>
169
      </appInfo>
170
      <documentation>
171
         &lt;pre&gt;
172
   &lt;extension
173
         point=&quot;org.eclipse.tptp.platform.models.handler&quot;&gt;
174
      &lt;handler id=&quot;LogNavigatorView&quot; application=&quot;TPTP&quot; type=&quot;org.eclipse.ui.IViewPart&quot; 
175
            class=&quot;org.eclipse.tptp.platform.log.views.internal.navigator.LogNavigator&quot;
176
            targetExtension=&quot;org.eclipse.hyades.log.ui.internal.navigator.LogNavigator&quot;
177
            priority=&quot;1&quot;&gt;
178
      &lt;/handler&gt;
179
      &lt;handler id=&quot;LogViewer&quot; application=&quot;TPTP&quot; type=&quot;org.eclipse.ui.IViewPart&quot;
180
            class=&quot;org.eclipse.tptp.platform.log.views.internal.views.LogViewer&quot;
181
            targetExtension=&quot;org.eclipse.tptp.platform.log.views.internal.views.LogViewer.LogViewerDelegate&quot;
182
            priority=&quot;1&quot;&gt;
183
      &lt;/handler&gt;
184
      &lt;handler id=&quot;LogSDView&quot; application=&quot;TPTP&quot; type=&quot;org.eclipse.ui.IViewPart&quot; 
185
            class=&quot;org.eclipse.hyades.sd.logc.internal.loader.LogSDView&quot;
186
            targetExtension=&quot;org.eclipse.hyades.sd.logc.LogInteractionsView&quot;
187
            priority=&quot;1&quot;&gt;
188
      &lt;/handler&gt;
189
      
190
      &lt;handler id=&quot;OpenLogViewActionDelegate&quot; application=&quot;TPTP&quot; type=&quot;org.eclipse.ui.IViewActionDelegate&quot; 
191
            class=&quot;org.eclipse.tptp.platform.log.views.internal.actions.OpenLogViewActionDelegate&quot;
192
            targetExtension=&quot;org.eclipse.tptp.platform.log.views.openLogViewFromAnalysisResultsViewAction&quot;
193
            priority=&quot;1&quot;&gt;
194
      &lt;/handler&gt;
195
      
196
   &lt;/extension&gt; 
197
&lt;/pre&gt;
198
      </documentation>
199
   </annotation>
200
201
   <annotation>
202
      <appInfo>
203
         <meta.section type="apiInfo"/>
204
      </appInfo>
205
      <documentation>
206
         
207
      </documentation>
208
   </annotation>
209
210
   <annotation>
211
      <appInfo>
212
         <meta.section type="implementation"/>
213
      </appInfo>
214
      <documentation>
215
         
216
      </documentation>
217
   </annotation>
218
219
   <annotation>
220
      <appInfo>
221
         <meta.section type="copyright"/>
222
      </appInfo>
223
      <documentation>
224
         /**********************************************************************
225
 * Copyright (c) 2007 IBM Corporation and others.
226
 * All rights reserved.   This program and the accompanying materials
227
 * are made available under the terms of the Eclipse Public License v1.0
228
 * which accompanies this distribution, and is available at
229
 * http://www.eclipse.org/legal/epl-v10.html
230
 * $Id$
231
 * 
232
 * Contributors: 
233
  * IBM - Initial API and implementation
234
 **********************************************************************/
235
      </documentation>
236
   </annotation>
237
238
</schema>
(-)src-extensions/org/eclipse/tptp/platform/extensions/IHandlerElement.java (+70 lines)
Added Link Here
1
/**********************************************************************
2
 * Copyright (c) 2007 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 *
8
 * Contributors:
9
 * IBM - Initial API and implementation
10
 *
11
 * $Id$
12
 **********************************************************************/
13
package org.eclipse.tptp.platform.extensions;
14
15
/**
16
 * 
17
 * @author slavescu
18
 *
19
 */
20
public interface IHandlerElement {
21
22
	public String getId();
23
24
	//public void setId(String id);
25
26
	public String getOwner();
27
28
	//public void setOwner(String ownerId);
29
30
	public String getName();
31
32
	//public void setName(String name);
33
34
	public String getApplication();
35
36
	//public void setApplication(String application);
37
38
	public String getType();
39
40
	//public void setType(String type);
41
42
	public String getClassName();
43
44
	//public void setClassName(String className);
45
46
	public String getTargetExtension();
47
48
	//public void setTargetExtension(String targetExtension);
49
50
	public String getPriority();
51
52
	//public void setPriority(String priority);
53
54
	public IHandlerElement getParentHandler();
55
56
	//public void setParentHandler(IHandlerElement parentHandler);
57
58
	public String getParentId();
59
60
	//public void setParentId(String parentId);
61
62
	public String getModifier();
63
64
	//public void setModifier(String modifier);
65
66
	public String getTargetHandler();
67
68
	//public void setTargetHandler(String targetHandler);
69
70
}
(-)src-extensions/example.xml (+4 lines)
Added Link Here
1
<plugin>
2
 <!-- TPTP extensions -->    
3
<extension-point id="handler" name="Generic handler support" schema="schema/handler.exsd"/>
4
</plugin>
(-)src-extensions/org/eclipse/tptp/platform/extensions/impl/HandlerElementImpl.java (+151 lines)
Added Link Here
1
/**********************************************************************
2
 * Copyright (c) 2007 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 *
8
 * Contributors:
9
 * IBM - Initial API and implementation
10
 *
11
 * $Id$
12
 **********************************************************************/
13
package org.eclipse.tptp.platform.extensions.impl;
14
15
import org.eclipse.tptp.platform.extensions.IHandlerElement;
16
17
/**
18
 * 
19
 * @author slavescu
20
 *
21
 */
22
public class HandlerElementImpl implements IHandlerElement{
23
	protected String id;
24
	protected String owner;
25
	protected String name;
26
	protected String application;
27
	protected String type;
28
	protected String className;
29
	protected String targetExtension;
30
	protected String priority;
31
	protected IHandlerElement parentHandler;
32
	protected String parentId;
33
	protected String modifier;
34
	protected String targetHandler;
35
	
36
	
37
	/* (non-Javadoc)
38
	 * @see org.eclipse.tptp.platform.extensions.impl.IHandler#getId()
39
	 */
40
	public String getId() {
41
		return id;
42
	}
43
	/* (non-Javadoc)
44
	 * @see org.eclipse.tptp.platform.extensions.impl.IHandler#setId(java.lang.String)
45
	 */
46
	public void setId(String id) {
47
		this.id = id;
48
	}
49
	/* (non-Javadoc)
50
	 * @see org.eclipse.tptp.platform.extensions.impl.IHandler#getName()
51
	 */
52
	public String getName() {
53
		return name;
54
	}
55
	/* (non-Javadoc)
56
	 * @see org.eclipse.tptp.platform.extensions.impl.IHandler#setName(java.lang.String)
57
	 */
58
	public void setName(String name) {
59
		this.name = name;
60
	}
61
	/* (non-Javadoc)
62
	 * @see org.eclipse.tptp.platform.extensions.impl.IHandler#getApplication()
63
	 */
64
	public String getApplication() {
65
		return application;
66
	}
67
	/* (non-Javadoc)
68
	 * @see org.eclipse.tptp.platform.extensions.impl.IHandler#setApplication(java.lang.String)
69
	 */
70
	public void setApplication(String application) {
71
		this.application = application;
72
	}
73
	/* (non-Javadoc)
74
	 * @see org.eclipse.tptp.platform.extensions.impl.IHandler#getType()
75
	 */
76
	public String getType() {
77
		return type;
78
	}
79
	/* (non-Javadoc)
80
	 * @see org.eclipse.tptp.platform.extensions.impl.IHandler#setType(java.lang.String)
81
	 */
82
	public void setType(String type) {
83
		this.type = type;
84
	}
85
	/* (non-Javadoc)
86
	 * @see org.eclipse.tptp.platform.extensions.impl.IHandler#getClassName()
87
	 */
88
	public String getClassName() {
89
		return className;
90
	}
91
	/* (non-Javadoc)
92
	 * @see org.eclipse.tptp.platform.extensions.impl.IHandler#setClassName(java.lang.String)
93
	 */
94
	public void setClassName(String className) {
95
		this.className = className;
96
	}
97
	/* (non-Javadoc)
98
	 * @see org.eclipse.tptp.platform.extensions.impl.IHandler#getTargetExtension()
99
	 */
100
	public String getTargetExtension() {
101
		return targetExtension;
102
	}
103
	/* (non-Javadoc)
104
	 * @see org.eclipse.tptp.platform.extensions.impl.IHandler#setTargetExtension(java.lang.String)
105
	 */
106
	public void setTargetExtension(String targetExtension) {
107
		this.targetExtension = targetExtension;
108
	}
109
	/* (non-Javadoc)
110
	 * @see org.eclipse.tptp.platform.extensions.impl.IHandler#getPriority()
111
	 */
112
	public String getPriority() {
113
		return priority;
114
	}
115
	/* (non-Javadoc)
116
	 * @see org.eclipse.tptp.platform.extensions.impl.IHandler#setPriority(java.lang.String)
117
	 */
118
	public void setPriority(String priority) {
119
		this.priority = priority;
120
	}
121
	public IHandlerElement getParentHandler() {
122
		return parentHandler;
123
	}
124
	public void setParentHandler(IHandlerElement parentHandler) {
125
		this.parentHandler = parentHandler;
126
	}
127
	public String getParentId() {
128
		return parentId;
129
	}
130
	public void setParentId(String parentId) {
131
		this.parentId = parentId;
132
	}
133
	public String getModifier() {
134
		return modifier;
135
	}
136
	public void setModifier(String modifier) {
137
		this.modifier = modifier;
138
	}
139
	public String getTargetHandler() {
140
		return targetHandler;
141
	}
142
	public void setTargetHandler(String targetHandler) {
143
		this.targetHandler = targetHandler;
144
	}
145
	public String getOwner() {
146
		return owner;
147
	}
148
	public void setOwner(String owner) {
149
		this.owner = owner;
150
	}
151
}

Return to bug 200139