Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » [ANN] Advanced Eclipse SWT Designer
[ANN] Advanced Eclipse SWT Designer [message #101378] Mon, 28 July 2003 08:15 Go to next message
Eclipse UserFriend
Originally posted by: scheglov_ke.nlmk.ru

Eclipse Plugins Lab has released version 1.0 of its Advanced Eclipse SWT Designer.
Advanced Eclipse SWT Designer seamless extends Eclipse with SWT/JFace GUI designer
and set of wizards for quick start. For $299 you receive unlimited Designer upgrades,
and free e-mail support.

Free version of Advanced Eclipse SWT Designer is available
at http://www.swt-designer.com

Advanced Eclipse SWT Designer Features List:

1. Implements WYSIWYG GUI editing with native SWT controls by dragging and
dropping composites, layouts and controls.

2. Implemented as two-ways tool - generates directly Java code and enables
to change it in graphical editor or directly in source. All changes, made
directly in source code, will be displayed in the graphical designer.

3. Only pure SWT classes are used - zero overhead in runtime. There is no
any special library added to project.

4. Contains handy property editor for easy and intuitive property editing.
All changes will be immediatly displayed in the code editor and in the
graphical designer.

5. Displays component tree which makes navigation through components much
more easier.

6. Includes SWT applications, JFace dialogs and viewers creation wizards.

7. Visual menu design support.

8. Fully supports all SWT controls and JFace dialogs and viewers.

9. Fully supports SWT layout managers in the graphical editor. There are
three layout managers supported: grid, fill and row.

10. Seamlessly integrates with your existing Eclipse workspace. Just
unpack it and restart Eclipse.

11. Testing UI on the fly without compiling by clicking one button.

12. Intuitive interface. Easy to understand and comprehend.

13. Easy to get started with tutorial and samples provided.

Download Advanced Eclipse SWT Designer at http://www.swt-designer.com

--
SY, Konstantin.
Re: [ANN] Advanced Eclipse SWT Designer [message #101395 is a reply to message #101378] Mon, 28 July 2003 09:09 Go to previous messageGo to next message
Eclipse UserFriend
Konstantin Scheglov wrote:

> Eclipse Plugins Lab has released version 1.0 of its Advanced Eclipse SWT
> Designer.
> Advanced Eclipse SWT Designer seamless extends Eclipse with SWT/JFace GUI
> designer and set of wizards for quick start. For $299 you receive
> unlimited Designer upgrades, and free e-mail support.
>
> Free version of Advanced Eclipse SWT Designer is available
> at http://www.swt-designer.com
>
> Advanced Eclipse SWT Designer Features List:
>
> 1. Implements WYSIWYG GUI editing with native SWT controls by dragging and
> dropping composites, layouts and controls.
>
> 2. Implemented as two-ways tool - generates directly Java code and enables
> to change it in graphical editor or directly in source. All changes,
> made directly in source code, will be displayed in the graphical designer.
>
> 3. Only pure SWT classes are used - zero overhead in runtime. There is no
> any special library added to project.
>
> 4. Contains handy property editor for easy and intuitive property editing.
> All changes will be immediatly displayed in the code editor and in
> the graphical designer.
>
> 5. Displays component tree which makes navigation through components much
> more easier.
>
> 6. Includes SWT applications, JFace dialogs and viewers creation wizards.
>
> 7. Visual menu design support.
>
> 8. Fully supports all SWT controls and JFace dialogs and viewers.
>
> 9. Fully supports SWT layout managers in the graphical editor. There are
> three layout managers supported: grid, fill and row.
>
> 10. Seamlessly integrates with your existing Eclipse workspace. Just
> unpack it and restart Eclipse.
>
> 11. Testing UI on the fly without compiling by clicking one button.
>
> 12. Intuitive interface. Easy to understand and comprehend.
>
> 13. Easy to get started with tutorial and samples provided.
>
> Download Advanced Eclipse SWT Designer at http://www.swt-designer.com
>

I notice in your prerequisits that SWT Designer requires Windows,
is there a particular reason why it should not work with Linux or
is it just that it is not tested on that platform?
Re: [ANN] Advanced Eclipse SWT Designer [message #101794 is a reply to message #101378] Mon, 28 July 2003 17:39 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: adam._NO_SPAM_softfab.com

A couple of quick questions:

Before I download the trial version I looked at the features section &
it says (* being professional version only):


# Fully supports all SWT controls and JFace dialogs and viewers.*

Which aren't supported under the downloadable version?

# Testing UI on the fly without compiling by clicking one button.*

Is the alternative just to do a "rebuild project"? Or just run as java
application?

TIA

Adam
Re: [ANN] Advanced Eclipse SWT Designer [message #101885 is a reply to message #101395] Mon, 28 July 2003 23:14 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: scheglov_ke.nlmk.ru

David Goodenough <david.goodenough@btconnect.com> wrote:

>> Download Advanced Eclipse SWT Designer at http://www.swt-designer.com

> I notice in your prerequisits that SWT Designer requires Windows,
> is there a particular reason why it should not work with Linux or
> is it just that it is not tested on that platform?

Yes, there is reason.
Designer shows screenshots of real controls as figures in GEF.
I know, how to make screenshots under Windows, but don't know,
how to do this under Linux. May be you know this?

--
SY, Konstantin.
Re: [ANN] Advanced Eclipse SWT Designer [message #101894 is a reply to message #101794] Mon, 28 July 2003 23:22 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: scheglov_ke.nlmk.ru

Adam Flinton <adam@_no_spam_softfab.com> wrote:

> Before I download the trial version I looked at the features section &
> it says (* being professional version only):

> # Fully supports all SWT controls and JFace dialogs and viewers.*
> Which aren't supported under the downloadable version?
In free version there is no support for Custom controls and
no support for JFace viewers (including content/label providers).
I plan to add also support for JFace applications and other JFace and
Eclipse related things: wizards, property pages, etc.

> # Testing UI on the fly without compiling by clicking one button.*
> Is the alternative just to do a "rebuild project"? Or just run as java
> application?
In reality this feature is supported in free version.
Designer adds button "Test" on toolbar to show designed form, like
in other designers, for example VS. Designer creates all controls, so
you will able to test, how you form looks and behaves. But, of course,
your logic will not work.
So, yes, alternative is running application.

--
SY, Konstantin.
Re: [ANN] Advanced Eclipse SWT Designer [message #102065 is a reply to message #101894] Tue, 29 July 2003 06:58 Go to previous messageGo to next message
Eclipse UserFriend
Konstantin Scheglov wrote:

> Adam Flinton <adam@_no_spam_softfab.com> wrote:

> > Before I download the trial version I looked at the features section &
> > it says (* being professional version only):

> > # Fully supports all SWT controls and JFace dialogs and viewers.*
> > Which aren't supported under the downloadable version?
> In free version there is no support for Custom controls and
> no support for JFace viewers (including content/label providers).
> I plan to add also support for JFace applications and other JFace and
> Eclipse related things: wizards, property pages, etc.
I think JFace viewers should be supported in free version.
> > # Testing UI on the fly without compiling by clicking one button.*
> > Is the alternative just to do a "rebuild project"? Or just run as java
> > application?
> In reality this feature is supported in free version.
> Designer adds button "Test" on toolbar to show designed form, like
> in other designers, for example VS. Designer creates all controls, so
> you will able to test, how you form looks and behaves. But, of course,
> your logic will not work.
> So, yes, alternative is running application.
Re: [ANN] Advanced Eclipse SWT Designer [message #102084 is a reply to message #102065] Tue, 29 July 2003 07:16 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: scheglov_ke.nlmk.ru

kite <yipeng97@yahoo.com> wrote:

>> no support for JFace viewers (including content/label providers).
>> I plan to add also support for JFace applications and other JFace and
>> Eclipse related things: wizards, property pages, etc.
> I think JFace viewers should be supported in free version.
JFace support is biggest difference between free and professional
version. And it was fairly hard to implement them in designer.

--
SY, Konstantin.
Advanced Eclipse SWT Designer (http://www.swt-designer.com)
Re: [ANN] Advanced Eclipse SWT Designer [message #102112 is a reply to message #101885] Tue, 29 July 2003 07:59 Go to previous messageGo to next message
Eclipse UserFriend
Konstantin Scheglov wrote:

> David Goodenough <david.goodenough@btconnect.com> wrote:
>
>>> Download Advanced Eclipse SWT Designer at http://www.swt-designer.com
>
>> I notice in your prerequisits that SWT Designer requires Windows,
>> is there a particular reason why it should not work with Linux or
>> is it just that it is not tested on that platform?
>
> Yes, there is reason.
> Designer shows screenshots of real controls as figures in GEF.
> I know, how to make screenshots under Windows, but don't know,
> how to do this under Linux. May be you know this?
>
Well the easiest way to do this is using GIMP. It will take screen
shots and store them in just about any graphics format you want. But
you then get the question of which set of controls you want. There
are two different graphics systems, Motif and Gtk, which look quite
different - so you would need two sets.

If you have an SWT program that you would like me to run and take
a screen shot of let me know and I will take as picture of it for you
to chop up.

David
Re: [ANN] Advanced Eclipse SWT Designer [message #102149 is a reply to message #102112] Tue, 29 July 2003 08:05 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: scheglov_ke.nlmk.ru

David Goodenough <david.goodenough@btconnect.com> wrote:

>> Yes, there is reason.
>> Designer shows screenshots of real controls as figures in GEF.
>> I know, how to make screenshots under Windows, but don't know,
>> how to do this under Linux. May be you know this?
>>
> Well the easiest way to do this is using GIMP. It will take screen
> shots and store them in just about any graphics format you want. But
> you then get the question of which set of controls you want. There
> are two different graphics systems, Motif and Gtk, which look quite
> different - so you would need two sets.

> If you have an SWT program that you would like me to run and take
> a screen shot of let me know and I will take as picture of it for you
> to chop up.
Problem is that I need to make screenshots at runtime.
This is how I create images to show as figures in GEF.
I.e. I create real SWT form, make screenshot and then use it
to show in designer. I don't draw widgets myself, I use their real
images, this is why form in designer looks same as runned form.

--
SY, Konstantin.
Advanced Eclipse SWT Designer (http://www.swt-designer.com)
Re: [ANN] Advanced Eclipse SWT Designer [message #102163 is a reply to message #102149] Tue, 29 July 2003 09:10 Go to previous messageGo to next message
Eclipse UserFriend
Konstantin Scheglov wrote:

> David Goodenough <david.goodenough@btconnect.com> wrote:
>
>>> Yes, there is reason.
>>> Designer shows screenshots of real controls as figures in GEF.
>>> I know, how to make screenshots under Windows, but don't know,
>>> how to do this under Linux. May be you know this?
>>>
>> Well the easiest way to do this is using GIMP. It will take screen
>> shots and store them in just about any graphics format you want. But
>> you then get the question of which set of controls you want. There
>> are two different graphics systems, Motif and Gtk, which look quite
>> different - so you would need two sets.
>
>> If you have an SWT program that you would like me to run and take
>> a screen shot of let me know and I will take as picture of it for you
>> to chop up.
> Problem is that I need to make screenshots at runtime.
> This is how I create images to show as figures in GEF.
> I.e. I create real SWT form, make screenshot and then use it
> to show in designer. I don't draw widgets myself, I use their real
> images, this is why form in designer looks same as runned form.
>
> --
> SY, Konstantin.
> Advanced Eclipse SWT Designer (http://www.swt-designer.com)
How do you take the screenshot in Windows. Are you using an external
application or are you using a facility in SWT/GEF?

David
Re: [ANN] Advanced Eclipse SWT Designer [message #102266 is a reply to message #102084] Tue, 29 July 2003 10:17 Go to previous messageGo to next message
Eclipse UserFriend
Konstantin Scheglov wrote:

> kite <yipeng97@yahoo.com> wrote:

> >> no support for JFace viewers (including content/label providers).
> >> I plan to add also support for JFace applications and other JFace and
> >> Eclipse related things: wizards, property pages, etc.
> > I think JFace viewers should be supported in free version.
> JFace support is biggest difference between free and professional
> version. And it was fairly hard to implement them in designer.
If so , I think free version should support SWT custom control.
> --
> SY, Konstantin.
> Advanced Eclipse SWT Designer (http://www.swt-designer.com)
Re: [ANN] Advanced Eclipse SWT Designer [message #102510 is a reply to message #102149] Tue, 29 July 2003 12:41 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: vkyr.nospam-ision.net

"Konstantin Scheglov" <scheglov_ke@nlmk.ru> schrieb im Newsbeitrag
news:xCMj8mcVDHA.3968@fairy.ao.nlmk...
>...
>...
> Problem is that I need to make screenshots at runtime.
> This is how I create images to show as figures in GEF.
> I.e. I create real SWT form, make screenshot and then use it
> to show in designer. I don't draw widgets myself, I use their real
> images, this is why form in designer looks same as runned form.
>

Konstantin, I don't know if this is of any help for you, but the SWT
snippets show a way how to perform screenshots. Beside this,
http://www.bdaum.de/eclipse/eDump is an Eclipse based screenshot utility and
handles this *maybe* in a portable manner (?). You may ask the eDump author
"Berthold Daum" if he is willing to share some of his experiences here with
you, so that your Eclipse SWT Designer might can benefit from it.

However, the above are just rough suggestions and I don't know in detail
what you would need or not in order to perform the screenshots you would
need...

Regards

Valentino
Re: [ANN] Advanced Eclipse SWT Designer [message #102587 is a reply to message #101894] Tue, 29 July 2003 14:18 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: adam._NO_SPAM_softfab.com

Konstantin Scheglov wrote:
> Adam Flinton <adam@_no_spam_softfab.com> wrote:
>
>
>>Before I download the trial version I looked at the features section &
>>it says (* being professional version only):
>
>
>># Fully supports all SWT controls and JFace dialogs and viewers.*
>>Which aren't supported under the downloadable version?
>
> In free version there is no support for Custom controls and
> no support for JFace viewers (including content/label providers).
> I plan to add also support for JFace applications and other JFace and
> Eclipse related things: wizards, property pages, etc.
>

Ah right. Things like say a JFace Tree viewer? So I can create the
composite on which to put the Tree but not the Tree itself?

BTW re the other eclispe things...go for it. An all singing all dancing
SWT & plugin designer is what we're looking for (preferably with the
ability to "export as standalone app").

>
>># Testing UI on the fly without compiling by clicking one button.*
>>Is the alternative just to do a "rebuild project"? Or just run as java
>>application?
>
> In reality this feature is supported in free version.
> Designer adds button "Test" on toolbar to show designed form, like
> in other designers, for example VS. Designer creates all controls, so
> you will able to test, how you form looks and behaves. But, of course,
> your logic will not work.
> So, yes, alternative is running application.
>

OK.

Great I will d/l it & give it a go.

Adam
Re: [ANN] Advanced Eclipse SWT Designer [message #102739 is a reply to message #102163] Tue, 29 July 2003 23:19 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: scheglov_ke.nlmk.ru

David Goodenough <david.goodenough@btconnect.com> wrote:

> How do you take the screenshot in Windows. Are you using an external
> application or are you using a facility in SWT/GEF?
I use small piece of native code. I send message WM_PRINT with some
flags to force window to paint in specified GC. Just native function
with one line of code.
But I don't have experience with GTK or Motif, so I don't know, how
to do this with them. :-(

--
SY, Konstantin.
Advanced Eclipse SWT Designer (http://www.swt-designer.com)
Re: [ANN] Advanced Eclipse SWT Designer [message #102748 is a reply to message #102510] Tue, 29 July 2003 23:30 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: scheglov_ke.nlmk.ru

Valentino Kyriakides <vkyr@nospam-ision.net> wrote:

>> I.e. I create real SWT form, make screenshot and then use it
>> to show in designer. I don't draw widgets myself, I use their real
>> images, this is why form in designer looks same as runned form.
> Konstantin, I don't know if this is of any help for you, but the SWT
> snippets show a way how to perform screenshots. Beside this,
> http://www.bdaum.de/eclipse/eDump is an Eclipse based screenshot utility and
> handles this *maybe* in a portable manner (?). You may ask the eDump author
> "Berthold Daum" if he is willing to share some of his experiences here with
> you, so that your Eclipse SWT Designer might can benefit from it.
eDump just makes copy of screen, i.e. something like this:
GC displayGC = new GC(display);
Rectangle displayBounds = display.getBounds();
Image displayImage = new Image(display, displayBounds.width, displayBounds.height);
displayGC.copyArea(displayImage, 0, 0);
displayGC.dispose();
return displayImage;
I can do this, but in this case I will need to show form on screen before
making shot. And directly after this I will hide it. This means, that user
will see flicker. This is not very good... :-(


> However, the above are just rough suggestions and I don't know in detail
> what you would need or not in order to perform the screenshots you would
> need...
Yes, I understand.

--
SY, Konstantin.
Advanced Eclipse SWT Designer (http://www.swt-designer.com)
Re: [ANN] Advanced Eclipse SWT Designer [message #102761 is a reply to message #102587] Tue, 29 July 2003 23:34 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: scheglov_ke.nlmk.ru

Adam Flinton <adam@_no_spam_softfab.com> wrote:

>> In free version there is no support for Custom controls and
>> no support for JFace viewers (including content/label providers).

> Ah right. Things like say a JFace Tree viewer? So I can create the
> composite on which to put the Tree but not the Tree itself?
Yes, TreeViewer is supported in professional version, as other
JFace viewers. You can see, how I use them in flash demo on site.

>> I plan to add also support for JFace applications and other JFace and
>> Eclipse related things: wizards, property pages, etc.

> BTW re the other eclispe things...go for it. An all singing all dancing
> SWT & plugin designer is what we're looking for (preferably with the
> ability to "export as standalone app").
Hm... What do you mean under "export"?
Designer just allows you to edit your source code for creating
GUI in convinient way.

--
SY, Konstantin.
Advanced Eclipse SWT Designer (http://www.swt-designer.com)
Re: [ANN] Advanced Eclipse SWT Designer [message #102898 is a reply to message #102748] Wed, 30 July 2003 05:25 Go to previous messageGo to next message
Eclipse UserFriend
You can install VMWare in your windows workstation , then install linux in
VMWare , run designer in linux(VMWare) , then make screenshot for VMWare
window.

Konstantin Scheglov wrote:

> Valentino Kyriakides <vkyr@nospam-ision.net> wrote:

> >> I.e. I create real SWT form, make screenshot and then use it
> >> to show in designer. I don't draw widgets myself, I use their real
> >> images, this is why form in designer looks same as runned form.
> > Konstantin, I don't know if this is of any help for you, but the SWT
> > snippets show a way how to perform screenshots. Beside this,
> > http://www.bdaum.de/eclipse/eDump is an Eclipse based screenshot utility
and
> > handles this *maybe* in a portable manner (?). You may ask the eDump author
> > "Berthold Daum" if he is willing to share some of his experiences here with
> > you, so that your Eclipse SWT Designer might can benefit from it.
> eDump just makes copy of screen, i.e. something like this:
> GC displayGC = new GC(display);
> Rectangle displayBounds = display.getBounds();
> Image displayImage = new Image(display, displayBounds.width,
displayBounds.height);
> displayGC.copyArea(displayImage, 0, 0);
> displayGC.dispose();
> return displayImage;
> I can do this, but in this case I will need to show form on screen before
> making shot. And directly after this I will hide it. This means, that user
> will see flicker. This is not very good... :-(


> > However, the above are just rough suggestions and I don't know in detail
> > what you would need or not in order to perform the screenshots you would
> > need...
> Yes, I understand.
Re: [ANN] Advanced Eclipse SWT Designer [message #102930 is a reply to message #102898] Wed, 30 July 2003 06:20 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: scheglov_ke.nlmk.ru

kite <yipeng97@yahoo.com> wrote:


Problem is that I need to make screen shots in runtime, for
real SWT controls, which were created in designer.

> You can install VMWare in your windows workstation , then install linux in
> VMWare , run designer in linux(VMWare) , then make screenshot for VMWare
> window.

> Konstantin Scheglov wrote:

>> Valentino Kyriakides <vkyr@nospam-ision.net> wrote:

>> >> I.e. I create real SWT form, make screenshot and then use it
>> >> to show in designer. I don't draw widgets myself, I use their real
>> >> images, this is why form in designer looks same as runned form.
>> > Konstantin, I don't know if this is of any help for you, but the SWT
>> > snippets show a way how to perform screenshots. Beside this,
>> > http://www.bdaum.de/eclipse/eDump is an Eclipse based screenshot utility
> and
>> > handles this *maybe* in a portable manner (?). You may ask the eDump author
>> > "Berthold Daum" if he is willing to share some of his experiences here with
>> > you, so that your Eclipse SWT Designer might can benefit from it.
>> eDump just makes copy of screen, i.e. something like this:
>> GC displayGC = new GC(display);
>> Rectangle displayBounds = display.getBounds();
>> Image displayImage = new Image(display, displayBounds.width,
> displayBounds.height);
>> displayGC.copyArea(displayImage, 0, 0);
>> displayGC.dispose();
>> return displayImage;
>> I can do this, but in this case I will need to show form on screen before
>> making shot. And directly after this I will hide it. This means, that user
>> will see flicker. This is not very good... :-(


>> > However, the above are just rough suggestions and I don't know in detail
>> > what you would need or not in order to perform the screenshots you would
>> > need...
>> Yes, I understand.




--
SY, Konstantin.
Advanced Eclipse SWT Designer (http://www.swt-designer.com)
Re: [ANN] Advanced Eclipse SWT Designer [message #103094 is a reply to message #102930] Wed, 30 July 2003 09:20 Go to previous messageGo to next message
Eclipse UserFriend
I think the term "screenshot" has been the source of much confusion. This isn't
a typical screenshot that someone takes and posts on a website for people to see
what the editor looks like. In this case, as has been said, the "screenshot" is
being created at *runtime*. What's happening (and correct me if I'm wrong) is
an SWT control is being created (offscreen), the editor paints that control onto
an image (aka "screenshot") and that image is used inside the editor to show the
user what the control currently looks like. Then the user can alter the
contol's attributes through the editor, which will update the control, repaint
the control onto the image, then update the editor with the new image. I could
have some details wrong, but I believe that's the main idea.

Eric


Konstantin Scheglov wrote:
> kite <yipeng97@yahoo.com> wrote:
>
>
> Problem is that I need to make screen shots in runtime, for
> real SWT controls, which were created in designer.
>
>
>>You can install VMWare in your windows workstation , then install linux in
>>VMWare , run designer in linux(VMWare) , then make screenshot for VMWare
>>window.
>
>
>>Konstantin Scheglov wrote:
>
>
>>>Valentino Kyriakides <vkyr@nospam-ision.net> wrote:
>
>
>>>>> I.e. I create real SWT form, make screenshot and then use it
>>>>>to show in designer. I don't draw widgets myself, I use their real
>>>>>images, this is why form in designer looks same as runned form.
>>>>
>>>>Konstantin, I don't know if this is of any help for you, but the SWT
>>>>snippets show a way how to perform screenshots. Beside this,
>>>>http://www.bdaum.de/eclipse/eDump is an Eclipse based screenshot utility
>>
>>and
>>
>>>>handles this *maybe* in a portable manner (?). You may ask the eDump author
>>>>"Berthold Daum" if he is willing to share some of his experiences here with
>>>>you, so that your Eclipse SWT Designer might can benefit from it.
>>>
>>> eDump just makes copy of screen, i.e. something like this:
>>> GC displayGC = new GC(display);
>>> Rectangle displayBounds = display.getBounds();
>>> Image displayImage = new Image(display, displayBounds.width,
>>
>>displayBounds.height);
>>
>>> displayGC.copyArea(displayImage, 0, 0);
>>> displayGC.dispose();
>>> return displayImage;
>>> I can do this, but in this case I will need to show form on screen before
>>>making shot. And directly after this I will hide it. This means, that user
>>>will see flicker. This is not very good... :-(
>
>
>
>>>>However, the above are just rough suggestions and I don't know in detail
>>>>what you would need or not in order to perform the screenshots you would
>>>>need...
>>>
>>> Yes, I understand.
>
>
>
>
>
Re: [ANN] Advanced Eclipse SWT Designer [message #103106 is a reply to message #102930] Wed, 30 July 2003 09:19 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: burner.zclipse.org

On Wed, 30 Jul 2003 14:20:47 +0400, Konstantin Scheglov wrote:

> kite <yipeng97@yahoo.com> wrote:
>
>
> Problem is that I need to make screen shots in runtime, for
> real SWT controls, which were created in designer.
>

Maybe I'm missing something, but what's wrong with using java.awt.Robot's
screen grabbing facility for this case?

mike

--
http://zclipse.org
Re: [ANN] Advanced Eclipse SWT Designer [message #103672 is a reply to message #102587] Wed, 30 July 2003 22:50 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: cliff.yahoo.com

> BTW re the other eclispe things...go for it. An all singing all dancing
> SWT & plugin designer is what we're looking for (preferably with the
> ability to "export as standalone app").

After playing with your designer a bit, I just wanted to chime in here to
say that it appears you've done a great job, in usability, integration and
asthetics.

I haven't seen much else, but I evaluated SWT/JFace as front-end technology
for a large client/server app earlier in the year. If this were around then
it would have been a no-brainer. And for the professional version, the price
is very fair.

Thanks!
Cliff Resnick
Re: [ANN] Advanced Eclipse SWT Designer [message #103805 is a reply to message #103106] Thu, 31 July 2003 06:09 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: scheglov_ke.nlmk.ru

Michael R Head <burner@zclipse.org> wrote:

>> Problem is that I need to make screen shots in runtime, for
>> real SWT controls, which were created in designer.
> Maybe I'm missing something, but what's wrong with using java.awt.Robot's
> screen grabbing facility for this case?
I don't have problem with screen grabbing, I don't want to show SWT Shell
on screen. This will produce flicker, and not very convinient for users. :-(

I am going to use "fake" controls, i.e. draw someting like real control
myself, if Designer is used not under Windows, i.e. Linux and Mac.
What do you think, is this acceptable?

--
SY, Konstantin.
Advanced Eclipse SWT Designer (http://www.swt-designer.com)
Re: [ANN] Advanced Eclipse SWT Designer [message #103819 is a reply to message #103094] Thu, 31 July 2003 06:10 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: scheglov_ke.nlmk.ru

Eric Bordeau <ebordeau@us.ibm.com> wrote:

You are absolutely right, Eric.

> I think the term "screenshot" has been the source of much confusion. This isn't
> a typical screenshot that someone takes and posts on a website for people to see
> what the editor looks like. In this case, as has been said, the "screenshot" is
> being created at *runtime*. What's happening (and correct me if I'm wrong) is
> an SWT control is being created (offscreen), the editor paints that control onto
> an image (aka "screenshot") and that image is used inside the editor to show the
> user what the control currently looks like. Then the user can alter the
> contol's attributes through the editor, which will update the control, repaint
> the control onto the image, then update the editor with the new image. I could
> have some details wrong, but I believe that's the main idea.

> Eric


> Konstantin Scheglov wrote:
>> kite <yipeng97@yahoo.com> wrote:
>>
>>
>> Problem is that I need to make screen shots in runtime, for
>> real SWT controls, which were created in designer.
>>
>>
>>>You can install VMWare in your windows workstation , then install linux in
>>>VMWare , run designer in linux(VMWare) , then make screenshot for VMWare
>>>window.
>>
>>
>>>Konstantin Scheglov wrote:
>>
>>
>>>>Valentino Kyriakides <vkyr@nospam-ision.net> wrote:
>>
>>
>>>>>> I.e. I create real SWT form, make screenshot and then use it
>>>>>>to show in designer. I don't draw widgets myself, I use their real
>>>>>>images, this is why form in designer looks same as runned form.
>>>>>
>>>>>Konstantin, I don't know if this is of any help for you, but the SWT
>>>>>snippets show a way how to perform screenshots. Beside this,
>>>>>http://www.bdaum.de/eclipse/eDump is an Eclipse based screenshot utility
>>>
>>>and
>>>
>>>>>handles this *maybe* in a portable manner (?). You may ask the eDump author
>>>>>"Berthold Daum" if he is willing to share some of his experiences here with
>>>>>you, so that your Eclipse SWT Designer might can benefit from it.
>>>>
>>>> eDump just makes copy of screen, i.e. something like this:
>>>> GC displayGC = new GC(display);
>>>> Rectangle displayBounds = display.getBounds();
>>>> Image displayImage = new Image(display, displayBounds.width,
>>>
>>>displayBounds.height);
>>>
>>>> displayGC.copyArea(displayImage, 0, 0);
>>>> displayGC.dispose();
>>>> return displayImage;
>>>> I can do this, but in this case I will need to show form on screen before
>>>>making shot. And directly after this I will hide it. This means, that user
>>>>will see flicker. This is not very good... :-(
>>
>>
>>
>>>>>However, the above are just rough suggestions and I don't know in detail
>>>>>what you would need or not in order to perform the screenshots you would
>>>>>need...
>>>>
>>>> Yes, I understand.
>>
>>
>>
>>
>>


--
SY, Konstantin.
Advanced Eclipse SWT Designer (http://www.swt-designer.com)
Re: [ANN] Advanced Eclipse SWT Designer [message #103833 is a reply to message #103672] Thu, 31 July 2003 06:11 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: scheglov_ke.nlmk.ru

Cliff Resnick <cliff@yahoo.com> wrote:

Thank you.
I am happy, that people like my Designer.

>> BTW re the other eclispe things...go for it. An all singing all dancing
>> SWT & plugin designer is what we're looking for (preferably with the
>> ability to "export as standalone app").

> After playing with your designer a bit, I just wanted to chime in here to
> say that it appears you've done a great job, in usability, integration and
> asthetics.

> I haven't seen much else, but I evaluated SWT/JFace as front-end technology
> for a large client/server app earlier in the year. If this were around then
> it would have been a no-brainer. And for the professional version, the price
> is very fair.

> Thanks!
> Cliff Resnick



--
SY, Konstantin.
Advanced Eclipse SWT Designer (http://www.swt-designer.com)
Re: [ANN] Advanced Eclipse SWT Designer [message #104083 is a reply to message #103805] Thu, 31 July 2003 11:50 Go to previous messageGo to next message
Eclipse UserFriend
Konstantin Scheglov wrote:

> Michael R Head <burner@zclipse.org> wrote:
>
>>> Problem is that I need to make screen shots in runtime, for
>>> real SWT controls, which were created in designer.
>> Maybe I'm missing something, but what's wrong with using java.awt.Robot's
>> screen grabbing facility for this case?
> I don't have problem with screen grabbing, I don't want to show SWT
> Shell
> on screen. This will produce flicker, and not very convinient for users.
> :-(
>
> I am going to use "fake" controls, i.e. draw someting like real control
> myself, if Designer is used not under Windows, i.e. Linux and Mac.
> What do you think, is this acceptable?
>
Would it not also be sensible to submit this as a feature request to the
bug database? That way you would get (if they accepted it) a system
independant API for doing this and everyone would be happy.

David
Re: [ANN] Advanced Eclipse SWT Designer [message #104124 is a reply to message #104083] Thu, 31 July 2003 12:11 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.NOSPAM.us.ibm.com

There are already two out there:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=24362

https://bugs.eclipse.org/bugs/show_bug.cgi?id=26095

They are basically identical asking for the same thing, a print API to
get the image of the SWT widget. They are low priority and not in the
3.0 plan at this time.

Rich
Re: [ANN] Advanced Eclipse SWT Designer [message #104530 is a reply to message #103805] Fri, 01 August 2003 02:58 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: bob.objfac.com

"Konstantin Scheglov" <scheglov_ke@nlmk.ru> wrote in message
news:osa$Jv0VDHA.1584@fairy.ao.nlmk...
> I am going to use "fake" controls, i.e. draw someting like real control
> myself, if Designer is used not under Windows, i.e. Linux and Mac.
> What do you think, is this acceptable?

Not on Mac.

Bob Foster
Re: [ANN] Advanced Eclipse SWT Designer [message #104543 is a reply to message #104083] Fri, 01 August 2003 02:33 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: scheglov_ke.nlmk.ru

David Goodenough <david.goodenough@btconnect.com> wrote:

>> I am going to use "fake" controls, i.e. draw someting like real control
>> myself, if Designer is used not under Windows, i.e. Linux and Mac.
>> What do you think, is this acceptable?
> Would it not also be sensible to submit this as a feature request to the
> bug database? That way you would get (if they accepted it) a system
> independant API for doing this and everyone would be happy.
I don't think, that anyone will happy if I will say:
"Yes, you can use Designer, but with Eclipse 4.0. May be...".
I can not wait, until feature request will be implemented, I need
to create tool now, not in next year.
So, feature request is good, but this will not help me.

--
SY, Konstantin.
Advanced Eclipse SWT Designer (http://www.swt-designer.com)
Re: [ANN] Advanced Eclipse SWT Designer [message #104581 is a reply to message #104530] Fri, 01 August 2003 03:06 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: scheglov_ke.nlmk.ru

Bob Foster <bob@objfac.com> wrote:

>> I am going to use "fake" controls, i.e. draw someting like real control
>> myself, if Designer is used not under Windows, i.e. Linux and Mac.
>> What do you think, is this acceptable?
> Not on Mac.
Because on Mac controls are so beautiful? :-)
Do you know, how to make "screenshot" for SWT form on Mac?

--
SY, Konstantin.
Advanced Eclipse SWT Designer (http://www.swt-designer.com)
Re: [ANN] Advanced Eclipse SWT Designer [message #104708 is a reply to message #104543] Fri, 01 August 2003 07:20 Go to previous messageGo to next message
Eclipse UserFriend
Konstantin Scheglov wrote:

> David Goodenough <david.goodenough@btconnect.com> wrote:
>
>>> I am going to use "fake" controls, i.e. draw someting like real
>>> control
>>> myself, if Designer is used not under Windows, i.e. Linux and Mac.
>>> What do you think, is this acceptable?
>> Would it not also be sensible to submit this as a feature request to the
>> bug database? That way you would get (if they accepted it) a system
>> independant API for doing this and everyone would be happy.
> I don't think, that anyone will happy if I will say:
> "Yes, you can use Designer, but with Eclipse 4.0. May be...".
> I can not wait, until feature request will be implemented, I need
> to create tool now, not in next year.
> So, feature request is good, but this will not help me.
>
While Windows users might not be pleased, Linux users will have to wait
until you find a way to do this anyway. Putting pressure on the Eclipse
team to add this API sooner rather than later by giving them a real reason
why it is needed seems like a good solution for the medium term.

David
Re: [ANN] Advanced Eclipse SWT Designer [message #104716 is a reply to message #104708] Fri, 01 August 2003 08:00 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: scheglov_ke.nlmk.ru

David Goodenough <david.goodenough@btconnect.com> wrote:

>> So, feature request is good, but this will not help me.
>>
> While Windows users might not be pleased, Linux users will have to wait
> until you find a way to do this anyway. Putting pressure on the Eclipse
> team to add this API sooner rather than later by giving them a real reason
> why it is needed seems like a good solution for the medium term.
I don't think, that my vote cost much anyway... :-(

Problem is even not in supporting this feature by Eclipse.
If I will know how, I can implement it myself, how I found
way to do this in Win32. I've asked about this is out russian
Unix prog group, but did not received valuable answer.

--
SY, Konstantin.
Advanced Eclipse SWT Designer (http://www.swt-designer.com)
Re: [ANN] Advanced Eclipse SWT Designer [message #105250 is a reply to message #104581] Sat, 02 August 2003 01:51 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: bob.objfac.com

"Konstantin Scheglov" <scheglov_ke@nlmk.ru> wrote in message
news:0Aeort$VDHA.748@fairy.ao.nlmk...
> Bob Foster <bob@objfac.com> wrote:
>
> >> I am going to use "fake" controls, i.e. draw someting like real
control
> >> myself, if Designer is used not under Windows, i.e. Linux and Mac.
> >> What do you think, is this acceptable?
> > Not on Mac.
> Because on Mac controls are so beautiful? :-)

Yes.

> Do you know, how to make "screenshot" for SWT form on Mac?

I saved the following from a newsgroup posting. It says there is a snippet
on this.

Bob Foster
--------------------------------
Hi Peter,

The following snippet uses a GC to capture a widget's appearance to an
Image. You can then print this using the same approach you've used
before. This example will soon be added to the swt snippets collection.

public class CaptureWidgetImage {
public static void main(String[] args) {
final Display display = new Display();
final Shell shell = new Shell(display);
shell.setText("Widget");
shell.setBounds(10, 10, 200, 200);
final Table table = new Table(shell, SWT.MULTI);
table.setLinesVisible(true);
table.setBounds(10, 10, 100, 100);
for (int i = 0; i < 9; i++) {
new TableItem(table, SWT.NONE).setText("item" + i);
}
Button button = new Button(shell, SWT.PUSH);
button.setText("Capture");
button.setBounds(10, 140, 50, 20);
button.addListener(SWT.Selection, new Listener() {
public void handleEvent(Event event) {
Point tableSize = table.getSize();
GC gc = new GC(table);
final Image image =
new Image(display, tableSize.x, tableSize.y);
gc.copyArea(image, 0, 0);
gc.dispose();
Shell popup = new Shell(shell);
popup.setText("Image");
popup.setBounds(50, 50, 200, 200);
Canvas canvas = new Canvas(popup, SWT.NONE);
canvas.setBounds(10, 10, 150, 150);
canvas.addPaintListener(new PaintListener() {
public void paintControl(PaintEvent e) {
e.gc.drawImage(image, 0, 0);
}
});
popup.open();
}
});
shell.open();
while (!shell.isDisposed()) {
if (!display.readAndDispatch()) display.sleep();
}
display.dispose();
}
}

Grant


Peter Goetz wrote:

> Hi there!

> I've got a question about printing with SWT.
> I already managed to print text and images with a GC and a Printer-Device.

> Is it possible to print whole SWT-Widgets like a List or Table?

> Thanks a lot for your help in advance,

> Peter
Re: [ANN] Advanced Eclipse SWT Designer [message #105278 is a reply to message #104581] Sat, 02 August 2003 02:04 Go to previous message
Eclipse UserFriend
Originally posted by: bob.objfac.com

"Konstantin Scheglov" <scheglov_ke@nlmk.ru> wrote in message
news:0Aeort$VDHA.748@fairy.ao.nlmk...
> Do you know, how to make "screenshot" for SWT form on Mac?

Here is URL of a snippet.

http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/platform -swt-home/snippi
ts/snippet95.html

I don't see anything platform-specific about it.

Bob Foster
Previous Topic:Crashing - something to do with GTK natives, I'd guess.
Next Topic:repost: eclipse platfrom distirbution
Goto Forum:
  


Current Time: Tue Jul 22 15:58:01 EDT 2025

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

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

Back to the top