Lesley Bross, August 25, 2010 ArcGIS 10 Add-In Components and Controls.

Slides:



Advertisements
Similar presentations
5-1 5 Tour of ArcMap and ArcCatalog ArcGIS for Assessors 1.
Advertisements

Intro to ArcGIS for New Users. ArcGIS Desktop Advanced GeoprocessingArcInfo ArcReader Data Access Map Viewing Query Advanced EditingArcEditor ArcView.
What's New in ArcGIS 9.2 (Part II). Contents overview More about tablesMore about tables New layer enhancementNew layer enhancement Cartographic representationCartographic.
Visual Basic 2010 How to Program. © by Pearson Education, Inc. All Rights Reserved.2.
Guide to Oracle10G1 Introduction To Forms Builder Chapter 5.
Integrating Access with the Web and with Other Programs.
Automating Tasks With Macros
Creating Custom Forms. 2 Design and create a custom form You can create a custom form by modifying an existing form or creating a new form. Either way,
A Guide to Oracle9i1 Introduction To Forms Builder Chapter 5.
Intro to ArcMap Customization with Visual Basic  Create your own toolbars, buttons, interactive tools, and programs  Runs behind the scenes in ArcMap.
Automating Tasks With Macros. 2 Design a switchboard and dialog box for a graphical user interface Database developers interact directly with Access.
A Guide to Oracle9i1 Creating an Integrated Database Application Chapter 8.
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
Introduction To Form Builder
Introduction to ESRI Add-Ins
Esri International User Conference | San Diego, CA Technical Workshops | Migrating Custom Desktop Solutions from 9.3 to 10 John Hauck and Ralf Gottschalk.
Esri International User Conference | San Diego, CA Technical Workshops | ArcGIS for SharePoint, An Introduction Art Haddad Rich Zwaap.
Introduction to ArcGIS Add-Ins Exercises GIS/LIS Conference, 2014 Rochester, MN.
Microsoft Visual Basic 2005 ENRICHMENT CHAPTER Visual Studio Tools for Office.
8 Copyright © 2004, Oracle. All rights reserved. Creating LOVs and Editors.
Esri UC2013. Technical Workshop. Technical Workshop 2013 Esri International User Conference July 8–12, 2013 | San Diego, California Creating.NET Add-ins.
Lesley Bross, August 29, 2010 ArcGIS 10 add-in glossary.
McGraw-Hill/Irwin © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Dynamic Action with Macromedia Dreamweaver MX Barry Sosinsky Valda Hilley.
1 Autodesk Confidential Information November 2010 What’s New in the Inventor 2012 API?
Department of Mechanical Engineering, LSUSession VII MATLAB Tutorials Session VIII Graphical User Interface using MATLAB Rajeev Madazhy
Virtual techdays INDIA │ Nov 2010 Developing Office Biz Application using WPF on Windows 7 Sarang Datye │ Sr. Consultant, Microsoft Sridhar Poduri.
Arc: AddIns Dr Andy Evans. Java Direct access to ArcObjects Framework inside and outside Arc. Ability to add components to the GUI. Ability to communicate.
1 1 Lab1 Ismail M. Romi – IT Dept, PPU, Visual Basic 2005 Programming Tour.
Appendices A - F A-F Exploring Microsoft Visual Basic 6.0 Copyright © 1999 Prentice-Hall, Inc. By Carlotta Eaton.
CSS/417 Introduction to Database Management Systems Workshop 2.
Designing Interface Components. Components Navigation components - the user uses these components to give instructions. Input – Components that are used.
Microsoft Visual Basic 2005 ENRICHMENT CHAPTER Visual Studio Tools for Office.
ATN GIS Support ArcGIS: ArcMap Data View.
S511 Session 7, IU-SLIS 1 DB Implementation: MS Access Forms.
Creating Graphical User Interfaces (GUI’s) with MATLAB By Jeffrey A. Webb OSU Gateway Coalition Member.
Visual Basic.NET BASICS Lesson 1 A First Look at Microsoft Visual Basic.NET.
Unit 5, Lesson 1 Working with Databases. Objectives Identify the parts of the Access screen. Identify the parts of the Access screen. Understand the purpose.
DB Implementation: MS Access Forms. MS Access Forms  Purpose Data entry, editing, & viewing data in tables Forms are user-friendlier to end-users than.
Microsoft Visual Basic 2005 BASICS Lesson 1 A First Look at Microsoft Visual Basic.
ATN GIS Support ArcGIS: ArcCatalog.
Working in FreeHand – Lesson 21 Working in FreeHand Lesson 2.
Esri UC 2014 | Technical Workshop | Operations Dashboard for ArcGIS: Extending the Functionality Jay Chen Kylie Donia Tif Pun.
3 Copyright © 2004, Oracle. All rights reserved. Working in the Forms Developer Environment.
Graphical Enablement In this presentation… –What is graphical enablement? –Introduction to newlook dialogs and tools used to graphical enable System i.
XP New Perspectives on Microsoft Office Access 2003 Tutorial 10 1 Microsoft Office Access 2003 Tutorial 10 – Automating Tasks With Macros.
ArcGIS: ArcCatalog. Agenda The ArcCatalog Interface General ArcCatalog ▫Navigating directories ▫Preview data ▫View metadata Advanced ArcCatalog ▫Modifying.
Editing Attributes in ArcGIS Attributes – the data in records. e.g A parcel of land might be zone 3A residential. The field = TAG The attribute = 3A In.
Oct 021 Outline What is a widget? Buttons Combo boxes Text components Message boxes.
Slide 1 Using Menu Bar & Common Dialog Boxes. Slide 2 Setting Up the Main Items v First open the form on which you want the menu located v Then start.
INTRODUCTION TO ACCESS. OBJECTIVES  Define the terms field, record, table, relational database, primary key, and foreign key  Create a blank database.
 2002 Prentice Hall. All rights reserved. 1 Chapter 2 – Introduction to the Visual Studio.NET IDE Outline 2.1Introduction 2.2Visual Studio.NET Integrated.
CMPF114 Computer Literacy Chapter 3 The Visual Basic Environment 1.
McGraw-Hill/Irwin The Interactive Computing Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Access 2002 Advanced Form Design.
Chapter 27 Getting “Web-ified” (Web Applications) Clearly Visual Basic: Programming with Visual Basic nd Edition.
® IBM Software Group © 2007 IBM Corporation Module 3: Creating UML Diagrams Essentials of Modeling with IBM Rational Software Architect, V7.5.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 8 1 Microsoft Office Access 2003 Tutorial 8 – Integrating Access with the.
Chapter 5 Introduction To Form Builder. Lesson C Objectives  Use sequences to automatically generate primary key values in a form  Create lists of values.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 6 1 Microsoft Office Access 2003 Tutorial 6 – Creating Custom Forms.
Customizing Menus and Toolbars CHAPTER 12 Customizing Menus and Toolbars.
Visual Basic.NET BASICS Lesson 14 Menus and Printing.
 2002 Prentice Hall. All rights reserved. 1 Introduction to the Visual Studio.NET IDE Outline Introduction Visual Studio.NET Integrated Development Environment.
1 Chapter 6: Creating Oracle Data Block Forms. 2 Forms  Application with a graphical user interface that looks like a paper form  Used to insert, update,
Chapter 7 Multiple Forms, Modules, and Menus. Section 7.2 MODULES A module contains code—declarations and procedures—that are used by other files in a.
Introduction to ArcGIS Add-Ins
Unit Six: Labels In this unit… Review Adding Text to Maps
Chapter 2 – Introduction to the Visual Studio .NET IDE
Exercise 48 - Skills Adobe Flash CS4 is a software program you use to create animation and applications that range form simple to very complex. Being able.
Microsoft Office Access 2003
Microsoft Office Access 2003
Building Add-ins for ArcGIS Desktop in .NET
Presentation transcript:

