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 177152 Details for
Bug 323300
[Example] Add Gantt to example
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]
Workspace patch
clipboard.txt (text/plain), 5.27 KB, created by
Wim Jongman
on 2010-08-20 18:45:24 EDT
(
hide
)
Description:
Workspace patch
Filename:
MIME Type:
Creator:
Wim Jongman
Created:
2010-08-20 18:45:24 EDT
Size:
5.27 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.nebula.examples >Index: META-INF/MANIFEST.MF >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.swt.nebula/org.eclipse.swt.nebula.examples/META-INF/MANIFEST.MF,v >retrieving revision 1.15 >diff -u -r1.15 MANIFEST.MF >--- META-INF/MANIFEST.MF 15 Aug 2010 23:03:21 -0000 1.15 >+++ META-INF/MANIFEST.MF 20 Aug 2010 22:44:49 -0000 >@@ -16,7 +16,8 @@ > org.eclipse.nebula.widgets.collapsiblebuttons, > org.eclipse.nebula.widgets.radiogroup, > org.eclipse.nebula.widgets.tablecombo, >- org.eclipse.nebula.widgets.osgilloscope;bundle-version="1.0.0" >+ org.eclipse.nebula.widgets.osgilloscope;bundle-version="1.0.0", >+ org.eclipse.nebula.widgets.ganttchart;bundle-version="1.0.0" > Bundle-RequiredExecutionEnvironment: J2SE-1.4 > Export-Package: org.eclipse.swt.nebula.examples > Bundle-ClassPath: ./ >Index: plugin.xml >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.swt.nebula/org.eclipse.swt.nebula.examples/plugin.xml,v >retrieving revision 1.12 >diff -u -r1.12 plugin.xml >--- plugin.xml 15 Aug 2010 23:03:21 -0000 1.12 >+++ plugin.xml 20 Aug 2010 22:44:49 -0000 >@@ -56,6 +56,10 @@ > class="org.eclipse.swt.nebula.examples.parts.OscilloscopeExampleTab" > name="Oscilloscope"> > </tab> >+ <tab >+ class="org.eclipse.swt.nebula.examples.parts.GanttExampleTab" >+ name="Gantt"> >+ </tab> > > </extension> > <extension >Index: src/org/eclipse/swt/nebula/examples/parts/GanttExampleTab.java >=================================================================== >RCS file: src/org/eclipse/swt/nebula/examples/parts/GanttExampleTab.java >diff -N src/org/eclipse/swt/nebula/examples/parts/GanttExampleTab.java >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ src/org/eclipse/swt/nebula/examples/parts/GanttExampleTab.java 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,48 @@ >+/******************************************************************************* >+ * Copyright (c) 2006-2009 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 >+ * >+ * Contributors: >+ * ewuillai - initial implementation >+ *******************************************************************************/ >+package org.eclipse.swt.nebula.examples.parts; >+ >+import org.eclipse.nebula.widgets.ganttchart.GanttTester; >+import org.eclipse.swt.SWT; >+import org.eclipse.swt.events.SelectionAdapter; >+import org.eclipse.swt.events.SelectionEvent; >+import org.eclipse.swt.nebula.examples.AbstractExampleTab; >+import org.eclipse.swt.widgets.Button; >+import org.eclipse.swt.widgets.Composite; >+import org.eclipse.swt.widgets.Control; >+ >+public class GanttExampleTab extends AbstractExampleTab { >+ >+ /** >+ * @wbp.parser.entryPoint >+ */ >+ public Control createControl(Composite parent) { >+ int style = SWT.None; >+ Button button = new Button(parent, style); >+ button.setText("Run Extended Gantt Example"); >+ button.addSelectionListener(new SelectionAdapter() { >+ public void widgetSelected(SelectionEvent e) { >+ new GanttTester(); >+ } >+ }); >+ >+ return button; >+ } >+ >+ public String[] createLinks() { >+ return null; >+ } >+ >+ public void createParameters(Composite parent) { >+ >+ } >+ >+} >#P org.eclipse.nebula.examples_feature >Index: feature.xml >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.swt.nebula/features/org.eclipse.nebula.examples_feature/feature.xml,v >retrieving revision 1.10 >diff -u -r1.10 feature.xml >--- feature.xml 16 Aug 2010 21:03:09 -0000 1.10 >+++ feature.xml 20 Aug 2010 22:44:50 -0000 >@@ -122,4 +122,11 @@ > version="0.0.0" > unpack="false"/> > >+ <plugin >+ id="org.eclipse.nebula.widgets.ganttchart" >+ download-size="0" >+ install-size="0" >+ version="0.0.0" >+ unpack="false"/> >+ > </feature> >#P org.eclipse.nebula.widgets.ganttchart >Index: src/org/eclipse/nebula/widgets/ganttchart/GanttTester.java >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.swt.nebula/org.eclipse.nebula.widgets.ganttchart/src/org/eclipse/nebula/widgets/ganttchart/GanttTester.java,v >retrieving revision 1.29 >diff -u -r1.29 GanttTester.java >--- src/org/eclipse/nebula/widgets/ganttchart/GanttTester.java 16 Aug 2010 12:11:27 -0000 1.29 >+++ src/org/eclipse/nebula/widgets/ganttchart/GanttTester.java 20 Aug 2010 22:44:51 -0000 >@@ -150,7 +150,7 @@ > } > > public GanttTester() { >- final Display display = new Display(); >+ final Display display = Display.getDefault(); //new Display(); > final Monitor m = display.getMonitors()[0]; > final Shell shell = new Shell(display); > shell.setText("GanttChart Test Application"); >@@ -231,7 +231,7 @@ > } > display.removeListener(SWT.KeyDown, _undoRedoListener); > >- display.dispose(); >+ shell.dispose(); > } > > private Composite createEventLogTab(final Composite parent) {
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 323300
:
177151
| 177152