wso2 BPEL message-variable becomes un-expandable after some time - eclipse

I am using Developer Studio 3.8.0 on top of Eclipse Lunar to develop an BPEL project...
I have able to create a partner link, assign the input message variable, and invoke the partner link.
however, I found out that after sometime, the message variable (the input/output variable used when calling a partner link) become un-expandable.
see the snapshot below
I tried to create a new message variable with the same partner link ( of different operation), and the message variable is expandable. (see shap shot below)
this is very annoying, because I am totally depending on the graphic designing iterface; and it become almost impossible to any job when complex composite variables become un-expandable in the GUI
anyone has any idea? or any suggestion?
cheers

WSO2 Developer studio is using the JDT UI elements in Eclipse platform[1]. However in some cases, JDT UIs are not working properly with lower window resolutions. In your attached screenshots, we can see that it has very low resolution.
So please try to increase the resolution first. If it is not working, edit your bpel with the source view. You can switch to the source view by clicking on the source view tab in bottom of your Gups.bpel window.
[1] https://www.eclipse.org/jdt/ui/

Related

Black windows issue

I develop a web browser based on gtk+ and webkit2gtk in Rust and sometimes, all GTK+ windows become black.
Even the gtk inspector window that we get with the environment variable GTK_DEBUG=interactive is black.
Even thought the windows are black, the UI is still responsive since I can navigate the web with the keyboard (I see the window title updating, showing the new page URL and load progress).
Here are two actions that triggers this issue everytime they happen:
Destroying the web view
When running the application a second time, it sends a message via Unix Domain Socket to the first process so that it creates a new web view.
I have unfortunately no small example to reproduce the issue. If you want, I can show you the code of the project, but it is big, non-trivial and uses many abstraction layers over gtk+.
I know I don't give you a lot to help me, but if you can give me some explanations about how the rendering works and how to debug that, it would be very appreciated.
Can you give me some hints on how to debug this issue?
Is there a global OpenGL (or whatever) context for the GTK+ windows?
Are there some debuging tools to help me? (Setting G_MESSAGES_DEBUG=all does not show anything relevant.)
With strace, I was able to debug this issue:
I found out the FD used for IPC communication was still polled after being closed, so it was returning POLLNVAL.
Removing the FD with g_source_remove_unix_fd() fixed this issue.

Is there synthetic tracking data available in CustusX?

I'm developing a plugin for custusX. I prefer developing on my own PC which is not connected to a tracking system.
For video, custusX uses a webcam to generate synthetic 'example data'. Is there also a tracking source with synthetic tracking data available that can be used for developing? (Preferable two different tools tools which move around all the time). If so, how can I enable it?
Currently if I try to access the tool configuration or to initialize tracking I only get Configuration file [] is not valid, could not configure the toolmanager. in the console.
There is a debug feature available:
Preferences->Debug->Run Debug Tool
This will create a tool and move it along a hardcoded path determined by the extent of the currently loaded volume. In order to work, this requires that you already have loaded a volume.
You should consider if you really need this. Alternatively, simply turn off the auto-start tracking in
Preferences->Automation->Auto Start Tracking
The auto-start streaming can also be turned off.
If what you need is to move the slice planes, note that the mouse also is a tool which always is present. this tool can be moved by interacting with the 2D views or directly in the Tool Properties Widget.
Another debug feature is:
Preferences->Debug->Debug manual tool
This will give manual tool the properties of the first physical tool (need to start tracking or at least run Tracking->Tool configuration). This can be used to move a probe or a tool. Will only allow you to move one tool though. To show the tool you will have to right-click in the 3D view and select "Show Manual Tool".
The manual tool can be moved by clicking in 2D/3D views or by using the "Tool Properties" widget. To change the tool orientation you have to use the "Tool Properties" widget (press the Toggle Edit Matrix button to open the tool controllers).
Combining this with "Run Debug Tool" (described by Christian) can give you two moving tools, one following a hardcoded path, and the other one controlled with the manual tool.

Are there more explicit commands/toolbars and feedback for Eclipse for Android?

