function this = viewcontainer(label,childclass)

import java.awt.dnd.*
import com.mathworks.toolbox.timeseries.*;

%% Constructor for viewcontainer node
this = tsguis.viewcontainer;

%% Set the correct help file
helpfiles = ...
    {'Time Plots','timeplot.htm';...
     'Spectral Plots','specplot.htm';...
     'XY Plots','xyplot.htm';...
     'Correlations','corrplot.htm';...
     'Histograms','histplot.htm'};
ind = find(strcmp(label,helpfiles(:,1)));
if ~isempty(ind)
     this.HelpFile = fullfile(matlabroot, 'toolbox', 'matlab', 'timeseries', ...
                                 '@tsguis', '@viewcontainer',helpfiles{ind(1),2});
else
     this.HelpFile = fullfile(matlabroot, 'toolbox', 'matlab', 'timeseries', ...
                                 '@tsguis', '@viewcontainer','tshelp.htm');
end

%% Icon and label
set(this,'Label',label,'ChildClass',childclass)
set(this,'AllowsChildren',true,'Editable',true,'Icon',...
    fullfile(matlabroot,'toolbox','matlab','icons','foldericon.gif'));

%% Build tree node. Note in the CETM there is no need to do this becuase the
%% Explorer calls it when building the tree
this.getTreeNodeInterface;