1 package WorkspaceHelper
;
3 # ************************************************************
4 # Description : Base class and factory for all workspace helpers
5 # Author : Chad Elliott
6 # Create Date : 9/01/2004
7 # ************************************************************
9 # ************************************************************
11 # ************************************************************
15 # ************************************************************
17 # ************************************************************
21 # ************************************************************
23 # ************************************************************
28 ## Create the helper name
29 $type =~ s/Creator/Helper/;
32 ## If we can find a helper with this name, we will
33 ## create a singleton of that type and return it.
34 if (!$required{$type}) {
35 foreach my $inc (@INC) {
36 if (-r
"$inc/$type.pm") {
38 $required{$type} = $type->new();
43 ## If we can't find the helper, we just create an
44 ## empty helper and return that.
45 $required{$type} = new WorkspaceHelper
() if (!$required{$type});
48 return $required{$type};
54 return bless {}, $class;
59 my($self, $name, $value) = @_;
81 sub perform_custom_processing
{
85 #my $toplevel = shift;