-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PY: Add infrastructure to allow python plugins to be reloaded in a GU…
…I. (#910) Signed-off-by: Jared Duffey <[email protected]> Signed-off-by: Michael Jackson <[email protected]> Co-authored-by: Michael Jackson <[email protected]> Co-authored-by: Jessica Marquis <[email protected]>
- Loading branch information
1 parent
fe979fe
commit 67a7875
Showing
43 changed files
with
1,337 additions
and
326 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
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
15 changes: 11 additions & 4 deletions
15
src/Plugins/SimplnxCore/src/SimplnxCore/utils/PythonPluginInitTemplate.py
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,16 @@ | ||
|
||
""" | ||
Insert documentation here for #PLUGIN_NAME# | ||
""" | ||
from #PLUGIN_NAME#.Plugin import #PLUGIN_NAME# | ||
|
||
#PLUGIN_IMPORT_CODE## FILTER_INCLUDE_INSERT | ||
__all__ = ['#PLUGIN_NAME#', 'get_plugin'] | ||
|
||
def get_plugin(): | ||
return #PLUGIN_NAME#() | ||
""" | ||
This section conditionally tries to import each filter | ||
""" | ||
|
||
__all__ = [#PLUGIN_FILTER_LIST#] # FILTER_NAME_INSERT | ||
#PLUGIN_IMPORT_CODE# | ||
|
||
def get_plugin(): | ||
return #PLUGIN_NAME#() |
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
27 changes: 0 additions & 27 deletions
27
src/Plugins/SimplnxCore/src/SimplnxCore/utils/PythonPluginTemplate.bat
This file was deleted.
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
Oops, something went wrong.