Refactoring

This commit is contained in:
barsdeveloper
2022-01-05 21:48:45 +01:00
parent 303cc5b71e
commit 7704850cf6
49 changed files with 1481 additions and 1469 deletions

16
js/entity/KeyBinding.js Executable file
View File

@@ -0,0 +1,16 @@
import Entity from "./Entity"
export default class KeyBinding extends Entity {
static attributes = {
bCtrlDown: false,
bAltDown: false,
bShiftDown: false,
Key: String,
CommandName: String,
}
getAttributes() {
return KeyBinding.attributes
}
}

32
js/entity/PathSymbolEntity.js Normal file → Executable file
View File

@@ -1,16 +1,16 @@
import Entity from "./Entity"
export default class PathSymbolEntity extends Entity {
static attributes = {
value: String
}
getAttributes() {
return PathSymbolEntity.attributes
}
toString() {
return this.value
}
}
import Entity from "./Entity"
export default class PathSymbolEntity extends Entity {
static attributes = {
value: String
}
getAttributes() {
return PathSymbolEntity.attributes
}
toString() {
return this.value
}
}

View File

@@ -7,6 +7,7 @@ import TypeInitialization from "./TypeInitialization"
export default class PinEntity extends Entity {
static lookbehind = "Pin"
static attributes = {
PinId: GuidEntity,
PinName: "",