Packages

package editor

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Package Members

  1. package feature
  2. package util
  3. package view

Type Members

  1. final case class Action(title: String, shortCut: String, handler: (Any) => Unit, icon: Option[String] = None) extends Product with Serializable
  2. case class AddEdge(id: String, from: String, to: String, connectorRef: Option[String] = None, path: Option[EdgePath] = None) extends EditorCommand with Product with Serializable
  3. case class AddNode(id: String, stencilRef: Option[String] = None, x: Option[Double] = None, y: Option[Double] = None) extends EditorCommand with Product with Serializable
  4. case class ColorValue(color: String) extends PropertyValue with Product with Serializable
  5. final case class Connector(id: String, title: String, image: Option[ImageSpec] = None, schemaRef: Option[String] = None) extends Product with Serializable
  6. final case class ConnectorGroup(title: String, items: List[Connector]) extends Product with Serializable
  7. final case class DragStart[T](cursorX: Double, cursorY: Double, transformX: Double, transformY: Double, dragElem: T, element: ElementRef, lastPos: Option[PagePoint], deltaX: Double, deltaY: Double) extends Product with Serializable
  8. sealed trait EditorCommand extends EditorEvent
  9. trait EditorComponent extends AnyRef
  10. final case class EditorConfiguration(palettes: Option[List[Palette]] = None) extends Product with Serializable
  11. final case class EditorContext(event: EditorEvent, model: EditorModel, notifications: Vector[Notification] = Vector.empty, commands: Vector[EditorCommand] = Vector.empty, effects: Vector[EditorEffect] = Vector.empty) extends Product with Serializable
  12. class EditorController extends EditorMessageBus
  13. final case class EditorEffect(source: EditorComponent, effect: IO[Unit]) extends Product with Serializable
  14. case class EditorErrorMessage(message: String) extends EditorEvent with Product with Serializable
  15. sealed trait EditorEvent extends AnyRef
  16. final case class EditorGraph(graph: Graph[EditorGraphEdge, EditorGraphNode], styleSheets: List[Either[String, StyleSheet]], layouts: List[Either[String, GraphLayoutLike]], schemas: List[Either[String, EditorSchema]]) extends Product with Serializable
  17. final case class EditorGraphEdge(id: String, data: Json, connector: Option[String], schemaRef: Option[String], label: Option[String] = None) extends EditorGraphElement with Product with Serializable
  18. trait EditorGraphElement extends AnyRef
  19. final case class EditorGraphNode(id: String, data: Json, stencil: Option[String], schemaRef: Option[String], label: Option[String] = None) extends EditorGraphElement with Product with Serializable
  20. class EditorGraphNodeFx extends Group
  21. class EditorGraphPane extends BorderPane with Page[scalafx.scene.Node, MouseEvent]
  22. class EditorImageLoader[Image] extends EditorComponent
  23. final case class EditorInstance(bus: EditorMessageBus, components: List[EditorComponent]) extends Product with Serializable
  24. trait EditorMain extends AnyRef
  25. trait EditorMenu extends EditorComponent
  26. class EditorMenuJavaFx extends EditorMenu
  27. final case class EditorMenuSpec(title: String, menuType: MenuType, actions: List[Action], icon: Option[String] = None) extends Product with Serializable
  28. trait EditorMessageBus extends AnyRef
  29. final case class EditorModel(graph: Graph[EditorGraphEdge, EditorGraphNode], selection: Set[ElementRef] = Set.empty, connectSelection: Boolean = false, schema: EditorSchemaLike, palette: EditorPaletteLike, layout: GraphLayoutLike, styleSheet: StyleSheetLike, version: Long = 0, config: EditorConfiguration) extends Product with Serializable
  30. class EditorPaletteJavaFx extends PaletteFeature
  31. trait EditorPaletteLike extends AnyRef
  32. final case class EditorPalettes(palettes: List[Palette]) extends EditorPaletteLike with Product with Serializable
  33. trait EditorProperties extends EditorComponent
  34. class EditorPropertiesJavaFx extends EditorProperties
  35. final case class EditorSchemaHints(copyToLabel: Option[Boolean] = None, hideLabelProperty: Option[Boolean] = None, highlight: Option[String] = None, showJsonProperty: Option[Boolean] = None) extends Product with Serializable
  36. trait EditorSchemaLike extends AnyRef
  37. final case class EditorSchemas(schemas: List[Schema[EditorSchemaHints]]) extends EditorSchemaLike with Product with Serializable
  38. case class EditorToggle(key: String, value: Option[Boolean]) extends EditorCommand with Product with Serializable
  39. trait EditorView[T, E] extends EditorComponent
  40. class EditorViewJavaFx extends EditorView[scalafx.scene.Node, MouseEvent]
  41. final case class ElementProperties(element: ElementRef, labelValue: Option[String], colorValue: Option[String], elementSchema: EditorSchema, value: Json) extends Product with Serializable
  42. case class ElementRef(id: String, elementType: ElementType) extends Product with Serializable
  43. sealed trait ElementType extends AnyRef
  44. case class ElementUpdated(element: ElementRef, update: UpdateType = Changed, causedBy: Option[EditorEvent] = None) extends EditorEvent with Product with Serializable
  45. case class Export(format: FileFormat) extends EditorCommand with Product with Serializable
  46. case class ExportedGraph(name: String, value: String, format: FileFormat) extends EditorEvent with Product with Serializable
  47. sealed trait FileFormat extends AnyRef
  48. trait ImageLoader[T] extends AnyRef
  49. final case class JFXElement(id: ElementRef, group: scalafx.scene.Node, selectElem: Option[scalafx.scene.Node], label: scalafx.scene.Node) extends GraphElement[scalafx.scene.Node] with Product with Serializable
  50. case class JsonValue(json: Json) extends PropertyValue with Product with Serializable
  51. case class JsonValueKey(key: Option[String]) extends PropertyValueKey with Product with Serializable
  52. case class Load(value: String, format: FileFormat) extends EditorCommand with Product with Serializable
  53. sealed trait MenuType extends AnyRef
  54. case class MoveBy(deltaX: Double, deltaY: Double) extends EditorCommand with Product with Serializable
  55. case class MoveTo(ref: ElementRef, x: Double, y: Double) extends EditorCommand with Product with Serializable
  56. final case class Notification(source: EditorComponent, event: EditorEvent) extends Product with Serializable
  57. trait Page[T, E] extends AnyRef
  58. final case class PagePoint(x: Double, y: Double) extends Product with Serializable
  59. final case class Palette(stencils: List[StencilGroup] = List.empty, connectors: List[ConnectorGroup] = List.empty, styleSheet: StyleSheet, schema: Schema[EditorSchemaHints]) extends Product with Serializable
  60. final case class PanContext(mouseAnchorX: Double, mouseAnchorY: Double, translateAnchorX: Double, translateAnchorY: Double) extends Product with Serializable
  61. trait PropertyFormGroup extends AnyRef
  62. case class PropertyFormGroupFx(property: PropertySpec, init: () => Unit, set: (Json) => Unit) extends PropertyFormGroup with Product with Serializable
  63. sealed trait PropertyInputType extends AnyRef
  64. final case class PropertySpec(key: Option[PropertyValueKey] = None, title: String, inputType: PropertyInputType, handler: (PropertyValue) => Unit, description: Option[String] = None, collapsable: Option[Boolean] = None, highlight: Option[String] = None, order: Float = 0.5f, targetType: Option[ElementType] = None) extends Product with Serializable
  65. sealed trait PropertyValue extends AnyRef
  66. sealed trait PropertyValueKey extends AnyRef
  67. case class Select(selection: Set[ElementRef], append: Boolean = false) extends EditorCommand with Product with Serializable
  68. case class Selected(elements: Set[ElementRef], oldSelection: Set[ElementRef]) extends EditorEvent with Product with Serializable
  69. case class SetColor(elementRef: ElementRef, color: String) extends EditorCommand with Product with Serializable
  70. case class SetJson(elementRef: ElementRef, json: (Json) => Json) extends EditorCommand with Product with Serializable
  71. case class SetJsonString(elementRef: ElementRef, json: String) extends EditorCommand with Product with Serializable
  72. case class SetLabel(elementRef: ElementRef, label: String) extends EditorCommand with Product with Serializable
  73. case class SetModel(model: EditorModel) extends EditorCommand with Product with Serializable
  74. final case class Stencil(id: String, title: String, image: Option[ImageSpec] = None, schemaRef: Option[String] = None) extends Product with Serializable

    id

    the id of the stencil, this will be used as a reference to the style sheet

    title

    title to show

    image

    an image spec to be used in the palette, this is not referencing the stylesheet images because the stencil style might actually not be an image, making a preview hard to reproduce

    schemaRef

    reference to the schema definition, not the full path, only the fragment

  75. final case class StencilGroup(title: String, items: List[Stencil]) extends Product with Serializable
  76. sealed trait UpdateType extends AnyRef
  77. final case class ViewModel[T](graphElements: Map[ElementRef, GraphElement[T]]) extends Product with Serializable

