Wofür ist die PRototypen Deklaration gut, bzw. wo wird sie verwendet?
This commit is contained in:
+36
-8
@@ -9,41 +9,58 @@
|
||||
- [Tab Events](#tab-events)
|
||||
|
||||
# 1. Integration des Shapes Eckrad in die Library des RD Configurators
|
||||
Das folgende Dokument ist als Checkliste für die Integration eines neuen Shapes zu sehen. Hier wurde dies beispielhaft für ein Eckrad durchgeführt.
|
||||
Jedes Kapitel bezieht sich auf die Gruppe im Code-Baum, welche um Bausteine ergänzt werden muss
|
||||
|
||||
## 1.1 Declarations
|
||||
|
||||
|
||||
### 1.1.1 Main_SSG->Declarations->Types->SSG_Group
|
||||
|
||||
Typendeklaration des Eckrads. Welche Daten welcher Art soll es aufnehmen?
|
||||

|
||||
Aufnahme der Definition in die Libary
|
||||
Aufnahme der Definition in die Libary
|
||||

|
||||
|
||||
### 1.1.2 Main_SSG->Declarations->GlobalVariables->MUI
|
||||
|
||||
EckradData_defaults:
|
||||
setzt die Default Data
|
||||

|
||||
**Render_Eckrad**: Wird in ``Declarations->Functions->MUI->Func EckradUI`` vom ModernUI Render verwendet. siehe [Declaration Func Eckrad](#main-ssg-declarations-functions-mui-function-eckradui-runmodernui-render)
|
||||
Danach noch einmal in der Main Group zum Aufbau in deren INIT ``Main Group->INIT->MUI->EckradUI`` auch vom Renderer .
|
||||
|
||||
Render_Eckrad:
|
||||
- Wird in ``Declarations->Functions->MUI->Func EckradUI`` vom ModernUI Render verwendet. siehe [Kapitel](#12-definition-des-modern-user-interface-mui)
|
||||
oder [Bild](bilder/session4/Main_SSG-Declarations-Functions-MUI-Function_EckradUI-RunModernUI_Render.png)
|
||||
- Danach noch einmal in der Main Group zum Aufbau in deren INIT ``Main Group->INIT->MUI->EckradUI`` auch vom Renderer. siehe [Kapitel](#13-initialisierung-des-modern-user-interfaces-mui) oder [Bild](bilder/session4/Main_Group-INIT-MUI-EckradUI-KreiselUIPanels-ModernUIPanel.png)
|
||||
Ein Verweis erfolgt dann noch einmal im jedem ControlElement dieser Gui
|
||||
|
||||

|
||||
|
||||
|
||||
### 1.1.3 Main_SSG->Declarations->Functions->SSG->Kreisel_PROTOTYPE_GROUP->Create Proto
|
||||
|
||||
CreatePrototype_Eckrad:
|
||||
Wird deklariert unter ``Declarations->Functions->SSG->Kreisel Prototype Group->Function CreatePrototype_Eckrad``
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
wird aufgerufen und verwendet von
|
||||
- ``Declarations->Functions->MUI->Func EckradUI``, siehe [Bild](bilder/session4/Main_SSG-Declarations-Functions-MUI-Function_EckradUI-SwitchForButton_OK_CallCreatePrototype_Eckrad.png) und
|
||||
- ``Declarations->Functions->Function OnEditor2DInserted->Switch for Shape_Prototype.family->CASE Eckrad`` siehe [Bild](bilder/session4/Main_SSG-Declarations-Functions-FunctionOnEditor2DInserted-SwitchForShapeFamily-Eckrad-SetShapeProto_KreiselDefinition.png)
|
||||
|
||||
|
||||
### 1.1.4 Main_SSG->Declarations->Functions->SSG->Kreisel_PROTOTYPE_GROUP->Update Shape
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
## 1.2 Definition des Modern User Interface (MUI)
|
||||
|
||||
### 1.2.1 Main_SSG->Declarations->Functions->MUI
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||
@@ -53,6 +70,7 @@ Danach noch einmal in der Main Group zum Aufbau in deren INIT ``Main Group->INIT
|
||||

|
||||
|
||||
### 1.2.2 Main_SSG->Declarations->FunctionOnEditor2DInserted->SwitchForShapeFamily
|
||||
|
||||

|
||||

|
||||

|
||||
@@ -65,6 +83,7 @@ Danach noch einmal in der Main Group zum Aufbau in deren INIT ``Main Group->INIT
|
||||
## 1.3 Initialisierung des Modern User Interfaces (MUI)
|
||||
|
||||
### Main_Group->INIT->MUI->EckradUI->KreiselUIPanels
|
||||
|
||||

|
||||

|
||||

|
||||
@@ -74,13 +93,22 @@ Danach noch einmal in der Main Group zum Aufbau in deren INIT ``Main Group->INIT
|
||||

|
||||

|
||||
|
||||
# 2. Graphical 2d Editor Wizard
|
||||
|
||||
Hier ist mit den Screenshots beschrieben, was man im 2d Editor Wizard deklarieren muss, um das neue Eckrad zu integrieren.
|
||||
|
||||
# 2. Graphical 2d Editor Wizard
|
||||
## Tab Icons
|
||||
|
||||

|
||||
|
||||
## Tab Rotation Class
|
||||
|
||||

|
||||
|
||||
## Tab Connection Points
|
||||
|
||||

|
||||
|
||||
## Tab Events
|
||||
|
||||

|
||||
|
||||
Reference in New Issue
Block a user