Class: BurpExtender::ContextMenuItem Private

Inherits:
Java::JavaxSwing::JMenuItem
  • Object
show all
Defined in:
lib/buby/burp_extender/context_menu_item.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(text, burp_extender, invocation, &block) ⇒ ContextMenuItem

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of ContextMenuItem.



5
6
7
8
9
10
11
# File 'lib/buby/burp_extender/context_menu_item.rb', line 5

def initialize text, burp_extender, invocation, &block
  super text
  @invocation = invocation
  @burp = burp_extender

  addActionListener &block
end

Instance Attribute Details

#burpObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



4
5
6
# File 'lib/buby/burp_extender/context_menu_item.rb', line 4

def burp
  @burp
end

#invocationObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



4
5
6
# File 'lib/buby/burp_extender/context_menu_item.rb', line 4

def invocation
  @invocation
end