1 <?xml version="1.0" encoding="utf-8"?>
3 xmlns:fx="http://ns.adobe.com/mxml/2009"
4 xmlns:mx="library://ns.adobe.com/flex/mx"
5 xmlns:potlatch2="net.systemeD.potlatch2.*"
6 title="Edit Relation" width="350" height="400"
7 showCloseButton="true" close="PopUpManager.removePopUp(this);">
9 <potlatch2:TagViewer width="100%" height="100%" id="tagViewer"
10 creationComplete="checkRelation()"/>
13 import net.systemeD.halcyon.*;
14 import net.systemeD.halcyon.connection.*;
15 import net.systemeD.potlatch2.*;
16 import mx.managers.PopUpManager;
18 private var _relation:Relation;
20 public function setRelation(relation:Relation):void {
22 // if ( tagViewer != null )
23 // tagViewer.setEntity(_relation);
26 public function checkRelation():void {
27 if ( _relation != null )
28 tagViewer.setEntity([_relation]);