I'm new to Eclipse. I may need a better understanding or a plugin that would provide me with features described below. While doing some Android development, and I while making changes to my code at one point Eclipse warned me that this emulator doesn't support hot-swapping and if I want to disconnect. I'm used to see status in either the toolbar or in some log from Visual Studio. Is there a way to see this feedback in Eclipse?
My problem is that there are quite much implicit stuff in eclipse I would like get feedback of and control, like whether I'm
connected or not to a device,
if I'm attached to a process on it or not with debugger,
some kind of build log with a timestamp so I know it happened,
the automatic uninstalling and installing of the project on the device
which project is "active" ("featured") in "Run" and "Debug" buttons/configurations
Is there a plugin that can give me explicit commands over these automatic features? Like a toolbar or command. What I would expect of this tool:
be able to indicate the current status (eg. currently connected or not)
gives me control to eg. connect
gives me control to eg. disconnect
Preferably on a toolbar, as I know some of these are available as menu commands.
Furthermore I tried to configure my toolbar by Window menu -> Customize perspective..., but pin-pointing the features I want made my Eclipse put empty space up for the buttons I disabled, and next time I got to the same config screen it got the checkboxes wrong and displayed some stuff active what was actually disabled.

Eclipse debugger for GEF editor

I have a GEF editor which represent a finite state machine. Editor's input (and output) is XML. What I am looking for is a way to debug my editor visually.
The way editor works is you create a state Start->Email->End, XML that is created is send to the server and there magic happens, of course Email object has properties that you set: from email, to email, subject, etc. What I am looking for is a way I can launch a debugger and step through each step of execution. So for example if I break at Email step I would be able to see what message was, whom it was for and what server returned at the end.
Is this something that is possible to accomplish and if so are there any articles I need to read to familiarize myself with how to create this debugger?
I found some discussion about Eclipse debuggers (1,2) but nothing about what I am interested in doing.
There are two different issues here.
One is writing a debugger engine, that manages the execution of your model, for example steps the execution, allows querying the variables/states, etc., and another one that outputs the result in your editor.
The articles you have linked work with the first issue: creating an engine that executes the model in the background, and integrates the engine into the Eclipse environment using 1) the launch framework to execute it similarly as Java programs, and 2) allows displaying the state in the textual editors.
You want to display the state in graphical editors. Because graphical editors have much less in common, the back-annotation of the debug state has to be done manually (instead of the generic support for text editors). Basically, I would create actions that set up breakpoints, and update the model to be able to store/query the execution state, and then update the GEF views to display it on the GUI. For this you have to change your Figures and your EditParts at least, and possibly other places as well.

Learning Eclipse MDT-UML2 Sequence Diagrams

Are there any tutorials or documentation files for drawing Sequence Diagrams with Eclipse MDT-UML2?
I can't put a Lifeline on the page. It took me 10 minutes to figure out that I first have to make a big Iteraction, and then I can put Lifelines into it.
I can't figure out how to make the Participant box wider in the lifeline. Any name more than 4 characters is too wide for the box. When I do the obvious thing of clicking and dragging the handles, the box springs back to its original size.
I can add a Message by clicking "Message" in the pallette and click-dragging an arrow from line Lifeline to another. Now I have an arrow labeled "1: *". I've tried every way I can think of to change that name: double-clicking on it, shift-clicking, ctrl-clicking, changing Name in the properties.
Can anyone help?
As I understand it MDT-UML2 is in the very early stages, it may not work as it should always. Additionally, the sequence diagram is a newer one, see below. There were no tutorial I could find, but I did link to samples below. I also found a comment in the eclipse bug tracker for this feature:
Here are the most important issues from my side: moving of lifelines, create messages,
replies are causing strange behaviour (some kind of auto alignment). Moreover it
should be possible to give the messages names.
They say it is resolved, but you be the judge.
From the wiki (Note:What you want is UML2 Tools):
http://wiki.eclipse.org/MDT-UML2Tools
Interaction diagrams (in progress):
Sequence (new in Galileo)
This may not help, but here is a link to the samples: http://wiki.eclipse.org/images/3/3a/UML2Tools_samples.psf
The tutorial reference does not seem to cover the new stuff, just the class diagram.
http://www.vogella.de/articles/UML/article.html
Search stackoverflow for other open source tools to use. The MDT-UML2 is coming along and can be used for some stuff, especially simple DSMs/DSLs/UML Profiles, but for drawing easily there are a host of good tools. An ok thread: What's the best UML diagramming tool? or
https://stackoverflow.com/questions/390438/good-free-uml-tool-for-java-eclipse