Value Members

  1. case object BooleanInput extends PropertyInputType with Product with Serializable
  2. case object Changed extends UpdateType with Product with Serializable
  3. case object ColorInputType extends PropertyInputType with Product with Serializable
  4. case object ColorKey extends PropertyValueKey with Product with Serializable
  5. case object Created extends UpdateType with Product with Serializable
  6. case object DeleteSelection extends EditorCommand with Product with Serializable
  7. case object Deleted extends UpdateType with Product with Serializable
  8. case object DropUp extends MenuType with Product with Serializable
  9. case object EdgeType extends ElementType with Product with Serializable
  10. object EditorCommand
  11. object EditorConfiguration extends Serializable
  12. object EditorGraphEdge extends Serializable
  13. object EditorGraphJsonFormat
  14. object EditorGraphNode extends Serializable
  15. object EditorMainJvm extends JFXApp with EditorMain
  16. object EditorModel extends Serializable
  17. object EditorToggle extends Serializable
  18. case object GraphMLFormat extends FileFormat with Product with Serializable
  19. object ImageLoader
  20. object ImageLoaderFx extends ImageLoader[Image]
  21. case object IntegerInput extends PropertyInputType with Product with Serializable
  22. case object Internal extends UpdateType with Product with Serializable
  23. case object JsonFormat extends FileFormat with Product with Serializable
  24. case object JsonInputType extends PropertyInputType with Product with Serializable
  25. case object LabelInputType extends PropertyInputType with Product with Serializable
  26. case object NodeType extends ElementType with Product with Serializable
  27. case object NumberInput extends PropertyInputType with Product with Serializable
  28. case object Reset extends EditorCommand with Product with Serializable
  29. case object ResetTransformation extends EditorCommand with Product with Serializable
  30. case object SelectAll extends EditorCommand with Product with Serializable
  31. case object TextInput extends PropertyInputType with Product with Serializable
  32. case object Toolbar extends MenuType with Product with Serializable
  33. case object Undo extends EditorCommand with Product with Serializable

Ungrouped