Wednesday Apr 01, 2015

Understanding the Event Framework in the AutoVue API

When designing and developing custom solutions using the AutoVue API, it’s crucial to understand not only the core “VueBean” component but also the event framework that the VueBean uses for notifying of and listening for different types of events. There are various types of events depending on the use-case, for example:
  • File-related events (e.g. file open/close, page load completed, etc)
  • View-related events (e.g. user clicked mouse, user modified configuration options, etc)
  • Markup-related events (e.g. markup open/close, markup entity added/removed, etc)
  • Model-related events (e.g. entity added/removed, user entered specific mode, etc)
If your custom AutoVue solution involves sequences of actions against files, file contents, markups, and so on, handling of the appropriate events is important for ensuring that your custom code is synchronized – For example that you don’t start adding markup entities to a page of a drawing before that page has finished loading.

For more details on the event framework, refer to the AutoVue API Developer’s Guide for your particular version of AutoVue (available on the OTN website). For details regarding the individual events themselves, refer to the AutoVue API Javadocs included in the AutoVue installation (within the \docs folder). If you have questions that aren't answered through the docs and Javadocs, feel free to post in the AutoVue Integrations Forum.

Tuesday Jun 12, 2012

Extending AutoVue Through the API

The AutoVue API (previously called the “VueBean” API) is a great way to extend AutoVue Client/Server Deployment – specifically the client component – beyond the out-of-the-box capabilities and into new use-cases. In addition to having a solid grasp of J2SE programming, make sure to leverage the following resources if you’re developing or interested in developing customizations/extensions to AutoVue Client/Server Deployment:

  1. Programmer’s Guide: Before all else, read through the AutoVue API Programmer’s Guide to get an understanding of the architecture of the API. The Programmer’s Guide is included with the installation of AutoVue, and is posted on the Oracle Technology Network (OTN) website for the recent versions of AutoVue: http://www.oracle.com/technetwork/documentation/autovue-091442.html
  2. Javadocs: The AutoVue API Javadocs document the many packages, classes, and methods available to you. The Javadocs are included in the product installation under the \docs\JavaDocs\VueBean folder (easiest starting point is through the file index.html).
  3. Integrations Forum: If you have development questions that aren’t answered through the documentation, feel free to register and post in the public AutoVue Integrations Forum. For more information refer to the following blog post from October 2010: https://blogs.oracle.com/enterprisevisualization/entry/exciting_news_autovue_integrat
  4. Code Samples: Although the Oracle Support team’s scope of Support for API/customization topics is to answer questions regarding information already provided in the documentation (i.e. not to design or develop custom solutions), there are cases where Support comes across interesting samples or code snippets that may benefit various customers. In those cases, our Support team posts the samples into the Oracle knowledge base, and tracks them through a single reference note. The link to the KM Note depends on how you currently access the My Oracle Support portal:

Happy coding!

About

The authors of this blog are members of the AutoVue Enterprise Visualization team at Oracle. The views expressed on this blog reflect those of the members and do not necessarily reflect the views of Oracle.

Search

Archives
« April 2015
SunMonTueWedThuFriSat
   
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
21
22
23
24
25
26
27
28
29
30
  
       
Today