Elsa workflow designer drag and drop not work - drag-and-drop

I have a problem with the drag & drop when I use the designer.
I tried to add a "Fork-Join" but I can't connect the Branches with the Join.
When I try to drag them, it moves the whole workflow.
What am I doing wrong?

From the documentation:
To connect an outcome to an existing activity:
Press and hold the SHIFT button while left-clicking the outcome from which you wish to connect.
Left-click on the target activity (no need to keep pressing SHIFT)
If that doesn't work, then it must be a bug. In which case I would encourage you to file a bug.

Related

Git commands on selected file in source control tab of VS Code

I've been using VSCodeVim for a few weeks now and it's pretty great but I find that there are a few actions that I cannot perform without using the mouse. One of them is using the source control tab on the sidebar to stage/discard changes and commit.
I am able to use j and k to move up and down, h and l to collapse/expand as well as view the working tree/diff view for the selected file, but I haven't found how I can stage or discard the selected file.
Are there ways that I could remap keys to perform these actions? Ideally I would also be able to commit, unstage files, stage all, unstage all, etc. I found these actions as git.{action} in the key bindings, but this doesn't seem to work.

How to enable Eclipse undo in a customized view

I have a customized view. I basically Move an element from one folder to another.
After Move i am setting the selection on the new element. Still the Eclipse Undo is not enabled. I expect it to come as "Undo Move Resources" as it happens in Project Explorer.
Could anyone please tell what basically needs to be done for the "undo move resources" to be enabled? how does it work?
Regards,
Pavitra
Undo seems not to be implemented in your customized view so there is no chance to enable it. You might ask the author to build this feature for you.
You can use the org.eclipse.ui.ide.undo.MoveResourcesOperation class to perform a resource move operation with Undo. You use something like:
AbstractWorkspaceOperation op = new MoveResourcesOperation(resources, destinationPath, "label");
PlatformUI.getWorkbench().getOperationSupport()
.getOperationHistory().execute(op, monitor,
WorkspaceUndoUtil.getUIInfoAdapter(messageShell));
You might be able to use org.eclipse.ui.actions.MoveResourceAction which does all the work for this. See also org.eclipse.ui.actions.MoveFilesAndFoldersOperation and org.eclipse.ui.actions.CopyFilesAndFoldersOperation

How to accept one version for all manual merge changes in clearcase?

When I am having to manually merge a file using xmerge, I have to click through every change manually and select a number to be the version to use. But sometimes I just want to accept one version for every change. Is there a shortcut/setting for this?
One shortcut is the button Resolve and Advance.
Once clicked, you can then repeatedly click on one version button, until there is no more merge conflict to solve (then save and close)

Xcode SCM - Need help with checking files back in!

Okay, I have another newbie question. I'm starting to work with a remote code repository, remotehosting.com, and have been given a username, password, and URL. I've been able to successfully associate my project with a remote source code repository, have checked out/pulled down the source files, and have now made a small change to a single file. Here's where my questions start.
1) I can't see anywhere in my GUI where Xcode realizes that I have made a change to a file
2) How do I check my files back in?
I gotta be missing something. The docs I've been reading point to more menu items that I currently see under my SCM menu item. Anybody have any ideas? Thanks in advance for your assistance!!!
File -> Source Control -> Commit, Select the files that you want to commit, add a comment and hit commit button.
This is the flow for xcode 4
In Xcode 3...
The Project window should have a column which displays the SCM status for your files. This can appear both in the "Groups & Files" outline view in the left pane and the file list in the right pane. The icon for the column is a little cylinder shape, a black-and-white version of the yellow cylinder that's shown when you manage repositories. If this column is not displayed, you can right-click on the header of either of those panes to bring up a menu with a list of columns. Select "SCM" from that. The status will display as the same one-letter codes that SVN uses on the command line.
In order to commit files, you can either a) select the particular files, or group you want to commit and use the menu command SCM>Commit Changes..., or b) Select SCM>Commit Entire Project... (which I personally have bound to ⌥-⌘-C in the Xcode key bindings preferences).
Either of these will display a sheet in which you can enter your commit message; the text field in this is very handy in that it accepts the Return key as a newline, rather than passing it to the "Commit" button, but could be confusing the first few times. Press ⌘-Return to activate the button and perform the commit.

How to remove unused Clicked event from C# project

I am newbie in C#. while working in Windows Forms Designer if any controls get double-clicked by mistake it places the clicked event on the Form.cs (ie: private void UserAddBtn_Click(object sender, EventArgs e). how can I remove all the references of this event while staying in Forms designer or w/o going thru manual removal.
Thanks in advance....
You can clear the event handler by deleting it from the properties dialog.
Go to the events tab and find the double click event. You can then delete the event handler from there.
if you select the item you want to remove in the form designer, then right click on the lightning bolt and click "reset" it works for me. I couldn't make it work as explained above. I'm using Visual studio express 2013 V12 - Update 4.
In the designer view, click undo (Ctrl + Z) - this will undo the generated event handler in the code-behind as well as all bindings to the event handler in the .designer.cs autogenerated. Do not perform the undo in the event handler codebehind, because this will remove the event handler, but leave the bindings to it.
NOTE: If you add any code to the event handler, then undo will only remove the bindings - the event handler will get left behind. This is to make sure you don't lose anything you added that might be important.
I am privy to doing this myself lol. However, it is quite simple (I am using Visual Studio 2017). Delete the unused event and try to run while not debugging. Select no and look at the bottom where it lists the errors. Double click the red "X". Visual Studio will direct you to the next error. Delete that and you should be good to go (Should be a .Click event handler). Whether this works in all scenarios this simply I am not sure but if you have no code in that block then there should not be too much more complexity.
Go to the event handler -> Find All References -> go to the reference and delete it. Then delete the event handler.