Eclipse Sirius custom layout - eclipse

I am fairly new to Sirius developing environment, I am trying to develop a custom module layout using Sirius, the documentation available is a bit advanced.
Is there any good source or tutorial available that explains how to create custom layout that explains the basics.

If you are looking for a custom layout when pressing the "Arrange-All" button in the Sirius toolbar of your diagram take a look at this article. Didn't read it completely but looks quite good if that's what you need.

Related

WindowBuilder SWT Table

Can you suggest me how to build a Table with Eclipse WindowBuilder Plugin and SWT?
I read the official docs but I found orrible example with fixed column size. I would like to build a Table who fit the parent container (I used composite) when it is resized.
P.S.: Maybe I should use Swing instead?? All valid example I have seen are with JTable..
Can you help me?
Thank you
Thank you for your reply!
I have to do a little GUI application for a friend, I'm not so practice nor with Swing neither with SWT.
Anyway I manage to do a Simple ApplicationWindow with menubar, some submenu item and a composite container under the menu where panel should appear when user clicks on menu item.
Than I manage to build a TableViewer inside that composite component.. but now I would like add another table in the same place (the table represents different thing and should appear or disappear when user click some menu button).
In Swing I see many example of CardLayout but nothing with SWT.
Can you suggest me a simple example of layered layout with SWT?? I have the impression that Swing is much more simple..
Thank you all
On my modest opinion, Swing is well documented than SWT and maybe more simple. I switched to it.
Thank you.

Flutter, preview of app and design plugin?

Why flutter does not contain a preview of the app while we are programming it?
Is there any design plugin to be able to drag and drop widgets like in android studio for android apps?
It is difficult to build an interface from code without having a preview of the application.
Thanks!!
Disclaimer: This is not a first party tool.
I think what you're looking for is this:
https://flutterstudio.app/
It's a drag and drop editor for building Flutter layouts.
My personal recommendation is to use an emulator and learn how all the layout widgets work. Thanks to hot-reload it's super easy to experiment and create what you're looking for.
Well, you have emulator. What else do you want to preview your app?
Also on dart dev tools, you have a render tree and widget inspector. There is an option called show debug paint that I highly use to see the size and boundaries of widgets, and many other options I didn't discover yet.
You can use flutter studio if you want to create your ui by dragging and dropping widgets but I didn't use it.
And I just found that.
I really didn't understand what you mean by previewing.
For example, when you are starting and have a lot of examples, you might not remember what they look like.
I might suggest that you save a screenshot in your assets, so you can then remember what the app is about, without running the code.

Check appearance of UI design in Qt Creator

I am experimenting with Qt Creator to design a main window form. Works like a charm. However from time to time I would like to check the visual appearance and the layout resize behaviour of the form. And I would like to do this without starting the entire application.
Is there a way to quickly render/visualize/open the designed form to check how it will behave and look like (without the business logic of course)? Probably I missed something obvious...
Tools > Form Editor > Preview...:

How to theme uitableview uiview and friends

I have a bunch of uiviews and uitable views. How can I theme them the same way you might make a stylesheet for html pages?
What is the best way to use a custom shared appearance properties across my iphone application
I dont think is possible using something like stylesheet!
I would advice you to theme your views as much as possible in the interface builder! but in this approach you will have to do it again, again and again!
Or you can have your custom components, such as, CustomTableView, which has all your themes! the issue about it, is that you cannot visualize your custom component in Interface Builder.
You should take a look at the Three20 library - it sounds like it's got exactly what you're looking for. I found a helpful looking tutorial here.

j2me form how to define gui properties

i'm new to j2me. how to set form elements (text field ,text box) width,font,alignment and other Gui related properties.
i tried to find solution for setting form background but no success. can you guide me
Firstly, J2ME is a very limited framework.
As far as I can remember if you are just using an item from the basic javax.microedition.lcdui package there is very limited styling available. It allows you to give directives on how to lay the item out on the screen and what the item's appearance mode will be.
An Item is not responsible for where it is placed and is down to the Screens layout management algorithm to place your item on the Screen. For example, the way Items are laid out on Forms and Lists differ based upon how the layout management works.
You can create your own customs items by extending CustomItem and implementing and overriding various functions to get the desired visual effect. This however is a lot of work
and the end result is not always very pleasing. You could also do the same by extending the Form class and overriding the paint methods to get your disered visual effect.
The best way to have control over form elements is to use one of the Widget like frameworks that exist and are built upon these basic J2ME classes. For example LWUIT and J2ME Polish allow you to style items in a very similar manner and layout Items using a CSS box inspired manner.
Although I have no used LWUIT so cannot vouch for it.