Notes on updating from Next Design V1.0 to V1.1
Revision History
2020-09-04 : ADDED NOTE ABOUT CHANGING THE SYSTEM COMMAND ID IN THE EXTENSION.
Project file
PROJECT FILES CREATED WITH V1.0 WILL BE CONVERTED TO THE LATEST DATA FORMAT WHEN THE FILE IS OPENED AND CAN CONTINUE TO BE USED. HOWEVER, PLEASE NOTE THE FOLLOWING
- If you overwrite the file, you will not be able to open it in the previous version.
-
Diagram color change may be necessary.
DUE TO THE REVIEW OF THE QUICKSTYLE COLOR PALETTE, SOME SHAPES AND CONNECTORS MAY BE COLORLESS OR GRAY WHEN OPENING A PROJECT CREATED WITH V1.0 AND VIEWING A DIAGRAM. IF NECESSARY, PLEASE SELECT THE SHAPE OR CONNECTOR AND SPECIFY THE COLOR AGAIN. NOTE THAT CONNECTORS THAT HAVE BECOME COLORLESS CAN STILL BE SELECTED ON THE DIAGRAM.
Extensions
IF A DLL-TYPE EXTENSION DEVELOPED FOR V1.0 IS USED WITH V1.1 WITHOUT MODIFICATION, THE FOLLOWING MESSAGE WILL BE OUTPUT AND THE EXTENSION WILL NOT BE USABLE.
Failed to activate extension "xxx". (One or more of the requested types could not be loaded. Get the LoaderExceptions property for more information).
IF YOU WISH TO USE V1.0 EXTENSIONS WITH V1.1, PLEASE TAKE THE FOLLOWING ACTIONS
- REPLACING THE REFERENCE DLL
- API NAMESPACE CHANGES
- SUPPORT FOR API SPECIFICATION CHANGES
- Change key name in locale file
- CHANGE SYSTEM COMMAND ID
EVEN FOR SCRIPT-BASED EXTENSIONS, "3. SUPPORT FOR API SPECIFICATION CHANGES" AND "4. CHANGE OF LOCALE FILE KEY NAMES" ARE NECESSARY TO SUPPORT THE ABOVE, SO PLEASE TAKE THESE ACTIONS.
1. REPLACEMENT OF REFERENCE DLL
THE FILE NAME OF THE DLL FOR EXTENSION DEVELOPMENT HAS CHANGED. PLEASE REPLACE THE DLL IN THE REFERENCE SETTINGS IN YOUR EXTENSION PROJECT.
-
DLL FILE NAMES UP TO V1.0
DensoCreate.NextDesign.Extensibility.Api.dll
-
DLL FILE NAME FROM V1.1
NextDesign.Core.dll NextDesign.Desktop.dll
The above DLL files for V1.1 extension development are stored in the Next Design V1.1 installation folder.
API NAMESPACE CHANGE
THE EXTENSION API NAMESPACE HAS CHANGED. PLEASE REWRITE THE NAMESPACE IN THE EXTENSION SOURCE CODE.
-
API NAMESPACE UP TO V1.0
DensoCreate.NextDesign.Extensibility. DensoCreate.NextDesign.Extensibility.Api
-
API NAMESPACE FROM V1.1
NextDesign.Extension Core Desktop
3. SUPPORT FOR API SPECIFICATION CHANGES
THE FOLLOWING IS A LIST OF APIS WHOSE SPECIFICATIONS HAVE BEEN CHANGED AND WILL BE MERGED IN THE NEXT UPDATE. FOR DETAILS ON HOW TO MIGRATE APIS, PLEASE REFER TO THE API NOTES IN THE API LIST IN THE EXTENSION DEVELOPMENT MANUAL.
THE API TO BE ELIMINATED CAN STILL BE USED IN V1.1, BUT A WARNING MESSAGE WILL BE DISPLAYED IF BUILT AS A DLL-STYLE EXTENSION.
API WITH SPECIFICATION CHANGES
- ICommandParams.ToCollection method
- IModel.ModelPath property
- SetField method
- Items property
- INavigator.SelectedItems property
- The ModelBeforeNewRelationEventParams class
- The ModelAfterNewRelationEventParams class
APIS SCHEDULED FOR CONSOLIDATION
- IApplication.CreateSearch
- ICommonUI.MessageBox
- IContext.Application
- IEditorPage.IsInformationPaneVisible
- IEditorPage.ActiveInfoWindow
- IEditorPage.CurrentOutputCategory
- IEditorPage.CurrnetInfoView
- IWorkspace.CreateSearch
4. renaming of keys in the locale file
Key names specified in locale files defined for multilingual support have been changed.
Key name: "key". resouceStrings
indicates object of desire, like, hate, etc. resourceStrings
change it to "r".
(Corrects omission of "r" in spelling of "resource.")
-
locale.xx.json files up to V1.0
{ "locale": "xx", "resouceStrings" : { ・・・ } }
-
locale.xx.json file from V1.1
{ "locale": "xx", "resourceStrings" : { ・・・ } }
CHANGE ID OF SYSTEM COMMANDS
THE IDS OF THE SYSTEM COMMANDS THAT CAN BE SUBSCRIBED TO IN THE MANIFEST EVENT DEFINITIONS HAVE CHANGED. PLEASE CHANGE THE ID AS FOLLOWS
(computer) command | BEFORE CHANGE ID | AFTER CHANGE ID |
---|---|---|
delete command | Delete | Home.Delete |
clip command | Cut | Home.Cut |
copy command | Copy | Home.Copy |
Paste command | Paste | Home.Paste |
undo command | Undo | Home.Undo |
redo command | Redo | Home.Redo |
That is all.