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 164012 Details for
Bug 277623
NPE in org.eclipse.uml2.uml.editor.presentation.UMLModelWizard.performFinish
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 for UMLModelWizard
UMLWizard.patch (text/plain), 1.61 KB, created by
Laurent Goubet
on 2010-04-07 05:04:41 EDT
(
hide
)
Description:
Patch for UMLModelWizard
Filename:
MIME Type:
Creator:
Laurent Goubet
Created:
2010-04-07 05:04:41 EDT
Size:
1.61 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.uml2.uml.editor >Index: src/org/eclipse/uml2/uml/editor/presentation/UMLModelWizard.java >=================================================================== >RCS file: /cvsroot/modeling/org.eclipse.mdt/org.eclipse.uml2/plugins/org.eclipse.uml2.uml.editor/src/org/eclipse/uml2/uml/editor/presentation/UMLModelWizard.java,v >retrieving revision 1.10 >diff -u -r1.10 UMLModelWizard.java >--- src/org/eclipse/uml2/uml/editor/presentation/UMLModelWizard.java 5 May 2008 15:14:30 -0000 1.10 >+++ src/org/eclipse/uml2/uml/editor/presentation/UMLModelWizard.java 7 Apr 2010 08:53:20 -0000 >@@ -74,6 +74,7 @@ > import org.eclipse.ui.actions.WorkspaceModifyOperation; > > import org.eclipse.ui.dialogs.WizardNewFileCreationPage; >+import org.eclipse.ui.ide.IDE; > > import org.eclipse.ui.part.FileEditorInput; > import org.eclipse.ui.part.ISetSelectionTarget; >@@ -83,6 +84,7 @@ > import org.eclipse.uml2.uml.edit.UMLEditPlugin; > > import org.eclipse.core.runtime.Path; >+import org.eclipse.core.runtime.content.IContentType; > > import org.eclipse.jface.viewers.ISelection; > import org.eclipse.jface.viewers.StructuredSelection; >@@ -321,9 +323,10 @@ > // Open an editor on the new file. > // > try { >+ IContentType modelContentType = IDE.getContentType(modelFile); > page.openEditor(new FileEditorInput(modelFile), workbench > .getEditorRegistry().getDefaultEditor( >- modelFile.getFullPath().toString()).getId()); >+ modelFile.getFullPath().toString(), modelContentType).getId()); > } catch (PartInitException exception) { > MessageDialog > .openError(
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 277623
:
136939
|
136940
| 164012