Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 92059 Details for
Bug 80440
Ability to add property information to items in the method statistics view.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
patch of sample
80440.sample.txt (text/plain), 11.37 KB, created by
Eugene Chan
on 2008-03-10 13:25:10 EDT
(
hide
)
Description:
patch of sample
Filename:
MIME Type:
Creator:
Eugene Chan
Created:
2008-03-10 13:25:10 EDT
Size:
11.37 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.tptp.platform.examples.isv >Index: plugin.properties >=================================================================== >RCS file: /cvsroot/tptp/platform/org.eclipse.tptp.platform.examples.isv/plugin.properties,v >retrieving revision 1.5 >diff -u -r1.5 plugin.properties >--- plugin.properties 11 May 2006 18:17:32 -0000 1.5 >+++ plugin.properties 10 Mar 2008 17:20:45 -0000 >@@ -43,3 +43,7 @@ > 42 = This sample creates a simple export viewer extension sample. > 43 = Specify a project for the export viewer generator extension sample. > 44 = Export Viewer Generator Extension Sample >+45 = Table Cell Hover Text Extension Sample >+46 = This sample creates a table cell label provider for table cell hover dialog. >+47 = Specify a project for the table cell hover text provider sample. >+48 = Table Cell Hover Text Extension Sample >Index: plugin.xml >=================================================================== >RCS file: /cvsroot/tptp/platform/org.eclipse.tptp.platform.examples.isv/plugin.xml,v >retrieving revision 1.4 >diff -u -r1.4 plugin.xml >--- plugin.xml 28 Feb 2008 23:13:09 -0000 1.4 >+++ plugin.xml 10 Mar 2008 17:20:45 -0000 >@@ -77,6 +77,19 @@ > </description> > </wizard> > >+ <wizard >+ category="org.eclipse.ui.Examples/org.eclipse.hyades.ui.samples.projects" >+ class="org.eclipse.tptp.platform.execution.examples.SampleCreationWizard" >+ finalPerspective="org.eclipse.jdt.ui.JavaPerspective" >+ icon="icons/examples/samplecreation_wiz.gif" >+ id="org.eclipse.tptp.platform.examples.isv.tablecelllabelprovider.sample" >+ name="%45" >+ project="true"> >+ <description> >+ %46 >+ </description> >+ </wizard> >+ > </extension> > > <extension point="org.eclipse.hyades.ui.sampleWizards"> >@@ -152,6 +165,22 @@ > </projectsetup> > </sampleWizard> > >+ <sampleWizard >+ id="org.eclipse.tptp.platform.examples.isv.tablecelllabelprovider.sample" >+ wizardId="org.eclipse.tptp.platform.examples.isv.tablecelllabelprovider.sample" >+ banner="icons/newHyadesLoggingCoreSampleProject_wizbanner.gif"> >+ <projectsetup >+ helpId="" >+ name="TableCellLabelProviderProject" >+ pagedescription="%47" >+ pagetitle="%48"> >+ <buildCommand name="org.eclipse.jdt.core.javabuilder"/> >+ <import dest="" src="archive/TableCellLabelProviderSample"/> >+ <nature id="org.eclipse.jdt.core.javanature"/> >+ <open file="\org.eclipse.tptp.platform.doc.isv\samples\sexport_viewer_generator.html" editorId=""/> >+ </projectsetup> >+ </sampleWizard> >+ > </extension> > > </plugin> >Index: META-INF/MANIFEST.MF >=================================================================== >RCS file: /cvsroot/tptp/platform/org.eclipse.tptp.platform.examples.isv/META-INF/MANIFEST.MF,v >retrieving revision 1.8 >diff -u -r1.8 MANIFEST.MF >--- META-INF/MANIFEST.MF 2 Sep 2007 12:28:30 -0000 1.8 >+++ META-INF/MANIFEST.MF 10 Mar 2008 17:20:45 -0000 >@@ -2,7 +2,7 @@ > Bundle-ManifestVersion: 2 > Bundle-Name: %plugin.name > Bundle-SymbolicName: org.eclipse.tptp.platform.examples.isv;singleton:=true >-Bundle-Version: 4.3.200.qualifier >+Bundle-Version: 4.3.300.qualifier > Bundle-Vendor: %plugin.provider > Bundle-Localization: plugin > Require-Bundle: org.eclipse.ui, >Index: archive/TableCellLabelProviderSample/.classpath >=================================================================== >RCS file: archive/TableCellLabelProviderSample/.classpath >diff -N archive/TableCellLabelProviderSample/.classpath >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ archive/TableCellLabelProviderSample/.classpath 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,6 @@ >+<?xml version="1.0" encoding="UTF-8"?> >+<classpath> >+ <classpathentry kind="src" path="src"/> >+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> >+ <classpathentry kind="output" path="bin"/> >+</classpath> >Index: archive/TableCellLabelProviderSample/.project >=================================================================== >RCS file: archive/TableCellLabelProviderSample/.project >diff -N archive/TableCellLabelProviderSample/.project >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ archive/TableCellLabelProviderSample/.project 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,17 @@ >+<?xml version="1.0" encoding="UTF-8"?> >+<projectDescription> >+ <name>TableCellLabelProviderProject</name> >+ <comment></comment> >+ <projects> >+ </projects> >+ <buildSpec> >+ <buildCommand> >+ <name>org.eclipse.jdt.core.javabuilder</name> >+ <arguments> >+ </arguments> >+ </buildCommand> >+ </buildSpec> >+ <natures> >+ <nature>org.eclipse.jdt.core.javanature</nature> >+ </natures> >+</projectDescription> >Index: archive/TableCellLabelProviderSample/META-INF/MANIFEST.MF >=================================================================== >RCS file: archive/TableCellLabelProviderSample/META-INF/MANIFEST.MF >diff -N archive/TableCellLabelProviderSample/META-INF/MANIFEST.MF >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ archive/TableCellLabelProviderSample/META-INF/MANIFEST.MF 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,11 @@ >+Manifest-Version: 1.0 >+Bundle-ManifestVersion: 2 >+Bundle-Name: Table Cell Label Provider Sample >+Bundle-SymbolicName: TableCellLabelProviderSample;singleton:=true >+Bundle-Version: 4.5 >+Bundle-Activator: org.eclipse.tptp.platform.tablecelllabelprovider.sample.Activator >+Require-Bundle: org.eclipse.ui, >+ org.eclipse.core.runtime, >+ org.eclipse.tptp.platform.common.ui;bundle-version="[4.4.100,5.0.0)" >+Bundle-RequiredExecutionEnvironment: J2SE-1.5 >+Bundle-ActivationPolicy: lazy >Index: archive/TableCellLabelProviderSample/src/org/eclipse/tptp/platform/tablecelllabelprovider/sample/Activator.java >=================================================================== >RCS file: archive/TableCellLabelProviderSample/src/org/eclipse/tptp/platform/tablecelllabelprovider/sample/Activator.java >diff -N archive/TableCellLabelProviderSample/src/org/eclipse/tptp/platform/tablecelllabelprovider/sample/Activator.java >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ archive/TableCellLabelProviderSample/src/org/eclipse/tptp/platform/tablecelllabelprovider/sample/Activator.java 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,73 @@ >+/******************************************************************************* >+ * Copyright (c) 2008 IBM Corporation and others. >+ * All rights reserved. This program and the accompanying materials >+ * are made available under the terms of the Eclipse Public License v1.0 >+ * which accompanies this distribution, and is available at >+ * http://www.eclipse.org/legal/epl-v10.html >+ * $Id: $ >+ * >+ * Contributors: >+ * IBM Corporation - initial API and implementation >+ *******************************************************************************/ >+ >+package org.eclipse.tptp.platform.tablecelllabelprovider.sample; >+ >+import org.eclipse.jface.resource.ImageDescriptor; >+import org.eclipse.ui.plugin.AbstractUIPlugin; >+import org.osgi.framework.BundleContext; >+ >+/** >+ * The activator class controls the plug-in life cycle >+ */ >+public class Activator extends AbstractUIPlugin { >+ >+ // The plug-in ID >+ public static final String PLUGIN_ID = "TableCellLabelProviderSample"; >+ >+ // The shared instance >+ private static Activator plugin; >+ >+ /** >+ * The constructor >+ */ >+ public Activator() { >+ } >+ >+ /* >+ * (non-Javadoc) >+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext) >+ */ >+ public void start(BundleContext context) throws Exception { >+ super.start(context); >+ plugin = this; >+ } >+ >+ /* >+ * (non-Javadoc) >+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext) >+ */ >+ public void stop(BundleContext context) throws Exception { >+ plugin = null; >+ super.stop(context); >+ } >+ >+ /** >+ * Returns the shared instance >+ * >+ * @return the shared instance >+ */ >+ public static Activator getDefault() { >+ return plugin; >+ } >+ >+ /** >+ * Returns an image descriptor for the image file at the given >+ * plug-in relative path >+ * >+ * @param path the path >+ * @return the image descriptor >+ */ >+ public static ImageDescriptor getImageDescriptor(String path) { >+ return imageDescriptorFromPlugin(PLUGIN_ID, path); >+ } >+} >Index: archive/TableCellLabelProviderSample/src/org/eclipse/tptp/platform/tablecelllabelprovider/sample/TableCellLabelProvider.java >=================================================================== >RCS file: archive/TableCellLabelProviderSample/src/org/eclipse/tptp/platform/tablecelllabelprovider/sample/TableCellLabelProvider.java >diff -N archive/TableCellLabelProviderSample/src/org/eclipse/tptp/platform/tablecelllabelprovider/sample/TableCellLabelProvider.java >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ archive/TableCellLabelProviderSample/src/org/eclipse/tptp/platform/tablecelllabelprovider/sample/TableCellLabelProvider.java 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,43 @@ >+/******************************************************************************* >+ * Copyright (c) 2008 IBM Corporation and others. >+ * All rights reserved. This program and the accompanying materials >+ * are made available under the terms of the Eclipse Public License v1.0 >+ * which accompanies this distribution, and is available at >+ * http://www.eclipse.org/legal/epl-v10.html >+ * $Id: $ >+ * >+ * Contributors: >+ * IBM Corporation - initial API and implementation >+ *******************************************************************************/ >+ >+package org.eclipse.tptp.platform.tablecelllabelprovider.sample; >+ >+import org.eclipse.hyades.ui.provisional.context.IContextAttributes; >+ >+public class TableCellLabelProvider extends >+ org.eclipse.tptp.platform.common.ui.views.TableCellLabelProvider { >+ >+ public String getColumnHoverText(Object element, String columnID) { >+ return "Custom Help>>"+element+"\n Column>>"+columnID; >+ } >+ >+ public String[] getSupportColumnKeys() { >+ return new String[] { >+ IContextAttributes.PACKAGE_ACTIVE_SIZE, >+ IContextAttributes.PACKAGE_AVG_BASE_TIME, >+ IContextAttributes.PACKAGE_BASE_TIME, >+ IContextAttributes.PACKAGE_INH_BASE_TIME, >+ IContextAttributes.PACKAGE_CUMULATIVE_TIME, >+ IContextAttributes.PACKAGE_INH_CUMULATIVE_TIME, >+ IContextAttributes.PACKAGE_CPU_TIME, >+ IContextAttributes.PACKAGE_CALLS, >+ IContextAttributes.PACKAGE_INH_CALLS, >+ IContextAttributes.PACKAGE_TOTAL_INST, >+ IContextAttributes.PACKAGE_LIVE_INST, >+ IContextAttributes.PACKAGE_COLLECTED_INST, >+ IContextAttributes.PACKAGE_TOTAL_SIZE, >+ IContextAttributes.PACKAGE_ACTIVE_SIZE, >+ }; >+ } >+ >+} >Index: archive/TableCellLabelProviderSample/plugin.xml >=================================================================== >RCS file: archive/TableCellLabelProviderSample/plugin.xml >diff -N archive/TableCellLabelProviderSample/plugin.xml >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ archive/TableCellLabelProviderSample/plugin.xml 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,12 @@ >+<?xml version="1.0" encoding="UTF-8"?> >+<?eclipse version="3.2"?> >+<plugin> >+ <extension >+ point="org.eclipse.tptp.platform.common.ui.TableCellLabelProviders"> >+ <tableCellLabelProvider >+ class="org.eclipse.tptp.platform.tablecelllabelprovider.sample.TableCellLabelProvider" >+ id="org.eclipse.tptp.platform.samples.tablecelllabelprovider.TableCellLabelProvider" >+ name="SampleTableCellLabelProvider"> >+ </tableCellLabelProvider> >+ </extension> >+</plugin>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 80440
:
81198
|
91802
| 92059