[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.swt] Re: Embedding Swing toolbar using SWT_AWT Bridge?
|
Hi Grant,
Thanks for the reply. In any case I'll check out the snippets and try to see
what I can do...
Thanks,
Rahul
"Grant Gayed" <grant_gayed@xxxxxxxxxx> wrote in message
news:fu574i$e9p$1@xxxxxxxxxxxxxxxxxxxx
> Hi Rahul,
>
> I think Paul's answer on the eclipse.platform newsgroup looks right
> (copied
> below in case others are interested).
>
> "
> 1) you can probably use a Swing toolbar in a Swing JFrame embedded in an
> SWT
> Composite using SWT_AWT
> 2) you can't place your Swing toolbar in the eclipse main toolbar/coolbar,
> SWT_AWT can't bridge a Swing toolbar into an SWT toolbar.
> "
>
> For some SWT_AWT example snippets see:
> http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet135.java
> http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet154.java
>
> Grant
>
>
> "Rahul Kamdar" <rtkamdar@xxxxxxxxxxxxxxxxx> wrote in message
> news:ftvksv$v57$1@xxxxxxxxxxxxxxxxxxxx
>> Hi,
>>
>> A part of what I am doing involves moving an already existing Swing
> toolbar
>> to Eclipse (native). Instead of defining a new action for each action
> within
>> the toolbar, is it possible for me to bring the existing Swing toolbar
> into
>> Eclipse using the SWT_AWT Bridge?
>>
>> Thanks,
>> Rahul
>>
>>
>
>