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

(-)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 (+189 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 Symptom Database loader extensions which is used by org.eclipse.hyades.trace.sample LogAnalyzerSample.
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
      <complexType>
44
         <attribute name="id" type="string" use="required">
45
            <annotation>
46
               <documentation>
47
                  A unique name that will be used to identify this extension
48
               </documentation>
49
            </annotation>
50
         </attribute>
51
         <attribute name="name" type="string">
52
            <annotation>
53
               <documentation>
54
                  a translatable name that will be used for this extension
55
               </documentation>
56
            </annotation>
57
         </attribute>
58
         <attribute name="application" type="string">
59
            <annotation>
60
               <documentation>
61
                  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.
62
An application could be composed by one or more services/components
63
               </documentation>
64
            </annotation>
65
         </attribute>
66
         <attribute name="type" type="string">
67
            <annotation>
68
               <documentation>
69
                  Specifies the interface that this handler is implementing.
70
               </documentation>
71
               <appInfo>
72
                  <meta.attribute kind="java"/>
73
               </appInfo>
74
            </annotation>
75
         </attribute>
76
         <attribute name="class" type="string" use="required">
77
            <annotation>
78
               <documentation>
79
                  A name of the class that implements the interface defined by type attribute.
80
               </documentation>
81
               <appInfo>
82
                  <meta.attribute kind="java"/>
83
               </appInfo>
84
            </annotation>
85
         </attribute>
86
         <attribute name="targetExtension" type="string">
87
            <annotation>
88
               <documentation>
89
                  The extension point ID that this handler implements, were applicable.
90
91
               </documentation>
92
            </annotation>
93
         </attribute>
94
         <attribute name="priority" type="string">
95
            <annotation>
96
               <documentation>
97
                  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.
98
Product order has higher priority when specified in the plugin configuration file.
99
               </documentation>
100
            </annotation>
101
         </attribute>
102
         <attribute name="parentId" type="string">
103
            <annotation>
104
               <documentation>
105
                  Specifies the parent handler.
106
               </documentation>
107
            </annotation>
108
         </attribute>
109
         <attribute name="modifier" type="string">
110
            <annotation>
111
               <documentation>
112
                  Specifies how this handler affects the target handler
113
               </documentation>
114
            </annotation>
115
         </attribute>
116
         <attribute name="targetHandler" type="string">
117
            <annotation>
118
               <documentation>
119
                  Specifies the target handler for the modifier operation.
120
               </documentation>
121
            </annotation>
122
         </attribute>
123
      </complexType>
124
   </element>
125
126
   <annotation>
127
      <appInfo>
128
         <meta.section type="since"/>
129
      </appInfo>
130
      <documentation>
131
         3.2.0
132
      </documentation>
133
   </annotation>
134
135
   <annotation>
136
      <appInfo>
137
         <meta.section type="examples"/>
138
      </appInfo>
139
      <documentation>
140
         &lt;pre&gt;
141
 &lt;extension point=&quot;org.eclipse.hyades.models.hierarchy.sdbLoader&quot;&gt;
142
  &lt;loader
143
   name=&quot;Hyades Symptom DB Loader&quot;
144
            class=&quot;org.eclipse.hyades.models.internal.sdb.loader.SDBLoader&quot;
145
            id=&quot;org.eclipse.hyades.models.internal.sdb.loader.SDBLoader&quot;&gt;
146
  &lt;/loader&gt;
147
 &lt;/extension&gt;   
148
&lt;/pre&gt;
149
      </documentation>
150
   </annotation>
151
152
   <annotation>
153
      <appInfo>
154
         <meta.section type="apiInfo"/>
155
      </appInfo>
156
      <documentation>
157
         All Hyades Symptom Database Loader extension classes are instances of &lt;samp&gt;org.eclipse.hyades.models.hierarchy.util.ISDBLoader&lt;/samp&gt;.
158
      </documentation>
159
   </annotation>
160
161
   <annotation>
162
      <appInfo>
163
         <meta.section type="implementation"/>
164
      </appInfo>
165
      <documentation>
166
         The Hyades framework itself has a pre-defined Symptom DB loader extension. Particular product installs may include additional log analyzer extensions as required. Only the first instance detected is loaded to be used. This extension point is intended for internal use for the LogAnalyzer Sample only.
167
      </documentation>
168
   </annotation>
169
170
   <annotation>
171
      <appInfo>
172
         <meta.section type="copyright"/>
173
      </appInfo>
174
      <documentation>
175
         /**********************************************************************
176
 * Copyright (c) 2007 IBM Corporation and others.
177
 * All rights reserved.   This program and the accompanying materials
178
 * are made available under the terms of the Eclipse Public License v1.0
179
 * which accompanies this distribution, and is available at
180
 * http://www.eclipse.org/legal/epl-v10.html
181
 * $Id$
182
 * 
183
 * Contributors: 
184
  * IBM - Initial API and implementation
185
 **********************************************************************/
186
      </documentation>
187
   </annotation>
188
189
</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
}
(-)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>
(-)plugin.xml (+805 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
	<!-- View actions -->
67
	<extension point="org.eclipse.ui.viewActions">
68
		
69
		<!-- Contributions to the log navigator toolbar -->
70
		<viewContribution
71
			targetID="org.eclipse.hyades.log.ui.internal.navigator.LogNavigator"
72
            id="org.eclipse.hyades.log.ui.internal.logview.toolbar">
73
			<action
74
				id="org.eclipse.hyades.log.ui.internal.logview.toolbar.refreshViews"
75
				toolbarPath="refreshGroup"
76
				hoverIcon="icons/full/clcl16/updateviews_co.gif"
77
   				class="org.eclipse.hyades.trace.ui.internal.actions.RefreshViewsActionDelegate"
78
				disabledIcon="icons/full/dlcl16/updateviews_co.gif"
79
				icon="icons/full/elcl16/updateviews_co.gif"
80
				helpContextId="refresh_views_action_context"
81
				label="%40"
82
				tooltip="%40">
83
			</action>
84
		</viewContribution>
85
86
		
87
		<!-- Contributions to the log viewer -->
88
		<viewContribution
89
			id="org.eclipse.tptp.platform.log.views.tabbedPropertiesViewContribution"
90
            targetID="org.eclipse.tptp.platform.log.views.internal.views.LogViewer">
91
			<action
92
				class="org.eclipse.tptp.platform.log.views.internal.actions.OpenPropertyViewAction"
93
				icon="icons/full/cview16/prop_ps.gif"
94
				id="org.eclipse.tptp.platform.log.views.action1"
95
				label="%37"
96
				style="push"
97
				toolbarPath="additions"/>
98
      	</viewContribution>
99
	</extension>	
100
101
	<!-- Perspective extensions -->
102
	<extension point="org.eclipse.ui.perspectiveExtensions">
103
	
104
		<!-- The extension for the Profiling & Logging perspective -->
105
		<perspectiveExtension
106
			targetID="org.eclipse.hyades.trace.internal.ui.tracePerspective">
107
			
108
			<!-- The extensions for the log navigator -->
109
			<view
110
				relative="org.eclipse.hyades.trace.internal.ui.PDProjectExplorer"
111
				visible="true"
112
				relationship="stack"
113
				id="org.eclipse.hyades.log.ui.internal.navigator.LogNavigator">
114
			</view>
115
         	<viewShortcut id="org.eclipse.hyades.log.ui.internal.navigator.LogNavigator"/>
116
			
117
			<!-- The extensions for the log viewer -->
118
			<!-- relative="org.eclipse.ui.console.ConsoleView was removed for defect_143455 -->
119
			 <!-- now the views which used to use the console view as a relative use the ExecStats-->
120
			<actionSet id="org.eclipse.tptp.platform.log.views.internal.logViewActionSet"/>
121
			<view
122
				relative ="org.eclipse.hyades.trace.views.adapter.internal.ExecutionStatisticViewer2"
123
				visible="false"
124
				relationship="stack"
125
				id="org.eclipse.tptp.platform.log.views.internal.views.LogViewer">
126
         	</view>       
127
         	<viewShortcut id="org.eclipse.tptp.platform.log.views.internal.views.LogViewer"/>
128
         	
129
         </perspectiveExtension>
130
	</extension>
131
	
132
	
133
	<!-- Associate the log agent with its corresponding views -->
134
	<extension point="org.eclipse.tptp.platform.common.ui.analyzerExtensions">
135
	
136
		<!-- The log view -->
137
		<analyzerExtension
138
            name="%1"
139
            type="Logging"
140
            icon="icons/full/cview16/log_view.gif"
141
            isDefault="true"
142
            class="org.eclipse.tptp.platform.log.views.internal.actions.OpenLogViewAction"
143
            id="org.eclipse.tptp.platform.log.views.internal.actions.OpenLogViewAction"
144
            extension="trace">
145
		</analyzerExtension>
146
		
147
		<!-- The log interaction view -->
148
		<analyzerExtension
149
            name="%12" 
150
            type="Logging"
151
            icon="icons/full/obj16/sequencediagram_obj.gif"
152
            class="org.eclipse.hyades.sd.logc.internal.actions.OpenLogViewAction"
153
            id="org.eclipse.hyades.sd.logc.internal.actions.ROpenLogViewAction"
154
            extension="trace">
155
		</analyzerExtension>
156
		
157
		<!-- The log thread interaction view -->
158
		<analyzerExtension
159
            name="%13"
160
            type="Logging"
161
            icon="icons/full/obj16/sequencediagram_obj.gif"
162
            class="org.eclipse.hyades.sd.logc.internal.actions.OpenLogViewAction"
163
            id="org.eclipse.hyades.sd.logc.internal.actions.TOpenLogViewAction"
164
            extension="trace">
165
		</analyzerExtension>
166
  
167
   	</extension>
168
   
169
    
170
	<!-- Contribute the UML views -->
171
	<extension
172
		point="org.eclipse.tptp.platform.common.ui.uml2SDLoader">
173
		<uml2SDLoader
174
			name="%12"
175
            class="org.eclipse.hyades.sd.logc.internal.loader.LogInteractions"
176
            id="org.eclipse.hyades.sd.logc.internal.loader.LogInteractions"
177
            view="org.eclipse.hyades.sd.logc.LogInteractionsView"
178
            default="true">
179
		</uml2SDLoader>
180
		<uml2SDLoader
181
            name="%13"
182
            class="org.eclipse.hyades.sd.logc.internal.loader.LogThreadInteractions"
183
            id="org.eclipse.hyades.sd.logc.internal.loader.LogthreadInteractions"
184
            view="org.eclipse.hyades.sd.logc.LogInteractionsView">
185
		</uml2SDLoader>
186
	</extension>   
187
	
188
	
189
	<!-- Define filters for the log view -->
190
	<extension point="org.eclipse.tptp.platform.common.ui.filterTypes">
191
		<filterType
192
			id="org.eclipse.tptp.platform.log.views.LogFilterType"
193
			name="%5"
194
			icon="icons/full/obj16/log_agent_filter_obj.gif"
195
			description="%6"
196
			standardTabUI="org.eclipse.tptp.platform.log.views.internal.views.LogFiltersStandardUI"
197
			advancedAttributes="org.eclipse.tptp.platform.log.views.internal.views.LogAdvancedTabAttributeSet">
198
			<appliesTo
199
				filterScope="LoggingAgentScope">
200
			</appliesTo>
201
		</filterType>         
202
	</extension>  
203
	
204
	<extension point="org.eclipse.tptp.platform.common.ui.filterTypes">
205
		<filterType
206
			id="org.eclipse.tptp.platform.log.views.LogInteractionsFilterType"
207
			name="%5"
208
			icon="icons/full/obj16/log_agent_filter_obj.gif"
209
			description="%6"
210
			standardTabUI="org.eclipse.tptp.platform.log.views.internal.views.LogFiltersStandardUI"
211
			advancedAttributes="org.eclipse.tptp.platform.log.views.internal.views.LogAdvancedTabAttributeSet">
212
			<appliesTo
213
				filterScope="LogInteractionsScope">
214
			</appliesTo>
215
		</filterType>         
216
	</extension>  
217
	
218
	<!-- Contribute report generators to the log view -->
219
	<extension point="org.eclipse.tptp.platform.common.ui.reportGenerators">
220
	
221
		<!-- XML log report generator -->
222
		<wizard
223
			icon="icons/full/cview16/log_view.gif"
224
            class="org.eclipse.tptp.platform.log.views.internal.reports.ReportXMLLogWizard"
225
            description="%22"
226
            name="%21"
227
            id="org.eclipse.tptp.platform.log.views.internal.reports.ReportXMLLogWizard"/>
228
            
229
  		<!-- HTML log report generator -->
230
		<wizard
231
            icon="icons/full/cview16/log_view.gif"
232
            class="org.eclipse.tptp.platform.log.views.internal.reports.ReportHTMLLogWizard"
233
            description="%26"
234
            name="%25"
235
            id="org.eclipse.tptp.platform.log.views.internal.reports.ReportHTMLLogWizard"/>
236
            
237
		<!-- CSV log report generator -->        
238
 		<wizard
239
            icon="icons/full/cview16/log_view.gif"
240
            class="org.eclipse.tptp.platform.log.views.internal.reports.CSVReportLogWizard"
241
            description="%24"
242
            name="%23"
243
            id="org.eclipse.tptp.platform.log.views.internal.reports.CSVReportLogWizard"/>
244
245
  		<!-- HTML log report generator --> 
246
		<wizard
247
            icon="icons/full/cview16/log_view.gif"
248
            class="org.eclipse.tptp.platform.log.views.internal.reports.HTMLReportLogFileWizard"
249
            description="%28"
250
            name="%27"
251
            id="org.eclipse.tptp.platform.log.views.internal.reports.HTMLReportLogFileWizard"/>
252
 
253
	</extension>
254
	
255
	
256
	<!-- Identify a tabbed property contributor -->
257
	<extension point="org.eclipse.ui.views.properties.tabbed.propertyContributor">
258
		<propertyContributor contributorId="org.eclipse.tptp.platform.log.views.internal.views.LogViewer">
259
			<propertyCategory category="tabs"/>
260
		</propertyContributor>
261
	</extension>
262
	
263
	<!-- Contribute the property tabs -->
264
	<extension point="org.eclipse.ui.views.properties.tabbed.propertyTabs">
265
		
266
		<propertyTabs contributorId="org.eclipse.tptp.platform.log.views.internal.views.LogViewer">
267
			
268
			<!-- The multiple common base event tab - displayed only when a LogGraphNode with multiple wrapped CBEs is selected -->
269
			<propertyTab
270
				category="tabs"
271
				id="org.eclipse.tptp.platform.log.views.MultipleCommonBaseEvent"
272
				label="%properties.cbe"/>
273
			
274
			<!-- The common base event tab -->
275
			<propertyTab
276
				category="tabs"
277
				id="org.eclipse.tptp.platform.log.views.CommonBaseEventTab"
278
				label="%29"/>
279
280
			<!-- The extended data element tab -->
281
			<propertyTab
282
				afterTab="org.eclipse.tptp.platform.log.views.CommonBaseEventTab"
283
				category="tabs"
284
				id="org.eclipse.tptp.platform.log.views.ExtendedDataElementsTab"
285
				label="%30"/>
286
      
287
      		<!-- All properties tab -->
288
			<propertyTab
289
				afterTab="org.eclipse.tptp.platform.log.views.SituationTab"
290
				category="tabs"
291
				id="org.eclipse.tptp.platform.log.views.PropertiesTab"
292
				label="All Properties"/>
293
294
			<!-- The context data element tab -->
295
			<propertyTab
296
				afterTab="org.eclipse.tptp.platform.log.views.ExtendedDataElementsTab"
297
				category="tabs"
298
				id="org.eclipse.tptp.platform.log.views.ContextDataElementsTab"
299
				label="%31"/>
300
    
301
    		<!-- The situation tab -->
302
			<propertyTab
303
				afterTab="org.eclipse.tptp.platform.log.views.ContextDataElementsTab"
304
				category="tabs"
305
				id="org.eclipse.tptp.platform.log.views.SituationTab"
306
				label="%32"/>
307
308
			<!-- The message data element tab -->
309
			<propertyTab
310
				afterTab="org.eclipse.tptp.platform.log.views.SituationTab"
311
				category="tabs"
312
				id="org.eclipse.tptp.platform.log.views.MsgDataElementTab"
313
				label="%33"/>
314
     
315
     		<!-- The source component id tab -->
316
			<propertyTab
317
				afterTab="org.eclipse.tptp.platform.log.views.MsgDataElementTab"
318
				category="tabs"
319
				id="org.eclipse.tptp.platform.log.views.SourceComponentIDTab"
320
				label="%34"/>
321
      
322
      		<!-- The report component id tab -->
323
			<propertyTab
324
				afterTab="org.eclipse.tptp.platform.log.views.SourceComponentIDTab"
325
				category="tabs"
326
				id="org.eclipse.tptp.platform.log.views.ReporterComponentIDTab"
327
				label="%35"/>
328
      
329
      		<!-- The associated event tab -->
330
         	<propertyTab
331
				afterTab="org.eclipse.tptp.platform.log.views.ReporterComponentIDTab"
332
				category="tabs"
333
				id="org.eclipse.tptp.platform.log.views.AssociatedEventTab"
334
				label="%36"/>
335
     
336
     		<!-- Common base event xml tab -->
337
			<propertyTab
338
				afterTab="org.eclipse.tptp.platform.log.views.AssociatedEventTab"
339
				category="tabs"
340
				id="org.eclipse.tptp.platform.log.views.CBEXMLTab"
341
				label="CommonBaseEvent XML"/>
342
      
343
      		<!-- The analysis result tab -->
344
			<propertyTab
345
				afterTab="org.eclipse.tptp.platform.log.views.CBEXMLTab"
346
				category="tabs"
347
				id="org.eclipse.tptp.platform.log.views.AnalysisResultsTab"
348
				label="%39"/>
349
		</propertyTabs>        
350
	</extension>
351
   
352
	
353
	<!-- Associates property sections with each of the property tabs defined above -->
354
	<extension point="org.eclipse.ui.views.properties.tabbed.propertySections">
355
      
356
		<propertySections contributorId="org.eclipse.tptp.platform.log.views.internal.views.LogViewer">
357
		
358
			<!-- The multiple cbe tab section -->
359
			<propertySection
360
				class="org.eclipse.hyades.sd.logc.internal.loader.MultipleCBETab"
361
				id="org.eclipse.tptp.platform.log.views.propertySection0"
362
				tab="org.eclipse.tptp.platform.log.views.MultipleCommonBaseEvent">
363
				
364
				<!-- Notice that unlike most other sections, the input is different -->
365
				<input type="org.eclipse.hyades.sd.logc.internal.uml2sd.LogGraphNode"/>
366
			</propertySection>
367
      
368
      		<!-- The common base event section -->
369
			<propertySection
370
				class="org.eclipse.tptp.platform.log.views.internal.views.CommonBaseSection"
371
				id="org.eclipse.tptp.platform.log.views.propertySection1"
372
				tab="org.eclipse.tptp.platform.log.views.CommonBaseEventTab">
373
				<input type="org.eclipse.hyades.models.cbe.impl.CBEDefaultEventImpl"/>
374
			</propertySection>
375
      
376
      		<!-- Extended data element section -->
377
			<propertySection
378
				class="org.eclipse.tptp.platform.log.views.internal.views.ExtendedDataElementsSection"
379
				id="org.eclipse.tptp.platform.log.views.propertySection3"
380
				tab="org.eclipse.tptp.platform.log.views.ExtendedDataElementsTab">
381
				<input type="org.eclipse.hyades.models.cbe.impl.CBEDefaultEventImpl"/>
382
			</propertySection>
383
      
384
      		<!-- Context data element section -->
385
			<propertySection
386
				class="org.eclipse.tptp.platform.log.views.internal.views.ContextDataElementsSection"
387
				id="org.eclipse.tptp.platform.log.views.propertySection5"
388
				tab="org.eclipse.tptp.platform.log.views.ContextDataElementsTab">
389
				<input type="org.eclipse.hyades.models.cbe.impl.CBECommonBaseEventImpl"/>
390
			</propertySection>
391
      
392
      		<!-- Situation section -->
393
			<propertySection
394
				class="org.eclipse.tptp.platform.log.views.internal.views.SituationSection"
395
				id="org.eclipse.tptp.platform.log.views.propertySection6"
396
				tab="org.eclipse.tptp.platform.log.views.SituationTab">
397
				<input type="org.eclipse.hyades.models.cbe.impl.CBECommonBaseEventImpl"/>
398
			</propertySection>
399
      
400
      		<!-- The message data element section -->
401
			<propertySection
402
				class="org.eclipse.tptp.platform.log.views.internal.views.MessageDataElementSection"
403
				id="org.eclipse.tptp.platform.log.views.propertySection7"
404
				tab="org.eclipse.tptp.platform.log.views.MsgDataElementTab">
405
				<input type="org.eclipse.hyades.models.cbe.impl.CBECommonBaseEventImpl"/>
406
			</propertySection>
407
      
408
      		<!-- The source component section -->
409
			<propertySection
410
				class="org.eclipse.tptp.platform.log.views.internal.views.SourceComponentIDSection"
411
				id="org.eclipse.tptp.platform.log.views.propertySection8"
412
				tab="org.eclipse.tptp.platform.log.views.SourceComponentIDTab">
413
				<input type="org.eclipse.hyades.models.cbe.impl.CBECommonBaseEventImpl"/>
414
			</propertySection>
415
      
416
      		<!-- Reporter component section -->
417
			<propertySection
418
				class="org.eclipse.tptp.platform.log.views.internal.views.ReporterComponentIDSection"
419
				id="org.eclipse.tptp.platform.log.views.propertySection9"
420
				tab="org.eclipse.tptp.platform.log.views.ReporterComponentIDTab">
421
				<input type="org.eclipse.hyades.models.cbe.impl.CBECommonBaseEventImpl"/>
422
			</propertySection>
423
     
424
     		<!-- The associate event section -->
425
			<propertySection
426
				class="org.eclipse.tptp.platform.log.views.internal.views.AssociatedEventSection"
427
				id="org.eclipse.tptp.platform.log.views.propertySection8"
428
				tab="org.eclipse.tptp.platform.log.views.AssociatedEventTab">
429
				<input type="org.eclipse.hyades.models.cbe.impl.CBECommonBaseEventImpl"/>
430
			</propertySection>
431
      
432
      		<!-- The CBE XML section -->
433
			<propertySection
434
				class="org.eclipse.tptp.platform.log.views.internal.views.CBEXMLSection"
435
				id="org.eclipse.tptp.platform.log.views.CBEXMLSection"
436
				tab="org.eclipse.tptp.platform.log.views.CBEXMLTab">
437
				<input type="org.eclipse.hyades.models.cbe.impl.CBEDefaultEventImpl"/>
438
			</propertySection>
439
      
440
      		<!-- The analysis result section -->
441
			<propertySection
442
				class="org.eclipse.tptp.platform.log.views.internal.views.AnalysisResultsSection"
443
				id="org.eclipse.tptp.platform.log.views.AnalysisResultsSection"
444
				tab="org.eclipse.tptp.platform.log.views.AnalysisResultsTab">
445
				<input type="org.eclipse.hyades.models.cbe.impl.CBECommonBaseEventImpl"/>
446
			</propertySection>
447
		</propertySections>
448
	</extension>
449
450
	
451
	<!-- Contributions to the CBE objects -->
452
	<extension point="org.eclipse.ui.popupMenus">
453
		<objectContribution
454
			objectClass="org.eclipse.hyades.models.cbe.CBECommonBaseEvent"
455
			id="org.eclipse.tptp.platform.log.views.internal.actions.CopyToClipboardAction">
456
			<action
457
				label="%16"
458
				style="push"
459
				class="org.eclipse.tptp.platform.log.views.internal.actions.CopyToClipboardAction"
460
				menubarPath="additions"
461
				enablesFor="*"
462
				id="org.eclipse.tptp.platform.log.views.internal.actions.CopyToClipboardAction">
463
			</action>
464
		</objectContribution>
465
	</extension>
466
	
467
468
<!-- ==================================================================== -->
469
   <extension
470
         point="org.eclipse.ui.actionSets">
471
      <actionSet
472
            label="%0"
473
            visible="false"
474
            id="org.eclipse.tptp.platform.log.views.internal.logViewActionSet">
475
         <action
476
               label="%2"
477
               icon="icons/full/ctool16/log_view_nav.gif"
478
               tooltip="%3"
479
               class="org.eclipse.tptp.platform.log.views.internal.actions.OpenLogViewAction"
480
               toolbarPath="trace/group.openRAS"
481
               id="org.eclipse.tptp.platform.log.views.internal.actions.OpenLogViewAction">
482
         </action>
483
      </actionSet>
484
   </extension>
485
<!-- ==================================================================== -->
486
   <extension
487
         point="org.eclipse.ui.preferencePages">
488
      <page
489
            name="%4"
490
            category="org.eclipse.hyades.trace.ui.internal.preferences.TraceBasePreferencePage"
491
            class="org.eclipse.tptp.platform.log.views.internal.preferences.LogAnalyzerBasePrefPage"
492
            id="org.eclipse.tptp.platform.log.views.internal.preferences.LogAnalyzerBasePrefPage">
493
      </page>
494
 
495
   </extension>
496
497
    <extension
498
         point="org.eclipse.ui.preferencePages">
499
      <page
500
            name="%7"
501
            category="org.eclipse.hyades.trace.ui.internal.preferences.TraceBasePreferencePage"
502
            class="org.eclipse.tptp.platform.log.views.internal.preferences.LogDBResourceSupportPreferencePage"
503
            id="org.eclipse.tptp.platform.log.views.internal.preferences.LogDBResourceSupportPreferencePage">
504
      </page>
505
   </extension>
506
   
507
<!-- ==================================================================== -->
508
      
509
   <extension
510
         point="org.eclipse.help.contexts">
511
      <contexts
512
            file="src-log-views/logui.xml"
513
            plugin="org.eclipse.tptp.platform.log.views">
514
      </contexts>
515
      <contexts
516
            file="src-log-views/DatabaseHelpContexts.xml"
517
            plugin="org.eclipse.tptp.platform.log.views">
518
      </contexts>
519
   </extension>
520
   <extension point="org.eclipse.tptp.platform.common.ui.navigatorExtensions">
521
      <navigatorFilterSet
522
            id="org.eclipse.hyades.log.ui.navigatorFilterSet.hosts"
523
            label="%15"
524
            icon="icons/full/obj16/node_obj.gif"
525
            class="org.eclipse.hyades.trace.ui.internal.navigator.NodeNavigatorFilterSet"
526
            navigatorID="org.eclipse.hyades.log.ui.logNavigator"
527
            defaultEnabled="true"
528
            recursive="false"
529
            common="true"/>
530
   </extension>
531
   
532
   <!-- from sd.logc ==================================================================== -->
533
 
534
535
    <extension
536
         point="org.eclipse.ui.popupMenus">
537
         
538
      <!-- The analyze all action -->
539
      <objectContribution
540
            objectClass="org.eclipse.hyades.sd.logc.internal.uml2sd.LogGraphNode"
541
            id="org.eclipse.hyades.sd.logc.internal.actions.LogGraphNodeAnalyze.AnalyzeAll">
542
         <action
543
               label="%interaction.action.analyzeAll"             
544
               class="org.eclipse.hyades.sd.logc.internal.actions.LogGraphNodeAnalyze"
545
               id="org.eclipse.hyades.sd.logc.internal.actions.LogGraphNodeAnalyze.AnalyzeAll"
546
               menubarPath="analyze.group"
547
               icon="icons/full/elcl16/analyze_all.gif">
548
         </action>
549
      </objectContribution>
550
      
551
      <!-- The analyze action -->
552
      <objectContribution
553
            objectClass="org.eclipse.hyades.sd.logc.internal.uml2sd.LogGraphNode"
554
            id="org.eclipse.hyades.sd.logc.internal.actions.LogGraphNodeAnalyze.Analyze">
555
         <action
556
               label="%interaction.action.analyze"
557
               class="org.eclipse.hyades.sd.logc.internal.actions.LogGraphNodeAnalyze"
558
               id="org.eclipse.hyades.sd.logc.internal.actions.LogGraphNodeAnalyze.Analyze"
559
               menubarPath="analyze.group"
560
               icon="icons/full/elcl16/analyze.gif">
561
         </action>
562
      </objectContribution>
563
564
      <objectContribution
565
            objectClass="org.eclipse.hyades.sd.logc.internal.uml2sd.LogGraphNode"
566
            id="org.eclipse.hyades.sd.logc.internal.actions.LogGraphNodeCollapseAction">
567
         <filter
568
               name="isExpanded"
569
               value="true">
570
         </filter>
571
         <action
572
               label="%9"
573
               icon="icons/full/clcl16/collapse_tsk.gif"
574
               class="org.eclipse.hyades.sd.logc.internal.actions.LogGraphNodeCollapseAction"
575
               enablesFor="1"
576
               id="org.eclipse.hyades.sd.logc.internal.actions.LogGraphNodeCollapseAction">
577
         </action>
578
      </objectContribution>
579
      
580
      <objectContribution
581
            objectClass="org.eclipse.hyades.sd.logc.internal.uml2sd.LogGraphNode"
582
            id="org.eclipse.hyades.sd.logc.internal.actions.LogGraphNodeExpandAction">
583
         <filter
584
               name="isExpanded"
585
               value="false">
586
         </filter>
587
588
         <action
589
               label="%10"
590
               icon="icons/full/clcl16/expand_tsk.gif"
591
               class="org.eclipse.hyades.sd.logc.internal.actions.LogGraphNodeExpandAction"
592
               enablesFor="1"
593
               id="org.eclipse.hyades.sd.logc.internal.actions.LogGraphNodeExpandAction">
594
         </action>
595
      </objectContribution>
596
      <objectContribution
597
            objectClass="org.eclipse.hyades.sd.logc.internal.uml2sd.TargetOutOfPageMessage"
598
            id="org.eclipse.hyades.sd.logc.internal.actions.GoToTarget1">
599
         <action
600
               label="%18"
601
               style="push"
602
               state="true"
603
               icon="icons/full/clcl16/go_to_target.gif"
604
               class="org.eclipse.hyades.sd.logc.internal.actions.GoToTarget"
605
               menubarPath="additions"
606
               enablesFor="1"
607
               id="org.eclipse.hyades.sd.logc.internal.actions.GoToTarget2">
608
         </action>
609
      </objectContribution>
610
      <objectContribution
611
            objectClass="org.eclipse.hyades.sd.logc.internal.uml2sd.SourceOutOfPageMessage"
612
            id="org.eclipse.hyades.sd.logc.internal.actions.GoToSource1">
613
         <action
614
               label="%17"
615
               style="push"
616
               state="true"
617
               icon="icons/full/clcl16/go_to_source.gif"
618
               class="org.eclipse.hyades.sd.logc.internal.actions.GoToSource"
619
               menubarPath="additions"
620
               enablesFor="1"
621
               id="org.eclipse.hyades.sd.logc.internal.actions.GoToSource2">
622
         </action>
623
      </objectContribution>
624
      
625
      <objectContribution
626
            objectClass="org.eclipse.hyades.sd.logc.internal.uml2sd.LogAsyncMessage"
627
            id="org.eclipse.hyades.sd.logc.internal.actions.GoToTarget3">
628
         <action
629
               label="%18"
630
               style="push"
631
               state="true"
632
               icon="icons/full/clcl16/go_to_target.gif"
633
               class="org.eclipse.hyades.sd.logc.internal.actions.GoToTarget"
634
               menubarPath="additions"
635
               enablesFor="1"
636
               id="org.eclipse.hyades.sd.logc.internal.actions.GoToTarget">
637
         </action>
638
      </objectContribution>
639
      <objectContribution
640
            objectClass="org.eclipse.hyades.sd.logc.internal.uml2sd.LogAsyncMessage"
641
            id="org.eclipse.hyades.sd.logc.internal.actions.GoToSource3">
642
         <action
643
               label="%17"
644
               style="push"
645
               state="true"
646
               icon="icons/full/clcl16/go_to_source.gif"
647
               class="org.eclipse.hyades.sd.logc.internal.actions.GoToSource"
648
               menubarPath="additions"
649
               enablesFor="1"
650
               id="org.eclipse.hyades.sd.logc.internal.actions.GoToSource4">
651
         </action>
652
      </objectContribution>
653
      
654
      <objectContribution
655
            objectClass="org.eclipse.hyades.sd.logc.internal.uml2sd.LogGraphNode"
656
            id="org.eclipse.hyades.sd.logc.internal.actions.OpenLogView">
657
         <action
658
               label="%19"
659
               style="push"
660
               icon="icons/full/obj16/log_view.gif"
661
               state="true"
662
               class="org.eclipse.hyades.sd.logc.internal.actions.OpenLogView"
663
               menubarPath="additions"
664
               enablesFor="1"
665
               id="org.eclipse.hyades.sd.logc.internal.actions.OpenLogView">
666
         </action>
667
      </objectContribution>
668
      
669
      <objectContribution
670
            objectClass="org.eclipse.hyades.sd.logc.internal.uml2sd.LogGraphNode"
671
            id="org.eclipse.hyades.sd.logc.internal.actions.OpenPropertiesView1">
672
         <action
673
               label="%11"
674
               style="push"
675
               icon="icons/full/cview16/prop_ps.gif"
676
               state="true"
677
               class="org.eclipse.hyades.sd.logc.internal.actions.OpenPropertiesView"
678
               menubarPath="additions"
679
               enablesFor="1"
680
               id="org.eclipse.hyades.sd.logc.internal.actions.OpenPropertiesView2">
681
         </action>
682
      </objectContribution>
683
     <objectContribution
684
            objectClass="org.eclipse.hyades.sd.logc.internal.uml2sd.LogAsyncMessage"
685
            id="org.eclipse.hyades.sd.logc.internal.actions.OpenPropertiesView3">
686
         <action
687
               label="%11"
688
               style="push"
689
               icon="icons/full/cview16/prop_ps.gif"
690
               state="true"
691
               class="org.eclipse.hyades.sd.logc.internal.actions.OpenPropertiesView"
692
               menubarPath="additions"
693
               enablesFor="1"
694
               id="org.eclipse.hyades.sd.logc.internal.actions.OpenPropertiesView4">
695
         </action>
696
      </objectContribution>
697
      <objectContribution
698
            objectClass="org.eclipse.hyades.models.cbe.CBECommonBaseEvent"
699
            id="org.eclipse.hyades.sd.logc.internal.actions.OpenPropertiesView5">
700
         <action
701
               label="%11"
702
               style="push"
703
               icon="icons/full/cview16/prop_ps.gif"
704
               state="true"
705
               class="org.eclipse.hyades.sd.logc.internal.actions.OpenPropertiesView"
706
               menubarPath="additions"
707
               enablesFor="1"
708
               id="org.eclipse.hyades.sd.logc.internal.actions.OpenPropertiesView6">
709
         </action>
710
      </objectContribution>
711
      <objectContribution
712
            objectClass="org.eclipse.hyades.sd.logc.internal.uml2sd.SourceOutOfPageMessage"
713
            id="org.eclipse.hyades.sd.logc.internal.actions.OpenPropertiesView7">
714
         <action
715
               label="%11"
716
               style="push"
717
               icon="icons/full/cview16/prop_ps.gif"
718
               state="true"
719
               class="org.eclipse.hyades.sd.logc.internal.actions.OpenPropertiesView"
720
               menubarPath="additions"
721
               enablesFor="1"
722
               id="org.eclipse.hyades.sd.logc.internal.actions.OpenPropertiesView8">
723
         </action>
724
      </objectContribution>
725
      <objectContribution
726
            objectClass="org.eclipse.hyades.sd.logc.internal.uml2sd.TargetOutOfPageMessage"
727
            id="org.eclipse.hyades.sd.logc.internal.actions.OpenPropertiesView9">
728
         <action
729
               label="%11"
730
               style="push"
731
               icon="icons/full/cview16/prop_ps.gif"
732
               state="true"
733
               class="org.eclipse.hyades.sd.logc.internal.actions.OpenPropertiesView"
734
               menubarPath="additions"
735
               enablesFor="1"
736
               id="org.eclipse.hyades.sd.logc.internal.actions.OpenPropertiesView10">
737
         </action>
738
      </objectContribution>                
739
                    
740
      <objectContribution
741
            objectClass="org.eclipse.hyades.models.cbe.CBECommonBaseEvent"
742
            id="org.eclipse.hyades.sd.logc.internal.actions.OpenTimeBaseUML2SDViewAction">
743
         <action
744
               label="%8"
745
               class="org.eclipse.hyades.sd.logc.internal.actions.OpenTimeBaseUML2SDViewAction"
746
               menubarPath="open.views"
747
               enablesFor="1"
748
               id="org.eclipse.hyades.sd.logc.internal.actions.OpenTimeBaseUML2SDViewAction">
749
         </action>
750
      </objectContribution>
751
   </extension>
752
<!--===============================================================-->
753
   <extension
754
         point="org.eclipse.ui.preferencePages">
755
      <page
756
            name="%20"
757
            category="org.eclipse.hyades.uml2sd.ui.preferences.SDViewerPage"
758
            class="org.eclipse.hyades.sd.logc.internal.preferences.LogInteractionsPreferencePage"
759
            id="org.eclipse.hyades.sd.ui.preferences.FilterCallPreferencePage">
760
      </page>
761
   </extension>
762
   
763
   	<extension point="org.eclipse.help.contexts">
764
		<contexts file="src-log-views/LogInteractionInfopopContexts.xml" plugin="org.eclipse.tptp.platform.log.views"/>
765
	</extension>
766
	<!-- relative="org.eclipse.ui.console.ConsoleView was removed for defect_143455 -->
767
 	<extension point="org.eclipse.ui.perspectiveExtensions">
768
      <perspectiveExtension 
769
			targetID="org.eclipse.hyades.trace.internal.ui.tracePerspective">
770
      	<view
771
      		   relative = "org.eclipse.hyades.trace.views.adapter.internal.ExecutionStatisticViewer2"
772
               visible="false"
773
               relationship="stack"
774
               id="org.eclipse.hyades.sd.logc.LogInteractionsView">
775
      	</view>
776
      </perspectiveExtension>
777
   	</extension>	     	
778
   
779
    
780
   <extension
781
         point="org.eclipse.ui.popupMenus">
782
      <viewerContribution
783
            id="org.eclipse.tptp.symptom.internal.presentation.view.openLogViewContribution"
784
            targetID="org.eclipse.tptp.symptom.internal.presentation.view.SymptomAnalysisViewer">
785
         <action
786
               class="org.eclipse.tptp.platform.log.views.internal.actions.OpenLogViewActionDelegate"
787
               icon="icons/full/cview16/log_view.gif"
788
               id="org.eclipse.tptp.platform.log.views.openLogViewFromAnalysisResultsViewAction"
789
               label="%3"
790
               style="push"
791
               menubarPath="additions"/>
792
      </viewerContribution>
793
   </extension>
794
   <extension
795
         point="org.eclipse.hyades.analysis.engine.analysisActions">
796
      <action
797
            class="org.eclipse.tptp.platform.log.views.internal.actions.AnalyzeAction"
798
            id="org.eclipse.tptp.platform.log.views.internal.actions.AnalyzeAction"/>
799
      <action
800
            class="org.eclipse.tptp.platform.log.views.internal.actions.ExtendedAnalyzeAction"
801
            id="org.eclipse.tptp.platform.log.views.internal.actions.ExtendedAnalyzeAction"/>
802
            
803
   </extension>	
804
   
805
</plugin>
(-)src/org/eclipse/tptp/platform/lta/extensions/instances/Activator.java (+67 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
		new LogViewer.Delegate();
47
	}
48
49
	/*
50
	 * (non-Javadoc)
51
	 * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
52
	 */
53
	public void stop(BundleContext context) throws Exception {
54
		plugin = null;
55
		super.stop(context);
56
	}
57
58
	/**
59
	 * Returns the shared instance
60
	 *
61
	 * @return the shared instance
62
	 */
63
	public static Activator getDefault() {
64
		return plugin;
65
	}
66
67
}
(-)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>
(-)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>
(-)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             = Hyades Log UI
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 (+10 lines)
Added Link Here
1
Manifest-Version: 1.0
2
Bundle-ManifestVersion: 2
3
Bundle-Name: Instances Plug-in
4
Bundle-SymbolicName: org.eclipse.tptp.platform.lta.extensions.instances;singleton:=true
5
Bundle-Version: 1.0.0
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
(-).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>
(-)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
}

Return to bug 200139