Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 349355 - Replace Fortran View with Project Explorer
Summary: Replace Fortran View with Project Explorer
Status: CLOSED FIXED
Alias: None
Product: PTP
Classification: Tools
Component: Photran.Unknown (show other bugs)
Version: 7.0   Edit
Hardware: Macintosh Mac OS X
: P1 normal (vote)
Target Milestone: 7.0.4   Edit
Assignee: Jeffrey Overbey CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-14 14:31 EDT by Greg Watson CLA
Modified: 2011-11-04 16:13 EDT (History)
4 users (show)

See Also:


Attachments
Patch to use Project View (14.31 KB, patch)
2011-06-14 14:35 EDT, Greg Watson CLA
com-eclipse-dot-org: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Greg Watson CLA 2011-06-14 14:31:39 EDT
The Fortran View should be replaced by the Project Explorer view to make it more configurable. CDT has already done this.
Comment 1 Greg Watson CLA 2011-06-14 14:35:11 EDT
Created attachment 197969 [details]
Patch to use Project View

This patch changes the Fortran Perspective to use the Project View rather than the Fortran View. It add context menus to the view for creating a new Fortran project, converting to a Fortran project and creating various Fortran resources.
Comment 2 John Eblen CLA 2011-09-15 12:03:12 EDT
What is the status of this bug and the patch? It seems that this problem has been fixed for SR1, but the bug is still open. This affects synchronization projects, because the sync context menu (bug 345673) does not show up in the Fortran View.
Comment 3 Jeffrey Overbey CLA 2011-09-22 11:14:48 EDT
Sorry, I haven't had a chance to test this and put it into CVS yet.  I'm bumping it to P1 so it doesn't get lost in the backlog of 53 other bugs I need to deal with.

Greg/John: Were you wanting to get this in prior to Juno?  If so, I think we'll have to bump the minor version number (i.e., Photran 7.1).  We might want to discuss that on the next conference call.
Comment 4 Greg Watson CLA 2011-10-21 17:27:42 EDT
Definitely Juno, but it would be nice to get it into SR2 also.
Comment 5 Jeffrey Overbey CLA 2011-11-04 14:30:31 EDT
I need to update the conversion wizard -- it gives this NPE when activated from the Project View:

java.lang.NullPointerException
	at org.eclipse.photran.internal.cdtinterface.ui.ProjectConversionAction.run(ProjectConversionAction.java:76)
	at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
	at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
Comment 6 Jeffrey Overbey CLA 2011-11-04 16:13:00 EDT
This is committed for inclusion in 7.0.4 and 8.0/Juno.