<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wiki.biouml.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.biouml.org/index.php?action=history&amp;feed=atom&amp;title=Element_action_%28extension_point%29</id>
		<title>Element action (extension point) - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.biouml.org/index.php?action=history&amp;feed=atom&amp;title=Element_action_%28extension_point%29"/>
		<link rel="alternate" type="text/html" href="https://wiki.biouml.org/index.php?title=Element_action_(extension_point)&amp;action=history"/>
		<updated>2026-04-13T01:46:57Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.20.3</generator>

	<entry>
		<id>https://wiki.biouml.org/index.php?title=Element_action_(extension_point)&amp;diff=4576&amp;oldid=prev</id>
		<title>Lan@dote.ru: Created page with &quot;{{Extension point|elementAction|ru.biosoft.access|since=0.9.4|registry=ru.biosoft.access.repository.PluginActions}} ;Applicable for :BioUML workbench  === Description === ...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.biouml.org/index.php?title=Element_action_(extension_point)&amp;diff=4576&amp;oldid=prev"/>
				<updated>2013-06-17T08:47:46Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Extension point|elementAction|ru.biosoft.access|since=0.9.4|registry=ru.biosoft.access.repository.PluginActions}} ;Applicable for :&lt;a href=&quot;/index.php/BioUML_workbench&quot; title=&quot;BioUML workbench&quot;&gt;BioUML workbench&lt;/a&gt;  === Description === ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Extension point|elementAction|ru.biosoft.access|since=0.9.4|registry=ru.biosoft.access.repository.PluginActions}}&lt;br /&gt;
;Applicable for&lt;br /&gt;
:[[BioUML workbench]]&lt;br /&gt;
&lt;br /&gt;
=== Description ===&lt;br /&gt;
The elementAction extension is the modern alternative to [[Repository actions provider (extension point)|repositoryActionsProvider extension point]]. It allows to register context menu action for [[repository]] elements in [[BioUML workbench]]. Registered actions are displayed on [[repository pane toolbar]] and available by right-click in [[repository pane]].&lt;br /&gt;
&lt;br /&gt;
=== Configuration markup ===&lt;br /&gt;
 &amp;lt;!ELEMENT action (property*)&amp;gt;&lt;br /&gt;
 &amp;lt;!ATTLIST action&lt;br /&gt;
      name        CDATA #REQUIRED&lt;br /&gt;
      class       CDATA #REQUIRED&lt;br /&gt;
      priority    CDATA #REQUIRED&lt;br /&gt;
 &amp;gt;&lt;br /&gt;
&lt;br /&gt;
;name&lt;br /&gt;
:internal action name.&lt;br /&gt;
;class&lt;br /&gt;
:fully-qualified name of action class (must subclass {{Class|ru.biosoft.access.repository.AbstractElementAction}}).&lt;br /&gt;
;priority&lt;br /&gt;
:action priority (number). Actions with bigger priority numbers are displayed higher in the [[repository pane]] context menu. If action priority exceeds 40, it can be performed as default action when user double-clicks on the element (provided that no other actions with higher priorities are available for given element). If the maximal priority value for given element less or equals to 40, then no default action will be performed by double-click.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;!ELEMENT property&amp;gt;&lt;br /&gt;
 &amp;lt;!ATTLIST property&lt;br /&gt;
      name        CDATA #REQUIRED&lt;br /&gt;
      value       CDATA #REQUIRED&lt;br /&gt;
 &amp;gt;&lt;br /&gt;
&lt;br /&gt;
;name&lt;br /&gt;
:name of action property.&lt;br /&gt;
;value&lt;br /&gt;
:value of action property.&lt;br /&gt;
&lt;br /&gt;
The following properties are defined:&lt;br /&gt;
;Name&lt;br /&gt;
:user-visible name of the action.&lt;br /&gt;
;ShortDescription&lt;br /&gt;
:user-visible short description of the action.&lt;br /&gt;
;LongDescription&lt;br /&gt;
:user-visible long description of the action.&lt;br /&gt;
;MnemonicKey&lt;br /&gt;
:hotkey name to perform the action (see the constants defined in {{Class|java.awt.event.KeyEvent}} class).&lt;br /&gt;
;SmallIcon&lt;br /&gt;
:path to 16x16 icon file&lt;br /&gt;
;ActionCommandKey&lt;br /&gt;
:internal action identifier&lt;br /&gt;
&lt;br /&gt;
Other properties are ignored.&lt;br /&gt;
&lt;br /&gt;
=== Example ===&lt;br /&gt;
  &amp;lt;extension point=&amp;quot;ru.biosoft.access.elementAction&amp;quot;&amp;gt; &lt;br /&gt;
     &amp;lt;action name=&amp;quot;Repeat analysis&amp;quot; class=&amp;quot;ru.biosoft.analysis.gui.RepeatAnalysisAction&amp;quot; priority=&amp;quot;20&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;property name=&amp;quot;Name&amp;quot; value=&amp;quot;Repeat analysis&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;property name=&amp;quot;ShortDescription&amp;quot; value=&amp;quot;Open analysis which was used to create this element&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;property name=&amp;quot;LongDescription&amp;quot; value=&amp;quot;Open analysis which was used to create this element&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;property name=&amp;quot;MnemonicKey&amp;quot; value=&amp;quot;VK_R&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;property name=&amp;quot;SmallIcon&amp;quot; value=&amp;quot;repeat.gif&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;property name=&amp;quot;ActionCommandKey&amp;quot; value=&amp;quot;cmd-repeat-analysis&amp;quot;/&amp;gt;&lt;br /&gt;
     &amp;lt;/action&amp;gt;&lt;br /&gt;
  &amp;lt;/extension&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This extension defines an action implemented in {{Class|ru.biosoft.analysis.gui.RepeatAnalysisAction}} class with priority 20.&lt;/div&gt;</summary>
		<author><name>Lan@dote.ru</name></author>	</entry>

	</feed>