Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 349355

Summary: Replace Fortran View with Project Explorer
Product: [Tools] PTP Reporter: Greg Watson <g.watson>
Component: Photran.UnknownAssignee: Jeffrey Overbey <com-eclipse-dot-org>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P1 CC: com-eclipse-dot-org, g.watson, jdeblen1, roland
Version: 7.0   
Target Milestone: 7.0.4   
Hardware: Macintosh   
OS: Mac OS X   
Whiteboard:
Attachments:
Description Flags
Patch to use Project View com-eclipse-dot-org: iplog+

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.