Skip to main content

Changes in Next Design V2.0

Changes to extension functions

Changes to application operating framework

Next Design V2.0 has changed the application operating framework from .NET Framework 4.6.2 to .NET Core 3.1.
As a result of this change, V1.1 extensions must be compatible with .NET Core 3.1.
For more information, see the following page.

We have also changed the signatures of some APIs that used types that are not supported in .NET Core 3.1.

Changes to extension loading function

Next Design V2.0 has changed the loading mechanism for DLL-based extensions.
For details, see the following page.

Advanced function extension

Next Design V2.0 allows advanced function extensions using DLL-based extensions.

Conditional Formatting in Diagram View

You can dynamically change the formatting of shapes and labels displayed in the Diagram View based on the model field values ​​and other conditions.
For more information, see the following page.

Dynamic Text Change in Diagram View

You can dynamically change the text of titles and labels displayed in the Diagram View based on the model field values ​​and other conditions. In addition to changing the text value, you can also change the display on the diagram without changing the text value.
For more information, see the following page.

Adding Initial Processing When Adding a Model

You can add your own initial processing when adding a model. In addition to setting the values ​​of primitive and enumeration type fields, you can also add models of child elements that you own.
For more information, see the following page.

Adding dynamic constraints when editing a model

In addition to the multiplicity constraints and path constraints that come standard with Next Design, you can add your own constraints based on model field values, etc.
For more information, see the following page.

Adding display modes in sub-editors/inspectors

In addition to the display modes that come standard with Next Design, you can add your own display modes to the sub-editors and inspectors.
For more information, see the following page.

Editing models with user-specific UI

In addition to the UI that comes standard with Next Design, you can incorporate your own UI into the following areas to expand the model editing function.

Deprecation of editor style redefinition function

The style redefinition function in V1.1 has been deprecated.
If you want to customize the editor display, consider using the more advanced Conditional formatting change in diagram view or Dynamic text change in diagram view.

note
  • Style change of form editor is not supported in V2.0.

Changes for each API

Here, we list the API changes in V2.0. For details on each API, please refer to API specifications.

Changed API

Lists the APIs changed in V2.0.

For details on how to migrate the API, please refer to the notes for the relevant API in the API specifications.


NextDesign.Core

|API|Changes|
|:--|:--|
|IEditor.EditorType property|Changed to identify custom editors|
|IEditorDef.Type property|Changed to identify custom editor definitions|
|IFrameShape.Label property|Renamed to IFrameShape.Text property|
|ILifelineShape.Label property|Renamed to ILifelineShape.Text property|
|IMessageShape.Label property|Renamed to IMessageShape.Text property|
|INode.Location property|Changed property type from System.Windows.Point to System.Drawing.Point|
|INode.Size Properties|The property type has been changed from System.Windows.Size to System.Drawing.Size|
|INode.SetBounds Method|The argument type has been changed from System.Windows.Rectangle to System.Drawing.Rectangle|
|INode.SetLocation Method|The argument type has been changed from System.Windows.Point to System.Drawing.Point|
|INode.SetSize Method|The argument type has been changed from System.Windows.Size to System.Drawing.Size|
|IProject.IsDirty Property|The inherited IModel interface has been changed to provide the IModel.IsDirty property|
|ISequenceNodeShape.Location Property|The property type has been changed from System.Windows.Point to System.Drawing.Point|
|ISequenceNodeShape.Size Properties | The property type has been changed from System.Windows.Size to System.Drawing.Size |
|IWorkspace.OpenProject method | Added excludeModelFiles to the optional third argument |

Deleted API

Lists the APIs deleted in V2.0.

NextDesign.Core

  • IConnectorShapeStyleOverride interface
  • IFormElement.StyleOverride property
  • IFormStyleOverride interface
  • INodeShapeStyleOverride interface
  • IShapeStyleOverride interface
  • IShape.StyleOverride property
  • ITreeGridColumn.DataTypeName property

NextDesign.Desktop

  • EditorOnDoubleClickEventParams class

Added API

Lists the APIs added in V2.0.

