Object

imce.oti.mof.magicdraw.dynamicscripts.tiwg

Utils

Related Doc: package tiwg

Permalink

object Utils

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Utils
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type Callback = (Project, MagicDrawOTIDocumentSetAdapterForDataProvider, Set[OTIMOFResourceTables], OTIDocumentSetConfiguration, Set[UMLPackage[MagicDrawUML]]) ⇒ Try[Option[MagicDrawValidationDataResults]]

    Permalink
  2. type OTIDocument2MOFResource = (Project, MagicDrawOTIDocumentSetAdapterForDataProvider, Set[OTIMOFResourceTables]) ⇒ Try[(Document[MagicDrawUML]) ⇒ \&/[Vector[Throwable], OTIMOFResourceTables]]

    Permalink
  3. class Selectable[U, C[X <: U] <: GenTraversable[X]] extends AnyRef

    Permalink

    OCL-like select (filter) + collect (downcast)

    OCL-like select (filter) + collect (downcast)

    OCL:

    s->select(oclIsKindOf(V))->collect(oclAsType(V))

    Scala:

    import Utils.selectable
    
    s.select { case v: V => v }
    U

    A type of elements

    C

    A collection type

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. implicit def IterableSemigroup[T]: Semigroup[Iterable[T]]

    Permalink
  5. val MagicDraw18_UML25Implementation_PrimitiveTypes_File: String

    Permalink
  6. val MagicDraw18_UML25Implementation_UMLMetamodel_File: String

    Permalink
  7. val MagicDraw18_implementation_DocumentSetConfiguration_File: String

    Permalink
  8. val PrimitiveTypes_IRI: ResourceIRI

    Permalink
  9. val UML25_IRI: ResourceIRI

    Permalink
  10. implicit def VectorSemigroup[T]: Semigroup[Vector[T]]

    Permalink
  11. def addSpecificationRootPackageForDataProvider(odsa: MagicDrawOTIDocumentSetAdapterForDataProvider)(ri: \&/[Set[Throwable], OTIDocumentSetConfiguration], p: UMLPackage[MagicDrawUML]): \&/[Set[Throwable], OTIDocumentSetConfiguration]

    Permalink
  12. def addSpecificationRootPackageForProfileProvider(odsa: MagicDrawOTIDocumentSetAdapterForProfileProvider)(ri: \&/[Set[Throwable], OTIDocumentSetConfiguration], p: UMLPackage[MagicDrawUML]): \&/[Set[Throwable], OTIDocumentSetConfiguration]

    Permalink
  13. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  14. def browserDynamicScript(p: Project, ev: ActionEvent, script: BrowserContextMenuAction, tree: Tree, node: Node, top: Package, selection: Collection[_ <: Package], actionName: String, action: Callback, chooser: () ⇒ Try[Option[(Vector[File], Set[OTIMOFResourceTables])]]): Try[Option[MagicDrawValidationDataResults]]

    Permalink
  15. def chooseExistingDirectory(title: String, description: String, dir: File = MDUML.getApplicationInstallDir): Try[Option[Path]]

    Permalink
  16. def chooseJsonFile(resourcePath: String, chooser: () ⇒ Try[Option[File]]): Try[Option[File]]

    Permalink
  17. def chooseJsonFolder(resourcePath: String, chooser: () ⇒ Try[Option[Path]]): Try[Option[Path]]

    Permalink
  18. def chooseOTIDocumentSetConfigurationAndPrimitiveTypes(): Try[Option[(Vector[File], Set[OTIMOFResourceTables])]]

    Permalink
  19. def chooseOTIDocumentSetConfigurationAndPrimitiveTypesAndUMLMetamodel(): Try[Option[(Vector[File], Set[OTIMOFResourceTables])]]

    Permalink
  20. def chooseOTIDocumentSetConfigurationFile(): Try[Option[File]]

    Permalink
  21. def chooseOTIDocumentSetConfigurationForUserModel(): Try[Option[(Vector[File], Set[OTIMOFResourceTables])]]

    Permalink
  22. def chooseOTIDocumentSetConfigurationNoResources(): Try[Option[(Vector[File], Set[OTIMOFResourceTables])]]

    Permalink
  23. def choosePrimitiveTypes(): Try[Option[OTIMOFLibraryTables]]

    Permalink
  24. def choosePrimitiveTypesAndUMLMetamodel4Resolver(): Try[Option[UMLMetamodelResolver]]

    Permalink
  25. def chooseUMLMetamodel(): Try[Option[OTIMOFMetamodelTables]]

    Permalink
  26. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. def diagramDynamicScript(p: Project, ev: ActionEvent, script: DiagramContextMenuAction, dpe: DiagramPresentationElement, triggerView: PackageView, triggerElement: Package, selection: Collection[PresentationElement], actionName: String, action: Callback, chooser: () ⇒ Try[Option[(Vector[File], Set[OTIMOFResourceTables])]]): Try[Option[MagicDrawValidationDataResults]]

    Permalink
  28. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  29. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  30. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  31. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  32. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  33. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  34. def loadOTIDocumentSet(jsonFile: Option[File])(implicit formats: Format[OTIDocumentSetConfiguration]): Try[Option[OTIDocumentSetConfiguration]]

    Permalink
  35. def loadOTIMOFResourceExtent[T <: OTIMOFResourceTables](loader: (Path) ⇒ Future[(JsError, T)], timeout: Duration)(dir: Path)(implicit mat: ActorMaterializer, ec: ExecutionContext): Try[Option[T]]

    Permalink
  36. def lookupAndAddDocumentPackage(p: Project, odsa: MagicDrawOTIDocumentSetAdapterForDataProvider)(current: \&/[Set[Throwable], Set[UMLPackage[MagicDrawUML]]], d: OTIDocumentConfiguration): \&/[Set[Throwable], Set[UMLPackage[MagicDrawUML]]]

    Permalink
  37. def mainToolbarDynamicScript(p: Project, ev: ActionEvent, script: MainToolbarMenuAction, actionName: String, action: Callback, chooser: () ⇒ Try[Option[(Vector[File], Set[OTIMOFResourceTables])]], otiDocumentSetFile: Option[File]): Try[Option[MagicDrawValidationDataResults]]

    Permalink
  38. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  39. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  40. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  41. val poolSize: Int

    Permalink
  42. val resourcesPath: String

    Permalink
  43. implicit def selectable[U, C[X <: U] <: GenTraversable[X]](s: C[U]): Selectable[U, C]

    Permalink
  44. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  45. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  46. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped