UCOSP

Undergraduate Capstone Open Source Projects

Archive for the ‘Eclipse4Edu’ Category

Status Reports: Mar 29, 2010

Posted by Dwight Deugo on 2010/03/31

Brenda

Status

  • Looked further into Bug 303420: Simplify the user experience when renaming a type from the pop-up menu. This may not actually be a task I can accomplish before the code freeze, taking into account the other things I had also intended to finish before then.

Final Steps

  • Look into Bug 303420: Simplify the user experience when renaming a type from the pop-up menu.
  • Go back to Bug 299342: "New Java Package" option should automatically create a Java Project, to use the NewJavaProjectConstructor to create the default project.
  • Address Bug 303427: Can’t specify a source folder in the Package Wizard.
  • Complete final report.

Roadblocks

  • Last week involved several major deadlines for other courses, but I can now focus this week on finishing up my ongoing goals for Eclipse..

Cory

Status

  • Added some additional comments to Bug 301327 (Creating a src folder when creating new Java project – This bug may not be applicable anymore) and to Bug 302362 (Support for java applets – This bug may also be obsolete now).
  • Overall, I did not have a productive week with regards to IDE4EDU. Still waiting on feedback from Wayne, and at least 50%+ of our bugs require some form of feedback, committing, closing, or additional information. So, I took this opportunity to work on my many other projects and their fast approaching deadlines, with the hope that when Wayne gets back I will be able to dedicate more time towards IDE4EDU.

Final Steps

  • Of the bugs left that aren’t in 1 of the categories above, I think I might take stab at Bug 302360 (importing projects into javalite) or Bug 303584 (Linking javalite explorer with editor). In both cases, there is existing JDT functionality that we want to emulate, so they sound feasible given our remaining week before the code freeze.
  • Unless of course we get feedback from Wayne, in which case I will attempt to address those potential issues, etc.

Roadblocks

  • (I know its a broken record… but) Other classes.
  • Feedback would be appreciated on pending patches. (We are here to help! Let us help!)

Miles

Status

  • Worked on simplifying the menus using the activities extension.
  • Managed to hide all but 2 or 3 things that I wanted hidden.
    – Simplified the toolbar significantly.
    – Really happy with how this turned out. Makes Eclipse much less intimidating.

Final Steps

  • Simplify the menus and toolbar to the list of items I suggested in bug 299848.

Roadblocks

  • Nothing major. Everything is working out pretty well on this bug. I’d like to control the order of the toolbar buttons but I can’t figure out
    how to do that yet. Also, I’d like a couple of the menus to go away when they don’t have any items in them like the Run menu.
  • I’d love to hide the Navigation menu but it seems to be hardwired to the Workbench or something. I think we’d need to create an RCP app to
    completely get rid of it.
  • We need to create a better Run and Debug button but that is too big a job for the time we have left on this project. I’ll add another bug for this.

Posted in Eclipse4Edu, Status | Leave a Comment »

Status Reports: Mar 22, 2010

Posted by Dwight Deugo on 2010/03/24

Brenda

Status

  • Submitted a patch to Bug 301326 to handle the possibility of multiple source folders when creating a new class using the constructor.
  • Reported Bug 306651 and submitted a patch for it that creates a package constructor like those for projects and classes, including tests. It also includes a rework of the Package Creation Wizard to use the constructor, along the lines of the project and class wizards.

Final Steps

  • Look into Bug 303420: Simplify the user experience when renaming a type from the pop-up menu.
  • Go back to Bug 299342: "New Java Package" option should automatically create a Java Project, to use the NewJavaProjectConstructor to create the default project.
  • Address Bug 303427: Can’t specify a source folder in the Package Wizard.
  • Complete final report.

Roadblocks

  • None.

Cory

Status

  • I continued development on the DND implementation as mentioned last week.
  • I completed some more refactoring and added in some rough name conflict / resolution code. There are still bugs to work out unfortunately.
  • I also investigated into just using existing JDT internal DND implementations, and posted my comments towards that on the current DND bug as well.

Next Steps

  • Possibly more work on DND pending feedback on my latest comments towards the DND bug.
  • Otherwise, I will try and find something thats doable within the next week or so, and work on that instead.
  • Complete final report.

Roadblocks

  • Other courses.
  • Waiting on input from Wayne on pending drag and drop changes.

Miles

Status

  • Worked on simplifying the menus using the activities extension.
  • Made a couple of breakthroughs on how to figure out what id to use to hide items.

Final Steps

  • Simplify the menus to the list of items I suggested in bug 299848.
  • If this goes smoothly I will try to apply the lessons learned to simplifying the tool bars.
  • Complete final report.

Roadblocks

  • There are still a few items that won’t go away as they seem to be ‘special’ to the workbench or something. For example ‘File/Revert’ and
    ‘Edit/Delete’ are 2 of them. But there aren’t that many of them and they aren’t too confusing to the user.

Posted in Eclipse4Edu, Status | Leave a Comment »

Eclipse4Edu Meeting Minutes

Posted by Brenda Sadoway on 2010/03/19

We had a brief meeting today and here is the summary.

Present: Brenda, Cory

Absent: Miles

Drag and Drop

–          Cory is still plugging away at implementing this, as it is not a small task.  If anyone is interested in looking at it and providing feedback, it would be beneficial.

–          He is also wondering if anyone has priorities or features in mind in regards to drag and drop.

Class Wizard

–          Brenda intends to refactor her patch for fixing the package dropdown menu to separate UI from the model.

–          Making a package constructor is something to look into.  This could potentially lead to moving class lookup into the class constructor and package lookup into the package constructor.  Possibly by making static methods such as findClasses(project, package).

Simplify Menus

–          Miles is working on this and has posted patches and comments marking his progress on Bug 299848.

Posted in Eclipse4Edu, Status | Leave a Comment »

Status Reports: Mar 15, 2010

Posted by Dwight Deugo on 2010/03/17

Brenda

Status

  • Reworked the patch for Bug 303426 to fix the problem Wayne noted.
  • I found the solution to Bug 303581 and included it in this patch as the code greatly overlapped and the problems were related. Made note of this in Bug 303581.
  • Started investigating into Bug 303420 (Simplify the user experience when renaming a type from the pop-up menu) to see how this should be done. I have the main outline coded, but I’m still figuring out how to pull in the refactoring functionality to use in conjunction with this code.

