Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [bpel-dev] BPEL - Expression Editor is not working, How can we fix this

Hi Bob/Lorenzo

Cant we give a try with the fix mentioned in this bug[1], seems like it supports embedding editors inside another(composite). In that case we may not want to remove the embedded editors.
Please give me your thoughts and any guidelines, i'd like to tryout this approach. Your directions are highly appreciated.

[1] - https://bugs.eclipse.org/bugs/show_bug.cgi?id=46207

Thanks



On Tue, Apr 8, 2014 at 12:17 PM, Lorenzo Bettini <lorenzo.bettini@xxxxxxxxx> wrote:
On 08/04/2014 08:43, Susinda wrote:
> Hi Bob
>
> Currently i do not have experience in Xtext and _expression_ grammars etc,
> however if this is needed i could have a look at those and start. But
> what i was worrying about is other issue that you have reported in [1].
> As i can see we are stuck with the compile error in the EditorInViewSite
> class in org.eclipse.bpel.common.ui.composite. This was due to the api
> change introduced in eclipse Juno. I have few questions on this.
>     Does Lorenzo's patch fix this issue. If so can i have that patch to
> tryout and have a look.

From what I remember, yes, my patch also reintroduce the possibility of
embedding a text editor (actually a text field), independently from
Xtext.  The main point is to NOT use an editor site, but a text field
(again, if I remember correctly :)

