<invoke-target-type>

(Optional) Defines the type of target.

Parent elements

<invoke-target>

Child elements

None

Description

The <invoke_target_type> element defines the type of the target. The supported types are:

  • application: The target is an app and is started only when required.
  • viewer: The target reference always spawns a new window and window reparenting is required.

Content

A PCDATA value the target type You can use the following types:

application
The target is an app and is started only when required.
viewer
The target reference always spawns a new window and window reparenting is required.

Attributes

None

Example

<invoke-target id="com.mycompany.pdf.viewer">
   <invoke-target-type>viewer</invoke-target-type>
   <filter>
      <action>bb.action.VIEW</action>
      <action>bb.action.EDIT</action>
      <mime-type>application/pdf</mime-type>
      <mime-type>application/x-pdf</mime-type>
   </filter>
</invoke-target>

<invoke-target id="com.mycompany.pdf.app">
   <invoke-target-type>application</invoke-target-type>
   <filter>
      <action>bb.action.EDIT</action>
      <mime-type>application/pdf</mime-type>
      <mime-type>application/x-pdf</mime-type>
      <property var="uris" value="file://,pdf://"/>
      <property var="exts" value="pdf"/>
   </filter>
   <filter>
      <action>bb.action.VIEW</action>
      <mime-type>application/pdf</mime-type>
      <mime-type>application/x-pdf</mime-type>
   </filter>
 </invoke-target>

Last modified: 2015-07-24



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus