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 50066 Details for
Bug 142957
compartment items not shown in outline view (tree)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
patch
Patch_142957_diagrameditor (text/plain), 2.06 KB, created by
Alex Boyko
on 2006-09-13 13:15:02 EDT
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Alex Boyko
Created:
2006-09-13 13:15:02 EDT
Size:
2.06 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.gmf.runtime.diagram.ui >Index: src/org/eclipse/gmf/runtime/diagram/ui/parts/DiagramEditor.java >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.gmf/plugins/org.eclipse.gmf.runtime.diagram.ui/src/org/eclipse/gmf/runtime/diagram/ui/parts/DiagramEditor.java,v >retrieving revision 1.29.2.5 >diff -u -r1.29.2.5 DiagramEditor.java >--- src/org/eclipse/gmf/runtime/diagram/ui/parts/DiagramEditor.java 10 Aug 2006 18:39:12 -0000 1.29.2.5 >+++ src/org/eclipse/gmf/runtime/diagram/ui/parts/DiagramEditor.java 13 Sep 2006 17:17:53 -0000 >@@ -218,16 +218,8 @@ > */ > protected void configureOutlineViewer() { > getViewer().setEditDomain(getEditDomain()); >- getViewer().setEditPartFactory(new EditPartFactory() { >- >- public EditPart createEditPart(EditPart context, Object model) { >- if (model instanceof Diagram) { >- return new TreeDiagramEditPart(model); >- } else { >- return new TreeEditPart(model); >- } >- } >- }); >+ getViewer().setEditPartFactory(getOutlineViewEditPartFactory()); >+ > // No support for a context menu on the outline view for > // release 6.0. See RATLC00529151, RATLC00529144 > // The selected item is a TreeEditPart which is not an >@@ -1493,4 +1485,18 @@ > protected PreferencesHint getPreferencesHint() { > return new PreferencesHint(getEditorSite().getId()); > }; >+ >+ protected EditPartFactory getOutlineViewEditPartFactory() >+ { >+ return new EditPartFactory() { >+ >+ public EditPart createEditPart(EditPart context, Object model) { >+ if (model instanceof Diagram) { >+ return new TreeDiagramEditPart(model); >+ } else { >+ return new TreeEditPart(model); >+ } >+ } >+ }; >+ } > }
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 142957
:
42136
|
47166
|
47649
|
48014
|
48019
|
49433
|
49995
|
50065
|
50066
|
50067
|
50099