NextDesign.Core

  • CustomDefinitionDescriptorBase class

  • CustomEditorDefinitionDescriptor class

  • CustomElementDefinitionDescriptor class

  • ICustomEditor interface

  • ICustomEditorDefinition interface

  • ICustomEditorSettings interface

  • ICustomElementDefinition interface

  • IEditingCapabilityProvider interface

  • IEditingCapabilityProviderRegistry interface

  • IExecutionSpecificationShape.Length property

  • IFeature.GetAssignedModels method

  • IFeatureModel.GetFeatureConstraint method

  • IField.DefaultValue property

  • IField.TypeEnum property

  • IFragmentShape interface

  • IInteraction.InteractionUses property

  • IInteractionUse interface

  • IInteractionUseShape interface

  • ILifelineShape.Figure property

  • IMessageShape.SelfloopBendsX property

  • IMessageShape.SourceY property

  • IMessageShape.TargetY property

  • IModel.GetRichTextField method

  • IModel.GetRichTextFieldCustomData method

  • IModel.GetRichTextFieldFormats method

  • IModel.IsDirty property

  • IModel.SetRichTextField method

  • IModel.SetRichTextFieldCustomData method

  • IModelCreationProvider interface

  • IModelEditorSelectionProvider interface

  • IModelInitializationProvider interface

  • IModelInitializationProviderInitializationContext interface

  • IModelReferenceProvider interface

  • INode.NodeStyle property

  • INodeShapeStyle interface

  • INoteAnchorShape interface

  • INoteShape interface

  • IOperandShape interface

  • IProfile.RootPackage property

  • IProject.EditingCapabilityProviderRegistry property

  • IProject.OutputModelPaths property

  • IProject.GetModelByPath method

  • ISequenceDiagram.Fragments property

  • ISequenceDiagram.InteractionUses property

  • ISequenceDiagram.NoteAnchors property

  • ISequenceDiagram.Notes property

  • ISequenceShape interface

  • IStyleProperty interface

  • IViewDefinitions.NewCustomEditorDef method

  • IViewDefinitions.NewCustomElementDef method

  • IViewDefinitions.RegisterCompartmentItemTextValueCallback method

  • IViewDefinitions.RegisterGetCompartmentItemTextStyleCallback method

  • IViewDefinitions.RegisterGetStyleCallback method

  • IViewDefinitions.RegisterGetTextStyleCallback method

  • IViewDefinitions.RegisterTextValueCallback Methods

  • IViewDefinitions.UnregisterStyleCallback Method

  • ModelCreatableParams Class

  • ModelCreatableResult Class

  • ModelEditorCategoriesParams Class

  • ModelEditorCategoriesResult Class

  • ModelEditorCategory Class

  • ModelEditorSelectionParams Class

  • ModelEditorSelectionResult Class

  • ModelInitializationParams Class

  • ModelReferableParams Class

  • ModelReferableResult Class

  • ModelRelateParams Class

  • ModelRelateResult Class

  • ParamBase Class

  • PropertyDescriptor Class

  • PropertyGroupDescriptor Class

  • ResultBase Class NextDesign.Desktop

  • BeforeDisposeEventArgs Class

  • BeforeProjectCloseEventArgs Class

  • CustomDescriptorBase Class

  • CustomEditorConfigs Class

  • CustomEditorDescriptor Class

  • CustomFinderDescriptor class

  • CustomInspectorConfigs class

  • CustomInspectorDescriptor class

  • CustomNavigatorConfigs class

  • CustomNavigatorDescriptor class

  • CustomUIEventArgs class

  • DisplayModeChangedEventArgs class

  • DocumentGenerationOptions class

  • DocumentGenerationResult class

  • IApplication.CustomUI property

  • IApplication.Resources property

  • ICustomDescriptor interface

  • ICustomEditorView interface

  • ICustomFinder interface

  • ICustomInspector interface

  • ICustomNavigator interface

  • ICustomUI interface

  • ICustomUIRegistry interface

  • IDisplayMode interface

  • IEditorPage.ActiveInspector property

  • IEditorPage.SubEditorModeName property

  • IEditorPage.IsMainEditor method

  • IEditorPage.IsSubEditor method

  • IFinder Interfaces

  • IModelEventDispatcher interface

  • InitializedEventArgs interface

  • IResourceUtility interface

  • IWorkspace.State property

  • IWorkspace.GenerateDocument method

  • IWorkspace.GetModelUnitByLoadMode method

  • IWorkspace.LoadModelUnits method

  • IWorkspace.SaveAll method

  • IWorkspace.SetLoadMode method

  • IWorkspaceState interface

  • IWorkspaceWindow.Finder property

  • OnHideEventArgs class

  • OnShowEventArgs class

  • ProjectAfterModelUnitLoadEventParams class

  • ProjectOpenedEventArgs class

  • WorkspaceStateChangedEventArgs class

APIs to be consolidated

Lists APIs to be consolidated in the next update.

NextDesign.Desktop

  • IApplication.CreateSearch method
  • ICommonUI.MessageBox method
  • IContext.Application property
  • IEditorPage.ActiveInfoWindow property
  • IEditorPage.CurrentOutputCategory property
  • IEditorPage.CurrentInfoView property
  • IWorkspace.CreateSearch method
note
  • APIs scheduled for consolidation can still be used in V2.0, but a warning message will be displayed if you build them as DLL-type extensions.