>     Where can i found the latest (half completed) source (I'm using the
> source @ http://git.eclipse.org/gitroot/bpel/org.eclipse.bpel.git but
> that doesn't reflect such changes)
>
> Thanks
> Susinda
>
>
>
>
>
>
>
> On Tue, Apr 8, 2014 at 2:53 AM, Bob Brodt <bbrodt@xxxxxxxxxx
> <mailto:bbrodt@xxxxxxxxxx>> wrote:
>
>     Hi Susinda,
>
>     Thanks for the offer to help - it is greatly appreciated :)
>
>     The BPEL _expression_ editor extension is currently half complete:
>     Xtext has been integrated into the project, but we are lacking the
>     _expression_ grammars for XPath (and possibly XPath 2 and java). If
>     you have experience with Xtext and converting an abstract grammar
>     definition into one that can be parsed by Xtext, that would be a
>     great help and we can continue to move the project forward.
>
>     Please let me know if you are willing/able to help in this capacity.
>
>     Thanks,
>     Bob
>
>
>     ------------------------------------------------------------------------
>
>         Hi Bob
>
>         Yes i'm willing to volunteer to fix this issue. If you could
>         give me some points on how/where to start, that would be easy
>         for me to give a quick start.
>         @ Lorenzo - Could you please provide me the link for your patch,
>         So i could start from your patch.
>
>         Thanks all for all the inputs and responses.
>
>         Susinda
>
>
>
>
>         On Sun, Apr 6, 2014 at 2:01 PM, Lorenzo Bettini
>         <lorenzo.bettini@xxxxxxxxx <mailto:lorenzo.bettini@xxxxxxxxx>>
>         wrote:
>
>             Hi
>
>             I don't know whether this is related but last year I
>             submitted a patch to renable the _expression_ editor and also
>             to integrate Xtext languages...
>
>             cheers
>                     Lorenzo
>
>             --
>             Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
>             HOME: http://www.lorenzobettini.it
>             Xtext Book:
>             http://www.packtpub.com/implementing-domain-specific-languages-with-xtext-and-xtend/book
>             <http://www.packtpub.com/implementing-domain-specific-languages-with-xtext-and-xtend/book>
>
>
>             On 4/4/2014 7:55 PM, Bob Brodt wrote:
>
>                 Hi Susinda,
>
>                 This is a significant rewrite and, unfortunately has
>                 been put off
>                 because of other ongoing work. We are looking for
>                 volunteers to help
>                 with this project, so if you or someone you know is
>                 interested please
>                 let me know ;)
>                 I don't expect this enhancement to be available until
>                 the Luna release
>                 (June 25) or possibly later.
>
>                 Cheers,
>                 Bob
>
>                 ________________________
>                 Robert ("Bob") Brodt
>                 Senior Software Engineer
>                 JBoss by Red Hat
>
>                 ------------------------------------------------------------------------
>
>
>                     Hi Andrej
>
>                     Thanks a lot for the quick response. I tried with
>                 Kepler and BPEL
>                     1.0.3 and now i can see the editor. But following
>                 parts and features
>                     are missing
>
>                      1. _expression_ Language' selection drop-down menu is
>                 missing
>                      2. Context Menu is missing
>                      3. Variable Picker (Which comes when click the
>                 context menu) is missing
>                      4. XPath _expression_ auto fill functionality is not
>                 there.
>
>
>
>                     The readme file at
>                 org.eclipse.bpel.ui.noEmbeddedEditors package
>                     says following
>
>                     This plugin is essentially a duplicate of
>                 org.eclipse.bpel.ui with
>                     the embedded editor functionality removed.
>                     This was necessary because of breaking
>                 org.eclipse.ui API changes in
>                     Eclipse Juno.
>                     After this feature is rewritten to work with Juno,
>                 this plugin must
>                     be removed and the plugins/pom.xml restored to its
>                 original.
>
>                     I think this is the reason for above (1, 2, 3, 4)
>                 issues. I guess
>                     this need to be properly fixed (i.e this feature is
>                 rewritten) so
>                     these issues will be fixed.
>                     So what i wanted to ask is to know when this will be
>                 fixed, is
>                     anyone working on this or is there any patches etc.
>
>                     Thanks
>
>
>
>                     On Fri, Apr 4, 2014 at 12:06 PM, Andrej Podhradsky
>                     <apodhrad@xxxxxxxxxx <mailto:apodhrad@xxxxxxxxxx>
>                 <mailto:apodhrad@xxxxxxxxxx
>                 <mailto:apodhrad@xxxxxxxxxx>>> wrote:
>
>                         Hi Susinda,
>
>                         I recommend to use Eclipse Kepler for JEE
>                 Develepers with BPEL
>                         plugin of version 1.0.3.
>                         If the problem is still present, could you
>                 report a bug, please?
>
>                         Have a nice day!
>
>                         Andrej
>
>                         ----- Original Message -----
>                         From: "Susinda" <susinda@xxxxxxxxx
>                 <mailto:susinda@xxxxxxxxx> <mailto:susinda@xxxxxxxxx
>                 <mailto:susinda@xxxxxxxxx>>>
>                         To: bpel-dev@xxxxxxxxxxx
>                 <mailto:bpel-dev@xxxxxxxxxxx>
>                 <mailto:bpel-dev@xxxxxxxxxxx <mailto:bpel-dev@xxxxxxxxxxx>>
>                         Sent: Friday, April 4, 2014 7:37:21 AM
>                         Subject: [bpel-dev] BPEL - _expression_ Editor is
>                 not working,
>                           How can we fix this
>
>                         Hi All
>                         I tried to use an _expression_ in assign activity,
>                 but _expression_
>                         editor is not loading so i could not give an
>                 _expression_.
>                         I have read your issue tracker[1] and googled
>                 this issue and got
>                         to know that this issue was because of the
>                         org.eclipse.ui.internal.EditorSite class has
>                 been removed when
>                         eclipse goes to Juno. The mentioned fix @[1] has
>                 removed the
>                         _expression_ editor totally therefore BPEL
>                 Designer plugin
>                         unusable in Eclipse Juno.
>                         May i know when this will be fixed and Do u have
>                 any releases
>                         planned in near future in which this would be fixed.
>                         Also i'd like to contribute to fix this issue,
>                 in that case do
>                         you have any guidelines that would be valuable
>                 for me to
>                         proceed. And i'd like to know if any patches
>                 exists for this issue.
>
>                         Thanks
>                         [1] -
>                 https://bugs.eclipse.org/bugs/show_bug.cgi?id=378997
>                 <https://bugs.eclipse.org/bugs/show_bug.cgi?id=378997>
>
>
>                         --
>                         **********************************
>                         Susinda Perera
>                         B.Sc. (Eng), AMIE(SL)
>                         E-mail : susinda@xxxxxxxxx
>                 <mailto:susinda@xxxxxxxxx> <mailto:susinda@xxxxxxxxx
>                 <mailto:susinda@xxxxxxxxx>>
>                         Voice : 0716049075 <tel:0716049075>
>                 <tel:0716049075 <tel:0716049075>>
>
>                         **********************************
>
>                         _______________________________________________
>                         bpel-dev mailing list
>                         bpel-dev@xxxxxxxxxxx
>                 <mailto:bpel-dev@xxxxxxxxxxx>
>                 <mailto:bpel-dev@xxxxxxxxxxx <mailto:bpel-dev@xxxxxxxxxxx>>
>
>
>                 https://dev.eclipse.org/mailman/listinfo/bpel-dev
>                 <https://dev.eclipse.org/mailman/listinfo/bpel-dev>
>                         _______________________________________________
>                         bpel-dev mailing list
>                         bpel-dev@xxxxxxxxxxx
>                 <mailto:bpel-dev@xxxxxxxxxxx>
>                 <mailto:bpel-dev@xxxxxxxxxxx <mailto:bpel-dev@xxxxxxxxxxx>>
>
>
>                 https://dev.eclipse.org/mailman/listinfo/bpel-dev
>                 <https://dev.eclipse.org/mailman/listinfo/bpel-dev>
>
>
>
>
>                     --
>                     **********************************
>                     Susinda Perera
>                     B.Sc. (Eng), AMIE(SL)
>                     E-mail : susinda@xxxxxxxxx
>                 <mailto:susinda@xxxxxxxxx> <mailto:susinda@xxxxxxxxx
>                 <mailto:susinda@xxxxxxxxx>>
>
>                     Voice  : 0716049075 <tel:0716049075>
>                     **********************************
>
>                     _______________________________________________
>                     bpel-dev mailing list
>                     bpel-dev@xxxxxxxxxxx <mailto:bpel-dev@xxxxxxxxxxx>
>                     https://dev.eclipse.org/mailman/listinfo/bpel-dev
>                 <https://dev.eclipse.org/mailman/listinfo/bpel-dev>
>
>
>
>
>                 _______________________________________________
>                 bpel-dev mailing list
>                 bpel-dev@xxxxxxxxxxx <mailto:bpel-dev@xxxxxxxxxxx>
>                 https://dev.eclipse.org/mailman/listinfo/bpel-dev
>                 <https://dev.eclipse.org/mailman/listinfo/bpel-dev>
>
>
>             _______________________________________________
>             bpel-dev mailing list
>             bpel-dev@xxxxxxxxxxx <mailto:bpel-dev@xxxxxxxxxxx>
>             https://dev.eclipse.org/mailman/listinfo/bpel-dev
>             <https://dev.eclipse.org/mailman/listinfo/bpel-dev>
>
>
>
>
>         --
>         **********************************
>         Susinda Perera
>         B.Sc. (Eng), AMIE(SL)
>         E-mail : susinda@xxxxxxxxx <mailto:susinda@xxxxxxxxx>
>         Voice  : 0716049075 <tel:0716049075>
>         **********************************
>
>         _______________________________________________
>         bpel-dev mailing list
>         bpel-dev@xxxxxxxxxxx <mailto:bpel-dev@xxxxxxxxxxx>
>         https://dev.eclipse.org/mailman/listinfo/bpel-dev
>
>
>
>     _______________________________________________
>     bpel-dev mailing list
>     bpel-dev@xxxxxxxxxxx <mailto:bpel-dev@xxxxxxxxxxx>
>     https://dev.eclipse.org/mailman/listinfo/bpel-dev
>
>
>
>
> --
> **********************************
> Susinda Perera
> B.Sc. (Eng), AMIE(SL)
> E-mail : susinda@xxxxxxxxx <mailto:susinda@xxxxxxxxx>
> Voice  : 0716049075
> **********************************
>
>
> _______________________________________________
> bpel-dev mailing list
> bpel-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/bpel-dev
>


--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it
Xtext Book:
http://www.packtpub.com/implementing-domain-specific-languages-with-xtext-and-xtend/book

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



--
**********************************
Susinda Perera
B.Sc. (Eng), AMIE(SL)
E-mail : susinda@xxxxxxxxx
Voice  : 0716049075
**********************************

Back to the top