-
Notifications
You must be signed in to change notification settings - Fork 635
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Edit Python Port Properties (#13788)
* Outport - added Edit Port Properties button to port context menu - added a new button to the OutPortContextMenu to allow users to Edit Port Properties - for the time being, it is only enabled and visible in case of Python Node Model (in future this check can be removed allowing other nodes to use this functionality as well) * Output rename working - At this point, output port can be renamed - TODO: handle contextmenu - should close after interaction, now keeps alive - TODO: remove Categories - TODO: create validation checks (cannot be the same as any other Port, cannot be null, cannot be an Integer, anything else?) - TODO: Set Prompt name based on Inport/Outport usage * Hide popup after interaction - since we no longer need the popup to stick around after we have launched the Edit Properties Prompt, hide the popup * Resource properties added - added Port Properties Prompt property values as resources - added a dynamic prompt title based on the PortType value of the port - further cleaned the UI design * WindowsStartupLocation - Screen - cannot find DynamoView as an owner for some reason, using WindowStartupLocation.CenterScreen instead - control cleanup * Code refactor, name validation - refactor chunks of code for better usability - incorporated number and unique port name validation checks * Added Port Properties Prompt to context menu of Input port - now works for both Input and Output ports * Added port removal notification message - will prompt the user to agree to lose changes when removing port * Validation changed to status label - changed the validation warning method to status label underneath the Name text box * Save disabled on warning - disable 'Save' button when we are in a warning state (invalid port name) - cleans up interaction around blank name * Public converter comment - added comment to public converter * Moved private property - moved private property to top of class for better readability * Used DynamoUtilities method - used DynamoUtilities.PathHelper method to check for name validation * Removed commented out code - removed unnecessary code * Added back the missing page tag - fixed page tag
- Loading branch information
Showing
17 changed files
with
918 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.