Final Steps

  • Finish what I started this week on the class constructor (TODOs and Bug 301326: NewJavaClassConstructor#construct() needs to be more robust).
  • Look into Bug 303420: Simplify the user experience when renaming a type from the pop-up menu.
  • Go back to Bug 299342: "New Java Package" option should automatically create a Java Project, to use the NewJavaProjectConstructor to create the default project.
  • Address Bug 303427: Can’t specify a source folder in the Package Wizard.
  • Complete final report.

Roadblocks

  • Last week of midterms.

Cory

Status

  • Still quite busy with plenty of other schoolwork. Approaching end of term, and its always hectic.
  • Did get some time last weekend to do some more work on the drag and drop implementation. (See Bug 299878 for more info).
  • I ended up refactoring some code, and made the drag and drop listener implementations a little less "exotic".
  • Will be following this update with a new patch to the bug.

Next Steps

  • Due to code halt within the next 2 weeks, I figure it might be best for me to keep working on the drag and drop implementation.
  • There is still a couple "major" issues to sort out, and I will try and fix those up. Namely, providing the ability to detect if a name conflict exists before attempting the move, and then provide the user the ability to change the file name.
  • Small stuff like – I have a good 6-8 TODOs to fix in the code, and I’m sure wayne will want to add his 2 cents in as well.
  • It would be nice if we got some feedback on all pending patches, so we can make sure they get finished / committed before the end of the course.
  • Complete final report.

Roadblocks

  • Other courses.

Miles

Status

  • Worked on simplifying the menus using the activities extension.
  • This seems to work quite well but complete control over the menus is still elusive.
  • There are a bunch of things I can remove and a few things that stubbornly won’t go away.

Final Steps

  • Figuring out how to simplify the menus. If this goes smoothly I will try to apply the lessons learned to simplifying the tool bars.
  • Complete final report.

Roadblocks

  • Just difficulty figuring out how to get complete control over the UI.

Posted in Eclipse4Edu, Status | Leave a Comment »

Status Reports: Mar 8, 2010

Posted by Dwight Deugo on 2010/03/10

Brenda

Status

  • Submitted a patch for Bug 303426 that fixes the unresolved issues with the previous patch. The package dropdown menu should now list the packages in the currently selected project, and update when a different project is chosen. The patch also makes sure the default package is listed as "(default package)" rather than a blank line.

Next Steps

  • Look into issues with the NewJavaClassConstructor class. Specifically, address Bug 303581 and several of the TODOs and FIXMEs in the code where possible.

Roadblocks

  • Class deadlines and more midterms.

Cory

Status

  • Did a little bit of work on my DND implementation.
  • I didn’t get a lot of time over the past week to work on eclipse. I’m allocating some more time towards eclipse later this week.

Next Steps

  • Continue work on DND implementation. I need to refactor the code, and fix some more bugs. I hope to post an updated bug patch within the next week.

Roadblocks

  • Other classes

Miles

Status

  • Refactored sections of the new Class creation wizards and constructors using the extension point for templates as suggested by Wayne. I am making progress on this but doing this correctly and in a way that will be easy to maintain has been time consuming.

Next Steps

  • Figuring out how to simplify the menus and toolbars.
  • Add further functionality to the Class creation constructor and wizards specifically relating to packages.
  • Make is so the Package field in the Class creation wizard is only displayed if there are packages created in the workspace.

Roadblocks

  • None.

Posted in Eclipse4Edu, Status | Leave a Comment »

Status Reports: Mar 1, 2010

Posted by Dwight Deugo on 2010/03/03

Brenda

Status

  • Worked with Cory on fixing the patch I submitted for Bug 299965 (updating the view when a class is made in the default package of a project with a source folder). He made the fix and submitted the patch.
  • Submitted a patch for Bug 303426 (Class Creation Wizard lists projects in the package selection menu). It fixes the main problem, but is not complete yet.

Next Steps

  • Implement the second step for Bug 303426 so that the list of packages updates when the currently chosen project is changed.
  • Look into highlighting the currently selected item from the dropdown list.

Roadblocks

  • None.

Cory

Status

  • Assisted Brenda on hiding package references (Bug 299965). I think we figured out the refresh issue, and I posted a new patch fixing that.
  • Started work on the drag and drop feature (Bug 299878). Submitted a first-pass patch towards this feature.
  • I dedicated a fair bit of hours to eclipse this past week as I had a break in my other classes; I’m expecting my next week or so will be dedicated to those classes instead – as usual I get plenty of new assignments at the last minute.

Next Steps

  • Continue work on drag and drop.
  • Look into small things as they arise.

Roadblocks

  • Other classes

Miles

Status

  • Refactored sections of the new Class creation wizards and constructors.
  • Moved more of the customizability of the wizards and constructor to the templates so that the templates along with a template specific action really drive all of the differences between templates in the rest of the classes.

Next Steps

  • Mostly the same as my last report.
  • Add further functionality to the Class creation constructor and wizards specifically relating to packages.
  • Make is so the Package field in the Class creation wizard is only displayed if there are packages created in the workspace.
  • I would really like to start spending some time on figuring out how to simplify the menus and toolbars. This is such a big problem with the plug-in that it would be nice to get this fixed by the end of the semester.

Roadblocks

  • No real roadblocks.
  • I guess I would love to get some higher level feedback on the refactoring that has been done to the new Class constructor and wizards. Thoughts about the way things are fitting together, other possible designs, as well as what kinds of issues to be aware of when writing this kind of code would be educational.

Posted in Eclipse4Edu, Status | Leave a Comment »

Dwight’s Midterm Report

Posted by Dwight Deugo on 2010/03/01

This term’s version of IDE4EDU is much the same as last terms. The output of our three students (Brenda, Cory and Miles) has been comparable to last term’s effort and Wayne and I are happy with their consistent progress. On the communication side, there has not been as much online traffic as last term, but that has not seemed to prevent the group from moving forward.

Like last term, the main issue IDE4EDU faces is the action of committing code. Since IDE4EDU is a “real” Eclipse project and must adhere to the Eclipse project rules, committer status is not given from the start to anyone wishing to work with the project. That right has to be earned and takes time, which is longer that one term. Therefore students submit patches through Bugizilla and must wait to have the patched added or rejected in or from the build. Wayne and I are working on being as reactive as we can to new patches, but we know the reviews can be slow. I think this is more of an artifact of working on a worldwide open source project that is part of a large foundation, rather than a closed project that will be put into the open source space.

Again like last term, those wanting to develop for Eclipse need to build up some inertia with the environment. Since there are so many things to know, Wayne and I rely on people asking for help with what they don’t know so we can direct them rather than sprinkling information everywhere. In hindsight, a more directed approach would have been useful and a longer training session at the orientation would have helped.

Our expectations are for the students to continue performing as they have in the past and keeping up active communication with all involved.

Posted in Eclipse4Edu, Status | 1 Comment »

Miles Midway Madness

Posted by Miles Billsman on 2010/02/28

Eclipse4Edu has gone fairly well. I feel like I am pretty much on track. I’ve been trying to put in one day a week towards this project and I’ve pretty much managed to do that. I think my major goals for this semester are to get the new Java class wizards and classes in good shape and get a good handle on simplifying the menus and toolbars by the end of the semester. I think this seems reasonable based on my experience with the first half of the semester. The code base is large and the process of coding while trying to integrate into the current code base is time consuming.

I’ve been pretty happy with the way that I give justifications for the patches I’ve submitted but I wish I could get a bit more feedback on those patches and other ideas. This is one thing I could improve on is try to get feedback a bit more quickly from the mentors on patches I submit. They seem open to me emailing them and harassing them so I should do that.

Working on open source has been an eye opener and a great learning experience. I am not used to working on such an open ended project where we can drive a lot of the direction and can make so many choices about our approach to the work. Also I was a little surprised by is that even in large, well known pieces of software like Eclipse there can be some really ugly code (I’m looking at you JDT new class wizard). The feedback from the mentors and other students on coding choices and ideas has also been helpful.

Best of luck to all the other students.

Cheers, Miles

Posted in Eclipse4Edu | 1 Comment »

Eclipse4Edu Meeting Minutes

Posted by Brenda Sadoway on 2010/02/26

We had a brief meeting today; here is what we discussed.

Present: Miles, Cory and Brenda

Absent: No one

Naming

–          Educlipse (or EduEclipse) is short, concise and demonstrates what it is – a version of Eclipse meant for education.

–          Eclipse IDE for Education fits well with the naming schemes for other Eclipse products.

–          The consensus between us still seems to be Educlipse or EduEclipse, however.

Templates

–          Discussed opening an extension point for the templates; we shouldn’t need more than 2-4 templates ourselves.

–          There could be  a problem if we want to allow others to add and manage templates, but it doesn’t seem to be a high priority at the moment.

“New Java Program”

–          Seems like a good idea to simplify the process initially for users that may not even understand the concept of a class within a project yet.

–          Possibly greyed out text in the project explorer: “Create a new project or program to get started”.

–          The Scheme perspective that hasn’t been committed (see Bug 293093) handles help/tutorials well, as far as introducing the user to what they can do and how they can do it.  Something similar to this in Java Lite might be worthwhile.  A “Start Coding in Java” link on the intro page would open Java Lite, and the user would immediately have access to the hints/tips in the help view so they can get started.

Hiding source folders and default packages

–          Cory submitted a patch that should fix the problems with the view not refreshing and new classes not being selected upon creation.

–          There is still the issue of having two packages with the same name in different source folders appearing side by side in the Java Lite project explorer.  There are different ways we could handle this, but it’s not a high priority to fix right now.

Posted in Eclipse4Edu, Status | Leave a Comment »

Status Reports: Feb 22, 2010

Posted by Dwight Deugo on 2010/02/26

Brenda

Status

  • Looked further into the use of plugin_customization.ini for setting the default perspective and it seems this file is created when we compile a standalone RCP App. Cory posted details on its use in Bug 299869.
  • Submitted bug reports 303425, 303426 and 303427, related to the Class and Package wizards.
  • Submitted a patch that alters my previous patch for hiding packages and source folders so that all source folders are hidden, not just those named "src"
  • Looked into the other issue Wayne found with this patch (project explorer view not always updating), but haven’t come to a solution yet.

Next Steps

  • This week, continue to work on getting the project explorer view to update correctly. In particular, when a class is added under the specific circumstances mentioned by Wayne in Comment 8 on Bug 299965.

Roadblocks

  • None.

Cory

Status

  • Was on reading week, so had some extra time to put towards the project.
  • Started week looking into making the delete key work in the LitePackageExplorer (Bug 299875) and getting drag and drop (Bug 299878) to work. Found some good resources on implementing DND for eclipse plugin projects.
  • However, I followed Wayne’s advice on the delete key implementation, and have been mainly working on converting the delete menu item from LitePackageExplorer to use the built in delete Command (Edit->Delete).
  • I have posted a couple patches for this – see Bug 299875 and Bug 303341.
  • Looked over Mile’s proposed patches for adding java source code templates to the java class constructors (Bug 302236).
  • Added my comments to the thread, and also proposed a new patch doing it a little differently.

Next Steps

  • Continue work on Menu Commands / Handlers (Bug 303428 / 303341).
  • Will try and get back to drag and drop soon (Bug 299878).
  • Also attempt to fix small things as I see them.

Roadblocks

  • None

Miles

Status

  • Developed a few versions for the architecture of templates for new Class creation.
  • Created the 2 wizards for class creation – New Java Program and New Java Class
  • Cleaned up the Welcome screen so the link works properly.
  • Fixed the New Class Wizard dialog size bug so that the dialog is a normal size as opposed to overly larg.

Next Steps

  • Continue refactoring if necessary the Class creation constructor and wizards.
  • Make is so the Package field in the Class creation wizard is only displayed if there are packages created in the workspace.
  • I would really like to start spending some time on figuring out how to simplify the menus and toolbars. This is such a big problem with the plug-in that it would be nice to get this fixed by the end of the semester.

Roadblocks

  • The next couple weeks are going to be busy with midterms and assignments.

Posted in Eclipse4Edu, Status | Leave a Comment »