java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.AbstractButton
javax.swing.JMenuItem
de.ipk_gatersleben.ag_nw.graffiti.plugins.gui.editing_tools.RubyScriptMenuEntry
All Implemented Interfaces:
ImageObserver, ItemSelectable, MenuContainer, Serializable, Accessible, MenuElement, SwingConstants

public class RubyScriptMenuEntry
extends JMenuItem
This class provides the menu entries for the jRuby-Script Menu Items. This modified Menu Items provide the additional methods for storing the ruby command file name.
Author:
klukas
See Also:
Serialized Form
  • Constructor Details

    • RubyScriptMenuEntry

      public RubyScriptMenuEntry​(String title, String commandFile)
      Creates a new ScriptMenuEntry object.
      Parameters:
      title - Label text for the menu item
      commandFile - The name of the beanshell command file
  • Method Details

    • getCmdFile

      public String getCmdFile()
      Returns the name of the beanshell commando file for this menuitem.
      Returns:
      DOCUMENT ME!
    • getText

      public String getText()
      Overrides:
      getText in class AbstractButton