Custom Native Widgetshttps://www.eclipse.org/forums/index.php/mv/msg/159325/503228/#msg_503228
I'm participating in logistics and business automatization system development.
Our system is client-server. Client part built upon Eclipse RCP. Our user have Windows, Mac OS X, as well as Linux OS'es.

In pursue of better user experience sometimes appears tasks of designing new type of widgets. Up until now they were solved in Java/SWT environment.

Here's brief description of one such widget. Users of MacOS should be familiar with NSSearchField control. We want to create control like this, but with ability to add arbitrary amount of buttons to it. We need ability to add more than 1 button to control. We also want to have autocompletion, though this bit can be accomplished with standard JFace methods. To make it more understandable, there is a picture attached. In this picture one can see such a control on Windows and Mac OS X.

The way those controls are created now is not to our liking. We think, it would be better to create them using native means (like C/Win32API or Objective-C/Cocoa etc.). Hence we want to know, are there some rules or guidelines we should learn in order to start development of native custom widget on C and it's SWT counterpart?

Another question, are there any criteria of selection of ideas or code for participating in swt-upstream?I'm participating in logistics and business automatization system development.
Our system is client-server. Client part built upon Eclipse RCP. Our user have Windows, Mac OS X, as well as Linux OS'es.

In pursue of better user experience sometimes appears tasks of designing new type of widgets. Up until now they were solved in Java/SWT environment.

Here's brief description of one such widget. Users of MacOS should be familiar with NSSearchField control. We want to create control like this, but with ability to add arbitrary amount of buttons to it. We need ability to add more than 1 button to control. We also want to have autocompletion, though this bit can be accomplished with standard JFace methods. To make it more understandable, there is a picture attached. In this picture one can see such a control on Windows and Mac OS X.

The way those controls are created now is not to our liking. We think, it would be better to create them using native means (like C/Win32API or Objective-C/Cocoa etc.). Hence we want to know, are there some rules or guidelines we should learn in order to start development of native custom widget on C and it's SWT counterpart?

Another question, are there any criteria of selection of ideas or code for participating in swt-upstream?]]>Andrey2009-12-11T08:33:13-00:00Re: Custom Native Widgetshttps://www.eclipse.org/forums/index.php/mv/msg/159325/503235/#msg_503235
There's a special project named Nebula which deals with custom controls
and controls not going into SWT itself.

I invite you to contribute your widgets to Nebula if you want to. We
happily accept new widgets. If you are interested please send a mail thenebula-dev@eclipse.org (you need to subscribed before posting to the
mailing list) or contact me under this E-Mail-Address.

Tom
Nebula Project Lead

Am 11.12.09 09:33, schrieb Andrey:
> Hello!
>
> I'm participating in logistics and business automatization system
> development.
> Our system is client-server. Client part built upon Eclipse RCP. Our
> user have Windows, Mac OS X, as well as Linux OS'es.
>
> In pursue of better user experience sometimes appears tasks of designing
> new type of widgets. Up until now they were solved in Java/SWT environment.
>
> Here's brief description of one such widget. Users of MacOS should be
> familiar with NSSearchField control. We want to create control like
> this, but with ability to add arbitrary amount of buttons to it. We need
> ability to add more than 1 button to control. We also want to have
> autocompletion, though this bit can be accomplished with standard JFace
> methods. To make it more understandable, there is a picture attached. In
> this picture one can see such a control on Windows and Mac OS X.
>
> The way those controls are created now is not to our liking. We think,
> it would be better to create them using native means (like C/Win32API or
> Objective-C/Cocoa etc.). Hence we want to know, are there some rules or
> guidelines we should learn in order to start development of native
> custom widget on C and it's SWT counterpart?
>
> Another question, are there any criteria of selection of ideas or code
> for participating in swt-upstream?I'm participating in logistics and
> business automatization system development.
> Our system is client-server. Client part built upon Eclipse RCP. Our
> user have Windows, Mac OS X, as well as Linux OS'es.
>
> In pursue of better user experience sometimes appears tasks of designing
> new type of widgets. Up until now they were solved in Java/SWT environment.
>
> Here's brief description of one such widget. Users of MacOS should be
> familiar with NSSearchField control. We want to create control like
> this, but with ability to add arbitrary amount of buttons to it. We need
> ability to add more than 1 button to control. We also want to have
> autocompletion, though this bit can be accomplished with standard JFace
> methods. To make it more understandable, there is a picture attached. In
> this picture one can see such a control on Windows and Mac OS X.
>
> The way those controls are created now is not to our liking. We think,
> it would be better to create them using native means (like C/Win32API or
> Objective-C/Cocoa etc.). Hence we want to know, are there some rules or
> guidelines we should learn in order to start development of native
> custom widget on C and it's SWT counterpart?
>
> Another question, are there any criteria of selection of ideas or code
> for participating in swt-upstream?]]>Thomas Schindl2009-12-11T14:24:49-00:00Re: Custom Native Widgetshttps://www.eclipse.org/forums/index.php/mv/msg/159325/503279/#msg_503279
Eclipse Corner article http://www.eclipse.org/articles/Article-Writing%20Your%20Own %20Widget/Writing%20Your%20Own%20Widget.htm
discusses creating custom controls. The article is old but still 100%
applicable today.

Based on your description, Nebula would probably be the best destination for
your new control (I see Tom has given you the Nebula details).

HTH,
Grant

"Andrey" <andyglow@gmail.com> wrote in message
news:hftho6$52e$1@build.eclipse.org...
> Hello!
>
> I'm participating in logistics and business automatization system
development.
> Our system is client-server. Client part built upon Eclipse RCP. Our user
have Windows, Mac OS X, as well as Linux OS'es.
>
> In pursue of better user experience sometimes appears tasks of designing
new type of widgets. Up until now they were solved in Java/SWT environment.
>
> Here's brief description of one such widget. Users of MacOS should be
familiar with NSSearchField control. We want to create control like this,
but with ability to add arbitrary amount of buttons to it. We need ability
to add more than 1 button to control. We also want to have autocompletion,
though this bit can be accomplished with standard JFace methods. To make it
more understandable, there is a picture attached. In this picture one can
see such a control on Windows and Mac OS X.
>
> The way those controls are created now is not to our liking. We think, it
would be better to create them using native means (like C/Win32API or
Objective-C/Cocoa etc.). Hence we want to know, are there some rules or
guidelines we should learn in order to start development of native custom
widget on C and it's SWT counterpart?
>
> Another question, are there any criteria of selection of ideas or code for
participating in swt-upstream?I'm participating in logistics and business
automatization system development.
> Our system is client-server. Client part built upon Eclipse RCP. Our user
have Windows, Mac OS X, as well as Linux OS'es.
>
> In pursue of better user experience sometimes appears tasks of designing
new type of widgets. Up until now they were solved in Java/SWT environment.
>
> Here's brief description of one such widget. Users of MacOS should be
familiar with NSSearchField control. We want to create control like this,
but with ability to add arbitrary amount of buttons to it. We need ability
to add more than 1 button to control. We also want to have autocompletion,
though this bit can be accomplished with standard JFace methods. To make it
more understandable, there is a picture attached. In this picture one can
see such a control on Windows and Mac OS X.
>
> The way those controls are created now is not to our liking. We think, it
would be better to create them using native means (like C/Win32API or
Objective-C/Cocoa etc.). Hence we want to know, are there some rules or
guidelines we should learn in order to start development of native custom
widget on C and it's SWT counterpart?
>
> Another question, are there any criteria of selection of ideas or code for
participating in swt-upstream?]]>Grant Gayed2009-12-11T16:30:57-00:00