Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ecf-dev] Re: [dsdp-ercp-dev] Sudoku on eRCP!

I would love to see the code maintained in the eRCP project (at least the eRCP part) and offered as one of the sample eRCP applications in the eWorkbench (do you agree Mark/Gorkem?)

ECF can then maintain its extensions on top of that to prove that we do in fact care about embedded platforms (all that refactoring in ECF was worth it ;p)

Cheers,

---
Chris Aniszczyk | IBM Lotus | Eclipse Committer | http://mea-bloga.blogspot.com | +1 860 839 2465

Inactive hide details for "Remy Chi Jian Suen" ---04/27/2007 10:19:53 AM---Hi Chris,"Remy Chi Jian Suen" ---04/27/2007 10:19:53 AM---Hi Chris,


From:

"Remy Chi Jian Suen" <remy.suen@xxxxxxxxx>

To:

"DSDP ercp list" <dsdp-ercp-dev@xxxxxxxxxxx>, "Eclipse Communication Framework (ECF) developer mailing list." <ecf-dev@xxxxxxxxxxx>, wayne.beaton@xxxxxxxxxxx

Date:

04/27/2007 10:19 AM

Subject:

Re: [ecf-dev] Re: [dsdp-ercp-dev] Sudoku on eRCP!




Hi Chris,

Hm, let's take a look see...

Well, we have org.eclipse.sudoku.core and org.eclipse.sudoku.solver.backtracing which are essentially just standard plug-ins requiring org.eclipse.core.runtime. Although looking at the code now, I think they can be cut down to just implement BundleActivator instead of extending Plugin.

In org.eclipse.sudoku.ui, we have...

Require-Bundle: org.eclipse.ui,
org.eclipse.core.runtime,
org.eclipse.sudoku.core,
org.eclipse.sudoku.solver.backtracking,
org.eclipse.ecf,
org.eclipse.ecf.datashare ,
org.eclipse.ercp.app,
org.eclipse.ercp.eworkbench
Import-Package: org.eclipse.ercp.swt.mobile,
org.eclipse.jface.action,
org.eclipse.jface.resource,
org.eclipse.swt,
org.eclipse.swt.events,
org.eclipse.swt.graphics,
org.eclipse.swt.layout,
org.eclipse.swt.widgets,
org.eclipse.ui,
org.eclipse.ui.part,
org.eclipse.ui.plugin

But ah, you can remove the ecf stuff (although the 'Connect' command is currently coupled with the ui because I was too lazy to figure out how to contribute to IWorkbenchParts in an eRCP context). This can also be cut down more to have the org.eclipse.ercp.eworkbench dep/extension be in a separate plug-in so that org.eclipse.sudoku.ui is just contributing an IViewPart alone.

Regards,
Rem

On 4/27/07, Chris Aniszczyk <zx@xxxxxxxxxx> wrote:
    What are the dependencies on the eRCP Sudoku client?

    Cheers,

    ---
    Chris Aniszczyk | IBM Lotus | Eclipse Committer |
    http://mea-bloga.blogspot.com | +1 860 839 2465

    Inactive hide details for "Remy Chi Jian Suen" ---04/27/2007 10:03:35 AM---Hi Mark,"Remy Chi Jian Suen" ---04/27/2007 10:03:35 AM---Hi Mark,

    From:

    "Remy Chi Jian Suen" <remy.suen@xxxxxxxxx>

    To:

    "DSDP ercp list" <dsdp-ercp-dev@xxxxxxxxxxx>

    Cc:

    "Eclipse Communication Framework \(ECF\) developer mailing list." <ecf-dev@xxxxxxxxxxx >, wayne.beaton@xxxxxxxxxxx

    Date:

    04/27/2007 10:03 AM

    Subject:

    [ecf-dev] Re: [dsdp-ercp-dev] Sudoku on eRCP!





    Hi Mark,

    I am not sure where would be an appropriate place for this code to be committed though since a fair amount of code had to be tweaked and the code being used in question is cross-project.

    With regards to the org.eclipse.osgi.services bundle, is the eRCP team planning to include it in a future release or is this not going to happen?

    Regards,
    Rem


    On 4/26/07,
    Mark Rogalski < rogalski@xxxxxxxxxx> wrote:

        Cool!


        I'd like to see the code posted :-)



        "Remy Chi Jian Suen" < remy.suen@xxxxxxxxx>
        Sent by: dsdp-ercp-dev-bounces@xxxxxxxxxxx

        04/26/2007 09:44 AM


        Please respond to
        DSDP ercp list <dsdp-ercp-dev@xxxxxxxxxxx >
        To
        "Eclipse Communication Framework (ECF) developer mailing list." < ecf-dev@xxxxxxxxxxx>, dsdp-ercp-dev@xxxxxxxxxxx, wayne.beaton@xxxxxxxxxxx
        cc
        Subject
        [dsdp-ercp-dev] Sudoku on eRCP!




        Hi everyone,

        After having hacked on Wayne and Chris's work on the Sudoku plug-in, I
        have managed to get the code running on my iPAQ. Note that this code
        is currently not online anywhere since there were some casualties to
        be had.

        This list is not comprehensive:
        1. Wayne's code had to be un-Java-5-ed.
        2. eRCP does not bundle LogService (the org.eclipse.osgi.services is
        missing), some commenting work had to be done in ECF's code.
        3. Alpha transparency doesn't work on WM2003/2005, so I just drew a
        pink colour instead of drawing a "transparent red colour".
        4. Import-Package failed me (for whatever reasons), so I had to drop
        some xml stuff in ECF's org.eclipse.ecf.provider bundle.

        In true cross-platform spirit, you can see in sudoku-win32.jpg that
        both my machine and the iPAQ is running _identical_ code. In
        sudoku-linux.jpg, the sudoku app being displayed in question is the
        original RCP application (since there is no gtk+ wrapping of eSWT).

        There are still some glitches (such as this infinite loop thingy where
        the updates of the cells keeps going back and forth so you see the
        numbers flip between '1' and '2' repeatedly), but you get the idea. :)

        Regards,
        Rem
        _______________________________________________
        dsdp-ercp-dev mailing list

        dsdp-ercp-dev@xxxxxxxxxxx 
        https://dev.eclipse.org/mailman/listinfo/dsdp-ercp-dev


        _______________________________________________
        dsdp-ercp-dev mailing list

        dsdp-ercp-dev@xxxxxxxxxxx
        https://dev.eclipse.org/mailman/listinfo/dsdp-ercp-dev
    _______________________________________________
    ecf-dev mailing list

    ecf-dev@xxxxxxxxxxx
    https://dev.eclipse.org/mailman/listinfo/ecf-dev


    _______________________________________________
    ecf-dev mailing list

    ecf-dev@xxxxxxxxxxx
    https://dev.eclipse.org/mailman/listinfo/ecf-dev
_______________________________________________
ecf-dev mailing list
ecf-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ecf-dev

GIF image

GIF image

GIF image

GIF image


Back to the top