Options
All
  • Public
  • Public/Protected
  • All
Menu



Geoxortex Framework Application Base

This is a building block for application that require "Framework" in their application but are not necessarilly running in GVH. For example, 3rd Party Apps or WAB applications.

Components

Loader

Does loading

App

Our own app that extends the GCX framework Application. (Not the GVH Application)

wabLoader

When creating widgets in WAB you can imort the frameworkApp to get the instance of our App.

web

All the Inline files

Modules

BridgeGvhModule

??? is this used?

Configuration

None

BridgeFrameworkAppModule

Module on the FrameworkApp side that interacts with GVH

Configuration

Property Description
viewerId ??
allowedOrigins CORS config. An array of allowed orgin strings.
commands An array of command names that are allowed through the bridge.
events An array of event names that are allowed through the bridge. (Names must end in "EVENT")

HeaderModule

??

Configuration

None

LogModule

Provides a logging view.

LogViewModel Configuration

Property Description
logToConsole true or false.

Index

Modules

Classes

Interfaces

Variables

Functions

Variables

ErrorBase

ErrorBase: ErrorBaseConstructor = <any>ErrorBaseImpl

Base class for custom errors.

Functions

ErrorBaseImpl

  • ErrorBaseImpl(message?: string): any
  • Parameters

    • Optional message: string

    Returns any

Export assignment JUnit

  • JUnit(config: any): void
  • Parameters

    • config: any

    Returns void

XmlNode

  • XmlNode(nodeName: any, attributes?: any): void
  • Simple XML generator.

    constructor

    Parameters

    • nodeName: any

      The node name.

    • Optional attributes: any

      Optional attributes.

    Returns void

addQueryParameter

  • addQueryParameter(uri: string | Uri, parameter: string, value: string): string
  • Adds (or updates) a query parameter in a URI.

    Parameters

    • uri: string | Uri

      The URI to add a parameter to.

    • parameter: string

      The name of the query parameter to add. If it already exists, the value will be updated.

    • value: string

      The value for the query parameter.

    Returns string

addSuites

  • addSuites(suite: any, listOfSuites: any): void
  • Parameters

    • suite: any
    • listOfSuites: any

    Returns void

checkArg

  • Provides a fluent interface for checking preconditions on method arguments.

    example

    function myFunction(name, email, age) { checkArg("name", name) .isNotMissing() .isNotEmpty(); checkArg("email", email).matches(".+\@.+..+"); checkArg("age", age).isGreaterThanOrEqualTo(18, "No minors allowed.");

    // ...
    

    }

    Parameters

    • parameter: string

      The name of the method parameter.

    • value: any

      The argument value to check.

    Returns ArgumentChecker

createSuiteNode

  • createSuiteNode(suite: any): any
  • Parameters

    • suite: any

    Returns any

createTestNode

  • createTestNode(test: any, suiteName: any): any
  • Parameters

    • test: any
    • suiteName: any

    Returns any

getErrorMessage

  • getErrorMessage(error: any): string
  • Parameters

    • error: any

    Returns string

isAbsoluteUri

  • isAbsoluteUri(uri: string): boolean
  • Determines whether a URI is absolute.

    Parameters

    • uri: string

      The URI to check.

    Returns boolean

isRelativeUri

  • isRelativeUri(uri: string): boolean
  • Determines whether a URI is relative.

    Parameters

    • uri: string

      The URI to check.

    Returns boolean

removeQueryParameter

  • removeQueryParameter(uri: string | Uri, parameter: string): string
  • Removes a query parameter from a URI, if it exists.

    Parameters

    • uri: string | Uri

      The URI to add a parameter to.

    • parameter: string

      The name of the query parameter to remove.

    Returns string

toAbsoluteUri

  • toAbsoluteUri(uri: string, baseUri?: string): string
  • Attempts to converts a URI into an absolute URI.

    Parameters

    • uri: string

      The URI to convert.

    • Optional baseUri: string

      The base URI that acts as the context for a relative URI. Must be absolute. If not specified, then it will be the value of window.location.

    Returns string