Lesley Bross, August 25, 2010 ArcGIS 10 Add-In Components and Controls

Add-in Components

Button Wizard generates a class that extends ESRI Button class to implement run-time behavior of button Buttons can be added to toolbars, menus, or tool palettes in the add-in configuration file Users can add buttons to their toolbars through Customize… dialog Example: override onClick() event with action to be taken; Buttons have no inherent action

Tool Wizard generates a class that extends ESRI Tool class to implement run-time behavior of tool Tools can be added to toolbars, menus, or tool palettes in the add-in configuration file Users can add tools to their toolbars through Customize… dialog Tools are different from buttons because they require interaction with the map Example: override onMouseDown(), onMouseUp()

Button or Tool ? Button and tool images are packaged with the add-in Tools stay active until a different tool is selected Buttons trigger single actions Tool Button

Combo Box Wizard generates a class that extends ESRI ComboBox class to implement run-time behavior of tool A combo box contains a drop-down list optionally headed by an editable field Combo boxes can be added to toolbars in the add-in configuration file Users can add combo boxes to their toolbars through Customize… dialog Example: Items are added to the Combo Box in the New() method Example: Respond to user selection by overriding OnSelChange() method

Editable combo box Combo Box

Multi-item Wizard generates a class that extends ESRI MultItem class to implement run-time behavior of menu items A MultiItem contains a drop-down list of menu items may be dynamically built MultiItem objects are linked to Menus in the add-in configuration file MultiItem objects cannot be accessed outside a Menu Example: A list of menu items is generated in the OnPopup() method; Updates on every access Example: Respond to user selection by overriding OnClick() method

Multi-item menu Note that the items on the menu are dynamically derived from the layers present on the map

Extension Wizard generates a class that extends ESRI Extension class to implement run-time behavior of the extension Coordinates activities between user components in an add-in Can store state associated with an add-in and respond to events thrown by ArcMap Example: Override Initialize() method to set defaults Example: Override Uninitialize() method to clean up

Editor Extension Wizard generates a class that extends ESRI Extension class to implement run-time behavior of the editor extension Generated class integrates with ArcMap editor framework and extension loads/unloads with edit session Can automatically respond to selected events; Use for custom validation Attributes window and digitizer extension are examples of editor extensions that ship with ArcMap Example: Override Events_OnCreateChangeFeature() method to validate updates

Dockable Window Wizard generates a class that extends ESRI DockableWindow class to implement design and run-time behavior of the dockable window Toggle window display with a combo box, menu item, or button Use as a form to display/gather user information Use toolbox in design mode to create form. Both Windows and ArcMap tools are available Example: Override onClick() method for a button on the dockable window to process information on the form

Dockable Window example dockable window button to open/close window

Add-in Command Bars

Tool Palette Configured in XML only A compact way to group sets of tools or buttons. Columns attribute determines width Grouping may include add-in tools that you create or built-in ArcMap tools Tool palettes can be added to toolbars in the add-in configuration file Users can add tool palettes to their toolbars through Customize… dialog

Tool Palette example tool palette

Toolbar Configured in XML only May contain buttons, tools, menus, tool palettes, and combo boxes Toolbars can include commands that you create or built-in ArcMap tools Toolbars may be configured to pop-up automatically when the add-in is added to ArcMap Users can add toolbars to ArcMap through Customize… dialog

Toolbar example

Menu Configured in XML only Drop-down list comprised of multi-items, buttons, and submenus Menus can access commands that you create or built-in ArcMap tools Menus are usually added to a toolbar but may appear independently A multi-item is added to a menu and a menu is added to a toolbar

Menu example submenu menu

Context Menu Configured in XML only Similar to menus except they appear independently as pop- up menus linked to controls on a form Positioned relative to the mouse position

Context menu example context menu clicked button