view m-toolbox/m/gui/gltpda/pan3repo.m @ 22:b11e88004fca database-connection-manager

Update collection.fromRepository
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Mon, 05 Dec 2011 16:20:06 +0100
parents f0afece42f48
children
line wrap: on
line source

function pan3repo(varargin)

% ========================================================================
% ===================== Panel to recall the RepoGUI ======================
% ========================================================================
%
%  $Id: pan3repo.m,v 1.2 2008/12/16 19:30:26 nicola Exp $

scaleX = getappdata(0, 'ltpda_gui_scalefactor');
guiFontSize = round(10*scaleX);
set(gcf,'NextPlot','new');

% alltimers = timerfindall;
% stop(alltimers(2));
% set(alltimers(2),'TimerFcn',@ContinuousCheck,'Period',1);
% start(alltimers(2));

%%

currPanel   = varargin{1};
panelDimens = get(currPanel, 'Position');
backColor   = get(currPanel, 'BackgroundColor');


  uicontrol('Parent',currPanel,'Units','normalized','HorizontalAlignment','center','Position',[0.2 .5 .6 .08],'FontSize',guiFontSize,'String','Open the Repository GUI','TooltipString','Open the Repository GUI','Visible','on','Callback',@repogui2,'Style','pushbutton');

end