<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://wiki.event-b.org/index.php?action=history&amp;feed=atom&amp;title=Defining_a_generator_handler</id>
	<title>Defining a generator handler - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.event-b.org/index.php?action=history&amp;feed=atom&amp;title=Defining_a_generator_handler"/>
	<link rel="alternate" type="text/html" href="https://wiki.event-b.org/index.php?title=Defining_a_generator_handler&amp;action=history"/>
	<updated>2026-05-15T04:21:57Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>https://wiki.event-b.org/index.php?title=Defining_a_generator_handler&amp;diff=3585&amp;oldid=prev</id>
		<title>imported&gt;Colin: New page: To link the Generator Action to your GMF diagram editor add an extension point like this to your plugin.xml (replace &quot;PUT YOUR DIAGRAM EDITOR ID HERE&quot; with your own id (usually found in yo...</title>
		<link rel="alternate" type="text/html" href="https://wiki.event-b.org/index.php?title=Defining_a_generator_handler&amp;diff=3585&amp;oldid=prev"/>
		<updated>2011-12-29T12:46:36Z</updated>

		<summary type="html">&lt;p&gt;New page: To link the Generator Action to your GMF diagram editor add an extension point like this to your plugin.xml (replace &amp;quot;PUT YOUR DIAGRAM EDITOR ID HERE&amp;quot; with your own id (usually found in yo...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;To link the Generator Action to your GMF diagram editor add an extension point like this to your plugin.xml&lt;br /&gt;
(replace &amp;quot;PUT YOUR DIAGRAM EDITOR ID HERE&amp;quot; with your own id (usually found in your Diagram Editor Class (in package part).&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;extension&lt;br /&gt;
     point=&amp;quot;org.eclipse.ui.handlers&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;handler&lt;br /&gt;
        class=&amp;quot;ac.soton.eventb.emf.diagrams.generator.GenerateAction&amp;quot;&lt;br /&gt;
        commandId=&amp;quot;ac.soton.eventb.emf.diagrams.generator.generateEventB&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;enabledWhen&amp;gt;&lt;br /&gt;
        &amp;lt;and&amp;gt;&lt;br /&gt;
           &amp;lt;with&lt;br /&gt;
                 variable=&amp;quot;activePartId&amp;quot;&amp;gt;&lt;br /&gt;
              &amp;lt;equals&lt;br /&gt;
                    value=&amp;quot;PUT YOUR DIAGRAM EDITOR ID HERE&amp;quot;&amp;gt;&lt;br /&gt;
              &amp;lt;/equals&amp;gt;&lt;br /&gt;
           &amp;lt;/with&amp;gt;&lt;br /&gt;
        &amp;lt;/and&amp;gt;&lt;br /&gt;
     &amp;lt;/enabledWhen&amp;gt;&lt;br /&gt;
  &amp;lt;/handler&amp;gt;&lt;br /&gt;
 &amp;lt;/extension&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;Colin</name></author>
	</entry>
</feed>