-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[0.3.1] Copy-Paste Node does not modify Namespace id of browename and nodeid #31
Comments
Can you explain further you explanantion? when copying a new nodeid is On Thu, 17 Nov 2016 at 12:37 Sten Grüner notifications@github.com wrote:
|
There is a Browsename in format "nsid:String" and there is a nodeid as a struct with nsid and so on. If I paste a node where a context is clear e.g. an attribute form node in NS0 and paste it as a child of type in NSX, I'd like that browsename is changed from "0:bla" to "X:bla" and the NS id in the new nodeid is change accordingly. Furthermore, a popup would be good to ask me to enter or generate a unique nodid in new namespace. What do you think? |
Showing a dialog is a good idea. We can ask for namespace. But asking for On Thu, Nov 17, 2016, 14:14 Sten Grüner notifications@github.com wrote:
|
To be honest I never use copy paste when I'm using modeler, but it seems like we would only need to choose a namespace for pasting. Then we can use the existing "new node" convention, which is like this:
In a previous PR I tired to make ns=x automatically match the selected namespace, but @oroulet said that user should type it. I don't really understand why, but that's how it is for now. |
Copy-paste should be of paste-environment and adjust Browsename accoringly
Also id generation should be consideren
The text was updated successfully, but these errors were encountered: