Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Re: SWT newbie question
Re: SWT newbie question [message #327106] Wed, 09 April 2008 17:42 Go to next message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

jesse driver wrote:
> I am a user of JBoss jBPM, which has a designer in eclipse. We have a
> need to take the designer as delivered by the jboss.org open source
> group and remove some of the eclipse functionality. We want to do this
> because some people designing a workflow are not java developers so we'd
> like to strip off some of those menus.
>
> So I have a development project that only involves removing menus, and
> thought this might be an easier problem than the questions that I see on
> this and other groups regarding SWT.
>
> Can someone point me to a tutorial, or provide me with high level
> description of how I might go about this. I can assume that I can get
> the source from the JBoss developers.
>
> Don't be afraid to tell me if this very hard or ridiculously easy.

The things you need to do (removing menu items) are not really related
to SWT. You'd be better off asking on the eclipse.platform or
eclipse.platform.rcp groups.

I've CCed and set the follow-up header of this reply to those groups.

Hope this helps,
Eric
Re: SWT newbie question [message #327108 is a reply to message #327106] Wed, 09 April 2008 19:35 Go to previous messageGo to next message
Eclipse UserFriend
Eric Rizzo wrote:
> jesse driver wrote:
>> I am a user of JBoss jBPM, which has a designer in eclipse. We have a
>> need to take the designer as delivered by the jboss.org open source
>> group and remove some of the eclipse functionality. We want to do this
>> because some people designing a workflow are not java developers so
>> we'd like to strip off some of those menus.
>>
>> So I have a development project that only involves removing menus, and
>> thought this might be an easier problem than the questions that I see
>> on this and other groups regarding SWT.
>>
>> Can someone point me to a tutorial, or provide me with high level
>> description of how I might go about this. I can assume that I can get
>> the source from the JBoss developers.
>>
>> Don't be afraid to tell me if this very hard or ridiculously easy.
>
> The things you need to do (removing menu items) are not really related
> to SWT. You'd be better off asking on the eclipse.platform or
> eclipse.platform.rcp groups.
>
> I've CCed and set the follow-up header of this reply to those groups.
>
> Hope this helps,
> Eric

I've never seen anyone get a lot of help with un-contributing
contributions through non-API approaches and that's where you're headed.
Having been there with things other than the jBPM Designer I would
tell you:

Run away. It is a suicide mission. The jBPM Designer contributes to
the Eclipse SDK and uses EMF, GEF, DTP, and WTP. Odds are that the
'eclipse functionality' you want to remove is defined in Eclipse's own
internal Java code. The side effects of changing those types of things
have side effects. Even if what you want to remove is contributed
declaratively in plugin.xml or manifest files you're asking for trouble
with the rest of the component stack. Eclipse 3.4 is due in June. A
new jBPM Designer will probably not be too far behind and you'll be back
at square one.

-
Steve
Re: SWT newbie question [message #327145 is a reply to message #327106] Fri, 11 April 2008 10:30 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jdriver.yahoo.com

Thanks for that feedback. I'll go over and browse that group.

I guess I have alot to learn but have attended some technical sessions
about SWT and osgi at JavaOne and other technical presentations. Would
platform programming involve osgi layer programming?

Still interested if there is a book or tutorial recommendation from anyone
regarding this issue.

Thanks. - Jesse
Re: SWT newbie question [message #327146 is a reply to message #327108] Fri, 11 April 2008 10:48 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jdriver.yahoo.com

Steve,

Thanks for that advice. I want to clarify that the idea of removing
these un-used decorations around the jBPM designer window is something
that I am being encouraged to pursue by leaders on the jboss.org jBPM user
forum.

Apparently the developers of JBoss jBPM have always intended to do this
but as with other open source projects things do not get done unless
someone volunteers to do it. The same developers that will release the
jBPM designer on the new version of eclipse will still be interested in
this task being done.

If this is a suicide mission, then I will provide that feedback to the
jBPM core team and maybe they will propose another approach to solve the
requirement that this effort might have addressed.

My assumption was that it seems like there is alot of activity in
people making tools based upon eclipse, so I would not need to redevelop
the jBPM designer in another tech stack like JSF or Swing, but rather
customize the current eclipse based tool. That way, when the jBPM or
eclipse platform changed with new releases, a similar customization to the
tool could be applied again.

Another proposal would be to redevelop the jPDL designer in a Swing or
java applet, but I wanted to explore the idea of modifying the existing
eclipse plug-in since this is currently the only open source
implementation of a jBPM designer. The jBPM user forum contributors seem
to believe that this is a feasible path, and although I have much java and
UI experience, have never done any osgi or SWT projects up until now.

If you have found a tutorial or article or book that can help me
understand the technical challenges at a more detailed level I would
greatly appreciate it.

Thanks. - Jesse
Re: SWT newbie question [message #327147 is a reply to message #327106] Fri, 11 April 2008 10:58 Go to previous messageGo to next message
Eclipse UserFriend
The easiest way to remove contributions made declarative is by using the
equinox-transformer which allows you to remove parts of the plugin.xml
before it is handed over to the eclipse internals.

See
http://wiki.eclipse.org/Special:Search?search=equinox+transf ormer&go.x=0&go.y=0&go=Go

Tom

Eric Rizzo schrieb:
> jesse driver wrote:
>> I am a user of JBoss jBPM, which has a designer in eclipse. We have a
>> need to take the designer as delivered by the jboss.org open source
>> group and remove some of the eclipse functionality. We want to do this
>> because some people designing a workflow are not java developers so
>> we'd like to strip off some of those menus.
>>
>> So I have a development project that only involves removing menus, and
>> thought this might be an easier problem than the questions that I see
>> on this and other groups regarding SWT.
>>
>> Can someone point me to a tutorial, or provide me with high level
>> description of how I might go about this. I can assume that I can get
>> the source from the JBoss developers.
>>
>> Don't be afraid to tell me if this very hard or ridiculously easy.
>
> The things you need to do (removing menu items) are not really related
> to SWT. You'd be better off asking on the eclipse.platform or
> eclipse.platform.rcp groups.
>
> I've CCed and set the follow-up header of this reply to those groups.
>
> Hope this helps,
> Eric


--
B e s t S o l u t i o n . at
------------------------------------------------------------ --------
Tom Schindl JFace-Committer
------------------------------------------------------------ --------
Re: SWT newbie question [message #327152 is a reply to message #327146] Fri, 11 April 2008 13:03 Go to previous messageGo to next message
Eclipse UserFriend
That may be different then. Get your list of things you want to remove
together and identify where they're defined. I'd love to be wrong here.

Jesse Driver wrote:
> Steve,
>
> Thanks for that advice. I want to clarify that the idea of removing
> these un-used decorations around the jBPM designer window is something
> that I am being encouraged to pursue by leaders on the jboss.org jBPM
> user forum.
>
> Apparently the developers of JBoss jBPM have always intended to do
> this but as with other open source projects things do not get done
> unless someone volunteers to do it. The same developers that will
> release the jBPM designer on the new version of eclipse will still be
> interested in this task being done.
>
> If this is a suicide mission, then I will provide that feedback to the
> jBPM core team and maybe they will propose another approach to solve the
> requirement that this effort might have addressed.
>
> My assumption was that it seems like there is alot of activity in
> people making tools based upon eclipse, so I would not need to redevelop
> the jBPM designer in another tech stack like JSF or Swing, but rather
> customize the current eclipse based tool. That way, when the jBPM or
> eclipse platform changed with new releases, a similar customization to
> the tool could be applied again.
>
> Another proposal would be to redevelop the jPDL designer in a Swing or
> java applet, but I wanted to explore the idea of modifying the existing
> eclipse plug-in since this is currently the only open source
> implementation of a jBPM designer. The jBPM user forum contributors seem
> to believe that this is a feasible path, and although I have much java
> and UI experience, have never done any osgi or SWT projects up until now.
>
> If you have found a tutorial or article or book that can help me
> understand the technical challenges at a more detailed level I would
> greatly appreciate it.
>
> Thanks. - Jesse
>
>
Re: SWT newbie question [message #327252 is a reply to message #327152] Mon, 14 April 2008 11:52 Go to previous message
Eclipse UserFriend
Originally posted by: jdriver.yahoo.com

It looks like I need to remove everything but the task view,
which is the window in the middle of the screen. The other response that I
received gave me a pointer to an XSLT transform that can be used to remove
everything but the task view.

My next issue is how to save the resulting xml file. Saving it to the file
system might be OK. I'm still looking into this part.
Previous Topic:Running Eclipse 1.0 - Got JRE 1.3?
Next Topic:Using .link files for shared drives
Goto Forum:
  


Current Time: Mon Apr 14 17:49:17 EDT 2025

Powered by FUDForum. Page generated in 0.02491 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top