| 1 | package Padre::Plugin::ShellCommand; | ||
| 2 | use base 'Padre::Plugin'; | ||
| 3 | |||
| 4 | use 5.008; | ||
| 5 | use strict; | ||
| 6 | use warnings; | ||
| 7 | use Padre::Plugin (); | ||
| 8 | use Padre::Wx (); | ||
| 9 | use Padre::Plugin::Shell::Command; | ||
| 10 | |||
| 11 | our $VERSION = '0.27'; | ||
| 12 | |||
| 13 | my $command_plugin; | ||
| 14 | |||
| 15 | ##################################################################### | ||
| 16 | # Padre::Plugin Methods | ||
| 17 | |||
| 18 | sub plugin_name { | ||
| 19 | 'ShellCommand'; | ||
| 20 | } | ||
| 21 | |||
| 22 | sub padre_interfaces { | ||
| 23 | 'Padre::Plugin' => 0.43; | ||
| 24 | } | ||
| 25 | |||
| 26 | sub menu_plugins_simple { | ||
| 27 | my ($self) = @_; | ||
| 28 | $command_plugin = Padre::Plugin::Shell::Command->new(); | ||
| 29 | my @command_menu = $command_plugin->plugin_menu(); | ||
| 30 | 'ShellCommand' => [@command_menu]; | ||
| 31 | } | ||
| 32 | |||
| 33 | 1; | ||
| 34 | |||
| 35 | __END__ |