예제 #1
0
 public PopupAttributes(Image Selected, UIViewController presentingController, TableSourceAttributes leftTable, TableSourceImageAttributes rightTable, ImageAttributesTableViewController attrTable) : base("PopupAttributes", null)
 {
     currentlySelectedImage = Selected;
     PresentingController   = presentingController;
     RightAttributesTable   = rightTable;
     LeftAttributesTable    = leftTable;
     ImageAttributeTable    = attrTable;
 }
예제 #2
0
        public void InitializeRightTableView()
        {
            //Right Table (Image Attributes)
            RightAttributesTableSource = new TableSourceImageAttributes();
            RightAttributesTableSource.ImageAttributeToAttributes += InsertAttributeForImage;
            RightImageAttributeTable            = new ImageAttributesTableViewController(RightAttributesTableSource);
            ImageAtrributesNavigationController = new MasterTableNavigationController(RightImageAttributeTable);

            /*
             * Get the left Button handler, show the listview
             */

            UIBarButtonItem addAttribute = ImageAtrributesNavigationController.LeftButton();

            addAttribute.Clicked += AddImageAttribute;
            RightAttributesTableSource.AttributeRowToController += GetAttributeRowSelectedRight;
        }
예제 #3
0
 public void setRightAttributesTableSource(TableSourceImageAttributes RightAttributesTableSource)
 {
     this.RightAttributesTableSource = RightAttributesTableSource;
 }