-
-
Save atsushieno/22ba00c806910a97366f5257d50faa2b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package dev.atsushieno.kotractive | |
actual fun initializeModelCatalog() { | |
ModelCatalog.allTypes.add(typeEditElement) | |
ModelCatalog.allTypes.add(typeTransportElement) | |
ModelCatalog.allTypes.add(typeMacroParametersElement) | |
ModelCatalog.allTypes.add(typeTempoSequenceElement) | |
ModelCatalog.allTypes.add(typeTempoElement) | |
ModelCatalog.allTypes.add(typeTimeSigElement) | |
ModelCatalog.allTypes.add(typePitchSequenceElement) | |
ModelCatalog.allTypes.add(typePitchElement) | |
ModelCatalog.allTypes.add(typeVideoElement) | |
ModelCatalog.allTypes.add(typeViewStateElement) | |
ModelCatalog.allTypes.add(typeTrackEditorsElement) | |
ModelCatalog.allTypes.add(typeFacePlateViewElement) | |
ModelCatalog.allTypes.add(typeAutoMapXmlElement) | |
ModelCatalog.allTypes.add(typeClickTrackElement) | |
ModelCatalog.allTypes.add(typeId3VorbisMetadataElement) | |
ModelCatalog.allTypes.add(typeMasterVolumeElement) | |
ModelCatalog.allTypes.add(typeRackElementBase) | |
ModelCatalog.allTypes.add(typeRackFiltersElement) | |
ModelCatalog.allTypes.add(typeRacksElement) | |
ModelCatalog.allTypes.add(typeMasterPluginsElementBase) | |
ModelCatalog.allTypes.add(typeMasterFiltersElement) | |
ModelCatalog.allTypes.add(typeMasterPluginsElement) | |
ModelCatalog.allTypes.add(typeAuxBusNamesElement) | |
ModelCatalog.allTypes.add(typeInputDevicesElementBase) | |
ModelCatalog.allTypes.add(typeInputDevicesElement) | |
ModelCatalog.allTypes.add(typeDevicesExElement) | |
ModelCatalog.allTypes.add(typeInputDeviceElement) | |
ModelCatalog.allTypes.add(typeTrackCompsElement) | |
ModelCatalog.allTypes.add(typeAraDocumentElement) | |
ModelCatalog.allTypes.add(typeControllerMappingsElement) | |
ModelCatalog.allTypes.add(typeAbstractViewElement) | |
ModelCatalog.allTypes.add(typeAbstractTrackElement) | |
ModelCatalog.allTypes.add(typeAbstractContentTrackElement) | |
ModelCatalog.allTypes.add(typeAutomationTrackElement) | |
ModelCatalog.allTypes.add(typeFolderTrackElement) | |
ModelCatalog.allTypes.add(typeTempoTrackElement) | |
ModelCatalog.allTypes.add(typeModifiersElement) | |
ModelCatalog.allTypes.add(typeAbstractModifierElement) | |
ModelCatalog.allTypes.add(typeLFOElement) | |
ModelCatalog.allTypes.add(typeStepElement) | |
ModelCatalog.allTypes.add(typeEnvelopeFollowerElement) | |
ModelCatalog.allTypes.add(typeRandomElement) | |
ModelCatalog.allTypes.add(typeMidiTrackerElement) | |
ModelCatalog.allTypes.add(typeNodesElement) | |
ModelCatalog.allTypes.add(typeNodeElement) | |
ModelCatalog.allTypes.add(typeMarkerTrackElement) | |
ModelCatalog.allTypes.add(typePluginElementBase) | |
ModelCatalog.allTypes.add(typeFilterElement) | |
ModelCatalog.allTypes.add(typePluginElement) | |
ModelCatalog.allTypes.add(typeModifierAssignmentsElement) | |
ModelCatalog.allTypes.add(typeFacePlateElement) | |
ModelCatalog.allTypes.add(typeFacePlateContentBase) | |
ModelCatalog.allTypes.add(typeBackgroundElement) | |
ModelCatalog.allTypes.add(typeParameterElement) | |
ModelCatalog.allTypes.add(typeButtonElement) | |
ModelCatalog.allTypes.add(typeXYElement) | |
ModelCatalog.allTypes.add(typeChordTrackElement) | |
ModelCatalog.allTypes.add(typeTrackElement) | |
ModelCatalog.allTypes.add(typeTrackSnapshotsElement) | |
ModelCatalog.allTypes.add(typeClipElement) | |
ModelCatalog.allTypes.add(typeMidiClipElement) | |
ModelCatalog.allTypes.add(typeMidiClipElementBase) | |
ModelCatalog.allTypes.add(typeClipElementBase) | |
ModelCatalog.allTypes.add(typeStepClipElement) | |
ModelCatalog.allTypes.add(typeChannelsElement) | |
ModelCatalog.allTypes.add(typeChannelElement) | |
ModelCatalog.allTypes.add(typePatternsElement) | |
ModelCatalog.allTypes.add(typePatternElement) | |
ModelCatalog.allTypes.add(typeSequenceElement) | |
ModelCatalog.allTypes.add(typeMidiSequenceElement) | |
ModelCatalog.allTypes.add(typeSequenceElementBase) | |
ModelCatalog.allTypes.add(typeAbstractMidiEventElement) | |
ModelCatalog.allTypes.add(typeControlElement) | |
ModelCatalog.allTypes.add(typeNoteElement) | |
ModelCatalog.allTypes.add(typeSysexElement) | |
ModelCatalog.allTypes.add(typeQuantisationElement) | |
ModelCatalog.allTypes.add(typeGrooveElement) | |
ModelCatalog.allTypes.add(typePatternGeneratorElement) | |
ModelCatalog.allTypes.add(typeProgressionElement) | |
ModelCatalog.allTypes.add(typeOutputDevicesElement) | |
ModelCatalog.allTypes.add(typeDeviceElement) | |
ModelCatalog.allTypes.add(typeMidiViewStateElement) | |
ModelCatalog.allTypes.add(typeArrangeViewElement) | |
ModelCatalog.allTypes.add(typeMixerViewStateElement) | |
ModelCatalog.allTypes.add(typeEditMixGroupsElement) | |
ModelCatalog.allTypes.add(typeAudioEditingElement) | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package dev.atsushieno.kotractive | |
internal class MetaTypeAbstractContentTrackElement : MetaType("AbstractContentTrackElement", "dev.atsushieno.kotractive.AbstractContentTrackElement", typeAbstractTrackElement) { | |
override fun newInstance() = IllegalStateException() | |
init { | |
declaredProperties.add(object: PropertyInfo("AutomationTracks", typeMutableList, DataType.Unknown) { | |
override val ownerType | |
get() = typeAbstractContentTrackElement | |
override fun toString() = "dev.atsushieno.kotractive.AbstractContentTrackElement.AutomationTracks" | |
override fun getValue(target: Any) = (target as AbstractContentTrackElement).AutomationTracks | |
override fun setValue(target: Any, value: Any?) { | |
(target as AbstractContentTrackElement).AutomationTracks = value as MutableList<AutomationTrackElement> | |
} | |
override val listItemType | |
get() = typeAutomationTrackElement | |
override fun addListItem(target: Any, value: Any?) { | |
(target as MutableList<AutomationTrackElement>).add(value as AutomationTrackElement) | |
} | |
}) | |
declaredProperties.add(object: PropertyInfo("Plugins", typeMutableList, DataType.Unknown) { | |
override val ownerType | |
get() = typeAbstractContentTrackElement | |
override fun toString() = "dev.atsushieno.kotractive.AbstractContentTrackElement.Plugins" | |
override fun getValue(target: Any) = (target as AbstractContentTrackElement).Plugins | |
override fun setValue(target: Any, value: Any?) { | |
(target as AbstractContentTrackElement).Plugins = value as MutableList<PluginElement> | |
} | |
override val listItemType | |
get() = typePluginElement | |
override fun addListItem(target: Any, value: Any?) { | |
(target as MutableList<PluginElement>).add(value as PluginElement) | |
} | |
}) | |
declaredProperties.add(object: PropertyInfo("Filters", typeMutableList, DataType.Unknown) { | |
override val ownerType | |
get() = typeAbstractContentTrackElement | |
override fun toString() = "dev.atsushieno.kotractive.AbstractContentTrackElement.Filters" | |
override fun getValue(target: Any) = (target as AbstractContentTrackElement).Filters | |
override fun setValue(target: Any, value: Any?) { | |
(target as AbstractContentTrackElement).Filters = value as MutableList<FilterElement> | |
} | |
override val listItemType | |
get() = typeFilterElement | |
override fun addListItem(target: Any, value: Any?) { | |
(target as MutableList<FilterElement>).add(value as FilterElement) | |
} | |
}) | |
} | |
} | |
internal val typeAbstractContentTrackElement = MetaTypeAbstractContentTrackElement() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment