This repository has been archived on 2020-12-30. You can view files and clone it, but cannot push or open issues or pull requests.
2018-06-02 13:56:15 +02:00
|
|
|
# Editor
|
|
|
|
|
|
|
|
```plantuml
|
|
|
|
|
|
|
|
set namespaceSeparator ::
|
|
|
|
|
|
|
|
class NPC_core::RandomAccessBinary
|
|
|
|
|
|
|
|
namespace NPC_editor {
|
|
|
|
class EditorView {
|
|
|
|
}
|
|
|
|
class StructureField {
|
|
|
|
}
|
|
|
|
class HexView
|
|
|
|
EditorView "1" *-- "*" StructureField : contains
|
|
|
|
HexView ..> NPC_core::RandomAccessBinary : shows data of >
|
|
|
|
}
|
|
|
|
|
|
|
|
namespace NPC_core::control {
|
|
|
|
class DataController
|
|
|
|
class ModelController
|
|
|
|
class FromScratchModelController
|
|
|
|
ModelController <|-- FromScratchModelController
|
|
|
|
}
|
|
|
|
|
|
|
|
namespace NPC_core::model {
|
|
|
|
class Model
|
|
|
|
class Structure
|
|
|
|
|
|
|
|
class Field
|
|
|
|
class DataField
|
|
|
|
|
|
|
|
class Repository
|
|
|
|
|
|
|
|
Model "1" *-- "*" Structure
|
|
|
|
DataField ..> Field : represents the data of >
|
|
|
|
Repository "1" *-- "ALL" Structure
|
|
|
|
Structure "1" *- "*" Field
|
|
|
|
}
|
|
|
|
|
2018-11-02 21:08:00 +01:00
|
|
|
NPC_core::control::DataController "1" *-up- "*" NPC_core::RandomAccessBinary
|
|
|
|
|
2018-06-02 13:56:15 +02:00
|
|
|
NPC_core::model::Field <.. NPC_editor::StructureField : shows <
|
|
|
|
NPC_core::control::DataController --> NPC_core::model::DataField : controls >
|
|
|
|
|
|
|
|
|
|
|
|
NPC_core::control::ModelController --> NPC_core::model::Model : controls >
|
|
|
|
|
|
|
|
NPC_editor::StructureField .> NPC_core::control::DataController : > manipulates data through
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
```
|