Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Make swt easier, welcome to join us
Make swt easier, welcome to join us [message #1862320] Sat, 25 November 2023 06:58 Go to next message
zhangyuxiang Mising name is currently offline zhangyuxiang Mising nameFriend
Messages: 31
Registered: March 2011
Member
XWorker is an open source application written using dynamic model. You can use it to write various applications, or you can turn it into your own platform. Dynamic model is an abstract object-oriented programming method that uses models to program, and models are data, which can be represented by XML or JSON. One of the benefits of dynamic models is that a system that implements a dynamic model can program itself at runtime.

You can use XWorker to write SWT applications and other types of applications. If you are interested in this, welcome to join us.

XWorker homepage: https://www.xworker.org
SWT model demonstration page: https://www.xworker.org/do?sc=xworker.app.orgweb.web.Index&id=2292
SWT model online documentation: http://67.21.72.98/xworker/rap?app=xworker.example.DocumentRWT&filterThings=xworker.things.p2020.p07.p23.SWTIntroduce
Online example of SWT model: http://67.21.72.98/xworker/rap?app=xworker.example.ExampleRWT&filterThings=xworker.things.p2022.p12.p15.SWTExample

Hello World
<?xml version="1.0" encoding="utf-8"?>
 
<Shell name="shell" text="Hello World!" descriptors="xworker.swt.widgets.Shell"
  width="800" height="600">
     <FillLayout name="FillLayout"></FillLayout>
     <Browser name="Browser" url="https://www.xworker.org"></Browser>
</Shell>


GIF video of create and run hello world.
index.php/fa/43752/0/

[Updated on: Sat, 06 January 2024 02:42]

Report message to a moderator

Re: Make swt easier, welcome to join us [message #1862910 is a reply to message #1862320] Sat, 06 January 2024 02:56 Go to previous messageGo to next message
zhangyuxiang Mising name is currently offline zhangyuxiang Mising nameFriend
Messages: 31
Registered: March 2011
Member
The model can be run directly as a program, packaged into a single executable Jar, or packaged into a native application using JavaPackager.

Here is an example of the model being run directly as a program:

index.php/fa/43891/0/
  • Attachment: run_swt.gif
    (Size: 443.96KB, Downloaded 65 times)
Re: Make swt easier, welcome to join us [message #1862911 is a reply to message #1862320] Sat, 06 January 2024 03:06 Go to previous messageGo to next message
zhangyuxiang Mising name is currently offline zhangyuxiang Mising nameFriend
Messages: 31
Registered: March 2011
Member
The interface can be designed dynamically at runtime, and real-time programming at runtime can make programming faster.
As used in the example below, using Ctrl + middle mouse button opens the live design menu.
index.php/fa/43892/0/
Re: Make swt easier, welcome to join us [message #1862912 is a reply to message #1862320] Sat, 06 January 2024 03:11 Go to previous messageGo to next message
zhangyuxiang Mising name is currently offline zhangyuxiang Mising nameFriend
Messages: 31
Registered: March 2011
Member
There are rich control models, and you can easily define new control models.

For example, the following is an example of the ChatGPT chat control in:

index.php/fa/43893/0/
Re: Make swt easier, welcome to join us [message #1862913 is a reply to message #1862320] Sat, 06 January 2024 03:24 Go to previous messageGo to next message
zhangyuxiang Mising name is currently offline zhangyuxiang Mising nameFriend
Messages: 31
Registered: March 2011
Member
The advantage of dynamic models lies in accumulation and iteration. The more people use it, the richer the model becomes, and it is easier to iterate out more advanced models, making programming simpler and faster.

For example, the following Application model example:

index.php/fa/43894/0/

[Updated on: Sat, 06 January 2024 03:29]

Report message to a moderator

Re: Make swt easier, welcome to join us [message #1862914 is a reply to message #1862320] Sat, 06 January 2024 03:29 Go to previous message
zhangyuxiang Mising name is currently offline zhangyuxiang Mising nameFriend
Messages: 31
Registered: March 2011
Member
Dynamic model programming is generally programmed while the system is running, usually through various tools to help with programming, so it is usually demonstrated through videos. If there were more demonstrations, there would be a lot of videos on this page, so I won't put too many examples.

More examples can be found at the following address.
XWorker homepage: https://www.xworker.org
SWT model demonstration page: https://www.xworker.org/do?sc=xworker.app.orgweb.web.Index&id=2292
SWT model online documentation: http://67.21.72.98/xworker/rap?app=xworker.example.DocumentRWT&filterThings=xworker.things.p2020.p07.p23.SWTIntroduce
Online example of SWT model: http://67.21.72.98/xworker/rap?app=xworker.example.ExampleRWT&filterThings=xworker.things.p2022.p12.p15.SWTExample
Previous Topic:GTK: FileDialog to select multiple files from the "Recent" tab AND get their full paths?
Next Topic:Change DnD Target Highlight Background Color
Goto Forum:
  


Current Time: Mon May 06 14:24:05 GMT 2024

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

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

Back to the top