Packagenet.systemeD.potlatch2
Classpublic class TagViewer
InheritanceTagViewer Inheritance mx.containers.VBox
Implementsmx.binding.IBindingClient



Public Properties
 PropertyDefined by
  mapFeatures : MapFeatures
TagViewer
Public Methods
 MethodDefined by
  
addNewTag():void
TagViewer
  
TagViewer
  
changeFeatureType(event:Event):void
TagViewer
  
createRelationMenu(button:PopUpButton):void
Create relation actions menu
TagViewer
  
loadFeatures():void
TagViewer
  
Open up a new browser page, showing the help page as defined in Map Features XML file .
TagViewer
  
Open up a new browser page showing OSM's view of the current entity.
TagViewer
  
TagViewer
  
selectRelationMenu(event:MenuEvent):void
Do the action selected in the relation actions menu
TagViewer
  
setEntity(entities:Array, layer:MapPaint = null):void
TagViewer
  
togglePanel():void
TagViewer
  
updateRelationMenu(event:Event):void
Enable 'add selection to...' entry only if some of the selection isn't in the relation.
TagViewer
Property detail
mapFeaturesproperty
public var mapFeatures:MapFeatures
Method detail
addNewTag()method
public function addNewTag():void
addToRelation()method 
public function addToRelation():void
changeFeatureType()method 
public function changeFeatureType(event:Event):voidParameters
event:Event
createRelationMenu()method 
public function createRelationMenu(button:PopUpButton):void

Create relation actions menu

Parameters
button:PopUpButton
loadFeatures()method 
public function loadFeatures():void
openDescription()method 
public function openDescription():void

Open up a new browser page, showing the help page as defined in Map Features XML file .

openEntityPage()method 
public function openEntityPage():void

Open up a new browser page showing OSM's view of the current entity.

selectAdvancedPanel()method 
public function selectAdvancedPanel():void
selectRelationMenu()method 
public function selectRelationMenu(event:MenuEvent):void

Do the action selected in the relation actions menu

Parameters
event:MenuEvent
setEntity()method 
public function setEntity(entities:Array, layer:MapPaint = null):voidParameters
entities:Array
 
layer:MapPaint (default = null)
togglePanel()method 
public function togglePanel():void
updateRelationMenu()method 
public function updateRelationMenu(event:Event):void

Enable 'add selection to...' entry only if some of the selection isn't in the relation. Called each time the menu is clicked.

Parameters
event:Event