Difference: DpHipeTools (42 vs. 43)

Revision 432009-06-11 - JaimeSaiz

Line: 1 to 1
 
META TOPICPARENT name="DpHipe"

Adding Tools to HIPE

Line: 493 to 493
 REGISTRY = ExtensionRegistry.getInstance()

REGISTRY.register(COMPONENT,Extension(

Deleted:
<
<
"Tool", "herschel.ia.task.views.TaskToolComponent", "factory.editor.new", "herschel.ia.gui.kernel.ToolSelection"));

REGISTRY.register(COMPONENT,Extension(

  "Button Tool",
Changed:
<
<
"herschel.ia.task.views.SimpleButtonToolComponent",
>
>
"herschel.path.to.SimpleButtonToolComponent",
  "factory.editor.tool",
Changed:
<
<
"herschel.ia.task.views.SimpleButtonTool"))
>
>
"herschel.path.to.SimpleButtonTool"))
  from herschel.ia.gui.kernel import ToolRegistry
Changed:
<
<
from herschel.ia.task.views import SimpleButtonTool
>
>
from herschel.path.to import SimpleButtonTool
 simpleButton = SimpleButtonTool() ToolRegistry.getInstance().register(simpleButton)
 
This site is powered by the TWiki collaboration platform Powered by Perl