HSLayers.WMCManager (class)

HSLayers.WMCManager

class HSLayers.WMCManager(config)

Manager of WMC file

param Object config:
 
param String config.srvKeywordsPath:
 path to keywords on the server

Example usage:

var wmcmanager = new HSLayers.WMCManager({
           height:400,
           width: 450,
           autoScroll: true,
           frame:true
    });

Properties

set

is stored to the server

catalogue

from the server as file

HSLayers.WMCManager.abstractField
Type :Ext.form.TextArea (static)

HSLayers.WMCManager

Field for abstract - mandatory

HSLayers.WMCManager.cat_attributes

HSLayers.WMCManager

Attributes of loaded compositon from the catalogue service

HSLayers.WMCManager.contactSet
Type :HSLayers.WMCManager.ConcactSet (static)

HSLayers.WMCManager

Form set with Contact fields

HSLayers.WMCManager.context
Type :Object (static)

HSLayers.WMCManager

This context of the map, use setContext() for writing

HSLayers.WMCManager.fieldWidth
Type :Integer (static)

HSLayers.WMCManager

Field width

HSLayers.WMCManager.getImagesURL
Type :String (static)

HSLayers.WMCManager

URL for WMC Images

HSLayers.WMCManager.getWMCsURL
Type :String (static)

HSLayers.WMCManager

URL for existing WMCs

HSLayers.WMCManager.initContext
Type :Object (static)

HSLayers.WMCManager

Initial context, which will always be used

HSLayers.WMCManager.initialFields
Type :of {HSLayers.WMCManager.KeywordsField} (static)

HSLayers.WMCManager

Object with initial INSPIRE and ISO pair of fields

HSLayers.WMCManager.inspireThemesURL
Type :String (static)

HSLayers.WMCManager

URL, where JSON object with INSPIRE themes and ISO keywords is stored

HSLayers.WMCManager.keywordManager
Type :Ext.tabs.TabPanel (static)

HSLayers.WMCManager

Tab panel, for varuous thesauri - used only when thesaurus URL is set

HSLayers.WMCManager.logoWindow
Type :HSLayers.FileDialog (static)

HSLayers.WMCManager

Window for selection of the logsho

HSLayers.WMCManager.scope

HSLayers.WMCManager

scope for modifyContext function

HSLayers.WMCManager.services
Type :InspireServiceReader (static)

HSLayers.WMCManager

Services keywords (GEMET)

HSLayers.WMCManager.srvKeywordsPath
Type :String (static)

HSLayers.WMCManager

URL to the GEMET thesaurus

HSLayers.WMCManager.stores
Type :with {Ext.data.Store} (static)

HSLayers.WMCManager

Initial pair of data stores for initialFields

HSLayers.WMCManager.thesaurusReader
Type :Ext.data.Reader (static)

HSLayers.WMCManager

Reader for GEMET & co. keyword clients

HSLayers.WMCManager.thesaurusWindow
Type :Ext.Window (static)

HSLayers.WMCManager

Window, in which the GEMET reader will be opened

HSLayers.WMCManager.titleField
Type :Ext.form.TextField (static)

HSLayers.WMCManager

Field for title - mandatory

HSLayers.WMCManager.uuid
Type :String (static)

HSLayers.WMCManager

Stored UUID for the context. It will be changed only, if the context is stored to the server

HSLayers.WMCManager.uuidURL
Type :String (static)

HSLayers.WMCManager

URL, where to get fresh UUID from

HSLayers.WMCManager.wmcDetailURL
Type :String (static)

HSLayers.WMCManager

URL which will return back detailed information about saved WMC based on catalogue

HSLayers.WMCManager.wmcForm

HSLayers.WMCManager

Hidden form for submitting it, so the user recieves back the data from the server as file

HSLayers.WMCManager.wmcHandlerURL
Type :String (static)

HSLayers.WMCManager

URL with saved WMC Handler

Methods

and user can select the context logo

new image

XML

HSLayers.WMCManager.fillKeywords()

Fill keywords with given text from GEMET thesaurus reader

:param Object :

Returns:null
Called, when clicked at the logo space, new logoWindow will popup

and user can select the context logo

HSLayers.WMCManager.onIconSelected(e)
When the icon is selected from the window, logoPanel is filled with

new image

param Ext.event e:
 
HSLayers.WMCManager.setMap(map)

Set this.map object

Arguments:
  • map (OpenLayers.Map) –
HSLayers.WMCManager.createWMC()

Create WMC XML from map

Returns:WMC xml
Return type:String
HSLayers.WMCManager.saveWMCToServerAsNew()

Save WMC to server under new name

HSLayers.WMCManager.saveWMCToServer()

Save WMC to server - rewrite existing wmc on the server, if exists

HSLayers.WMCManager.onSaveToServerFailed(message)

save to server failed, display error message

Arguments:
  • message (Object) –
HSLayers.WMCManager.setWMC()

set WMC to the application

HSLayers.WMCManager.saveWMCToDisc()

Save WMC to local hard disc

HSLayers.WMCManager.reset()

reset the form

HSLayers.WMCManager.setUUID(uuid)

set UUID of this map context

Arguments:
HSLayers.WMCManager.addKeyword(keyword, prefix)

set keyword

Arguments:
HSLayers.WMCManager.insertKwTolist()

insert keyword field to the kw list

:param KeywordsField :

HSLayers.WMCManager.modifyContext(context)
custom function for modifing the context, before it is cursed to

XML

param Object context:
 
returns:modified context
rtype:Object

Main Menu


Table Of Contents

Previous topic

HSLayers.Util (data)

Next topic

HSLayers.WMCManager.ConcactSet (class)

This Page