Skip to main content

Changes in Next Design V2.0

Extension function changes

Changes to the application operating framework

Next Design V2.0 has changed the working framework of the application from .NET Framework 4.6.2 to .NET Core 3.1. With this change, the V1.1 extension needs to be compatible with .NET Core 3.1. See the next page for details.

We've also changed the signatures of some APIs that used types that aren't supported in .NET Core 3.1.

Change of extension load function

Next Design V2.0 has changed the loading mechanism of DLL-based extensions. See the next page for details.

Advanced enhancements

Next Design V2.0 offers advanced enhancements with DLL-based extensions.

Conditional formatting in diagram view

You can dynamically change the formats such as shapes and labels displayed in the diagram view, subject to the field values of the model and so on. See the next page for details.

Dynamic text changes in diagram view

You can dynamically change the text, such as titles and labels, displayed in the diagram view, subject to factors such as model field values. In addition to changing the text value, it is possible to change the display on the diagram but not the text value. See the next page for details.

Addition of initial processing when adding a model

You can add your own initial processing when adding a model. Not only can you set the values of primitive and enumerated fields, but you can also add models of your own child elements. See the next page for details.

Add dynamic constraints during model editing operations

In addition to the multiplicity and path constraints that come standard with Next Design, you can add your own constraints based on model field values and more. See the next page for details.

Addition of display mode in sub-editor/inspector

In addition to the standard display modes that come standard with Next Design, you can add your own display modes to the sub-editor and inspector. See the next page for details.

Model editing with user-specific UI

In addition to the UI that comes standard with Next Design, you can extend your model editing capabilities by incorporating your own UI into the following parts:

  • Model editor view
  • Navigator
  • Inspector

See the next page for details.

Abolished the style redefinition function of the editor

The V1.1 style redefinition feature has been removed. If you want to customize the display of the editor, consider using the more advanced #conditional-formatting in diagram view and dynamic text modification in diagram view (# model-callback). please.

note
  • V2.0 does not support form editor style changes.

Changes for each API

Here, we list the API changes of V2.0. For details on each API, refer to API Specifications.

Changed API

List the APIs changed in V2.0.
For details on how to migrate the API, refer to the note of the corresponding API from the API specification.

NextDesign.Core

APIChanges
IEditor.EditorType propertyChanged to identify custom editors
IEditorDef.Type propertyChanged to identify custom editor definition
IFrameShape.Label PropertyRenamed to IFrameShape.Text Property
Renamed to ILifelineShape.Label PropertyILifelineShape.Text Property
IMessageShape.Label PropertyRenamed to IMessageShape.Text Property
INode.Location PropertyChanged property type from System.Windows.Point to System.Drawing.Point
INode.Size PropertyChanged property type from System.Windows.Size to System.Drawing.Size
INode.SetBounds methodChanged argument type from System.Windows.Rectangle to System.Drawing.Rectangle
INode.SetLocation methodChanged argument type from System.Windows.Point to System.Drawing.Point
INode.SetSize methodChanged argument type from System.Windows.Size to System.Drawing.Size
IProject.IsDirty propertyChanged to provide IModel.IsDirty property in inherited IModel interface
ISequenceNodeShape.Location PropertyChanged property type from System.Windows.Point to System.Drawing.Point
ISequenceNodeShape.Size PropertyChanged property type from System.Windows.Size to System.Drawing.Size
IWorkspace.OpenProject methodAdded excludeModelFiles to the third argument (optional)

Deleted API

List 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

List 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 method
  • 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 interface
  • 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

API to be consolidated and abolished

List the APIs that will be consolidated or abolished at 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
  • The API to be consolidated and abolished will continue to be available in V2.0, but a warning message will be displayed when building as a DLL-based extension.