Skip to content

Commit

Permalink
removed calls to mrvJavaFeature, which is obsolete
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon Winawer authored and Adrian Spanu committed Apr 17, 2013
1 parent 872e3b9 commit d2bc88a
Show file tree
Hide file tree
Showing 20 changed files with 30 additions and 154 deletions.
5 changes: 1 addition & 4 deletions mrAnatomy/mrRx/rxOpenCompareFig.m
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
function rx = rxOpenCompareFig(rx);
function rx = rxOpenCompareFig(rx)
% rx = rxOpenCompareFig(rx);
%
% Open a window for the compareerence volume.
%
% ras 02/05
javaFigs = mrvJavaFeature;

rx.ui.compareFig = figure('Color', 'w',...
'Name', 'mrRx Compare Interp/Ref',...
Expand Down Expand Up @@ -75,6 +74,4 @@
% by default, we'll show the comparison statistics
rx = rxShowStats(rx,1);

mrvJavaFeature(javaFigs);

return
9 changes: 1 addition & 8 deletions mrAnatomy/mrRx/rxOpenControlFig.m
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
function rx = rxOpenControlFig(rx);
function rx = rxOpenControlFig(rx)
%
% rx = rxOpenControlFig(rx);
%
Expand All @@ -14,9 +14,6 @@
% feature('javafigures', 0);
% end

javaFigs = mrvJavaFeature;


% open the control figure
rx.ui.controlFig = figure('Name','mrRx',...
'Tag','rxControlFig',...
Expand Down Expand Up @@ -155,8 +152,4 @@

rxSetNudge(rx.ui.nudge.sliderHandle);

% feature('javafigures',javaFigs);
mrvJavaFeature(javaFigs);


return
6 changes: 1 addition & 5 deletions mrAnatomy/mrRx/rxOpenInterp3ViewFig.m
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
function rx = rxOpenInterp3ViewFig(rx);
function rx = rxOpenInterp3ViewFig(rx)
%
% rx = rxOpenInterp3ViewFig(rx);
%
% Open a figure to view interpolated prescription slices from
% 3 orientations (rows, cols, slices), rather than just slices.
%
% ras, 02/08/2008
javaFigs = mrvJavaFeature;

%% open the figure
rx.ui.interp3ViewFig = figure('Color', 'w', ...
Expand Down Expand Up @@ -165,9 +164,6 @@


rxComparePrefsMenu(gcf);

mrvJavaFeature(javaFigs);


%% give it an initial refresh
rxRefresh3View(rx);
Expand Down
6 changes: 1 addition & 5 deletions mrAnatomy/mrRx/rxOpenInterpFig.m
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
function rx = rxOpenInterpFig(rx);
function rx = rxOpenInterpFig(rx)
%
% rx = rxOpenInterpFig(rx);
%
% Open a window for the transformed, interpolated volume.
%
% ras 02/05.
javaFigs = mrvJavaFeature;

rx.ui.interpFig = figure('Color', 'w', ...
'Name', 'mrRx Prescribed Slice', ...
Expand All @@ -30,7 +29,4 @@
'FontSize', 10, 'BackgroundColor', 'w', ...
'Value', 1, 'Callback', 'rxRefresh;');


mrvJavaFeature(javaFigs);

return
6 changes: 1 addition & 5 deletions mrAnatomy/mrRx/rxOpenRefFig.m
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
function rx = rxOpenRefFig(rx);
function rx = rxOpenRefFig(rx)
% rx = rxOpenRefFig(rx);
%
% Open a window for the reference volume.
%
% ras 02/05

javaFigs = mrvJavaFeature;

rx.ui.refFig = figure('Color','w',...
'Name','mrRx Reference Slice',...
'Units','Normalized',...
Expand Down Expand Up @@ -43,6 +41,4 @@
set(rx.ui.refBright.editHandle,'Callback',cb);
set(rx.ui.refContrast.editHandle,'Callback',cb);

mrvJavaFeature(javaFigs);

return
5 changes: 1 addition & 4 deletions mrAnatomy/mrRx/rxOpenRxFig.m
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
function rx = rxOpenRxFig(rx);
function rx = rxOpenRxFig(rx)
% rx = rxOpenRxFig(rx);
%
% Open a window for viewing the prescription
% on the non-transformed volume.
%
% ras 02/05.
javaFigs = mrvJavaFeature;

rx.ui.rxFig = figure('Color', 'w',...
'Name', 'mrRx Prescription on Volume',...
Expand Down Expand Up @@ -65,7 +64,5 @@
% let the user toggle the regular figure menus
addFigMenuToggle(h);


mrvJavaFeature(javaFigs);

return
6 changes: 1 addition & 5 deletions mrBOLD/Analysis/retinotopyModel/rfViewer.m
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ function rfViewer(anal)
rfViewerUpdate; return;
end

javaFig = mrvJavaFeature;

anal.gui.fig = figure('Color', 'w', 'Name', [mfilename ' Voxel GUI']);

% this GUI will have only one axes for showing the RF of a single
Expand Down Expand Up @@ -69,16 +67,14 @@ function rfViewer(anal)
rfViewerUpdate;
view(0, 90);

mrvJavaFeature(javaFig);

return
% /--------------------------------------------------------------------- / %




% /--------------------------------------------------------------------- / %
function rfViewerUpdate;
function rfViewerUpdate
anal = get(gcf,'UserData');
v = round( get(anal.gui.voxSlider.sliderHandle, 'Value') );
r = get(anal.gui.roiPopup, 'Value');
Expand Down
5 changes: 0 additions & 5 deletions mrBOLD/Analysis/retinotopyModel/rmEditStimulusParameters.m
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,6 @@
% % initiate struct
% M = rmInitStimStruct(view, stimulusFields);

javaFigs = mrvJavaFeature; % Probably obsolete

[M, stimulusFields] = rmStimCreate;

%--- now create the GUI
Expand All @@ -86,9 +84,6 @@
% now do the uiwait and let the user deal w/ the interface:
uiwait;

mrvJavaFeature(javaFigs);


return;
%-------------------------------------------------------------

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
%
% ras, 11/2008.

% switch for dealing with java figures
javaFigs = mrvJavaFeature;

%% open the figure
figName = sprintf('rmPlotGUI %s (%s)', M.roi.name, M.dataType);
M.fig = figure('Color', 'w', 'Name', figName, ...
Expand Down Expand Up @@ -147,15 +144,13 @@
set(M.fig, 'UserData', M);
rmPlotGUI_update;

mrvJavaFeature(javaFigs);

return
%--------------------------------------



%--------------------------------------
function M = rmPlotGUI_menus(M);
function M = rmPlotGUI_menus(M)
%% add menus to the GUI window.
set(M.fig, 'MenuBar', 'none');
M.ui.menus = uimenu(M.fig, 'Label', 'PRF Plot Options', 'Separator', 'on');
Expand Down
7 changes: 0 additions & 7 deletions mrBOLD/EventRelated/MultiVoxelUI/mv_glmPanel.m
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@
if notDefined('mv'), mv = get(gcf, 'UserData'); end
if ishandle(mv), mv = get(mv, 'UserData'); end

javaFigs = mrvJavaFeature;
% javaFigs = feature('javafigures');
% feature('javafigures', 1);

mv.ui.glmPanel = mrvPanel('right', .2);
set(mv.ui.glmPanel, 'BackgroundColor', 'w');

Expand Down Expand Up @@ -79,7 +75,4 @@

mrvPanelToggle(mv.ui.glmPanel, 'off');

mrvJavaFeature(javaFigs);
% feature('javafigures', javaFigs);

return
9 changes: 3 additions & 6 deletions mrBOLD/EventRelated/MultiVoxelUI/mv_retinoModel.m
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
function mv = mv_retinoModel(mv, rmParams, view, varargin);
function mv = mv_retinoModel(mv, rmParams, view, varargin)
%
% mv = mv_retinoModel(mv, [rmParams], [view], [options]);
%
Expand Down Expand Up @@ -221,9 +221,8 @@


% /-----------------------------------------------------------/ %
function mv = mv_retinoModelGUI(mv);
function mv = mv_retinoModelGUI(mv)
% create GUI for viewing the results of the retinotopy model.
javaFigs = mrvJavaFeature;

nVoxels = size(mv.amps, 1);
nConds = size(mv.amps, 2);
Expand Down Expand Up @@ -383,8 +382,6 @@
% update figure w/ mv stuff
set(gcf, 'UserData', mv);

mrvJavaFeature(javaFigs);

mv_retinoModel('update');

return
Expand All @@ -394,7 +391,7 @@


% /----------------------------------------------------------------------/ %
function mv_retinoModelUpdate;
function mv_retinoModelUpdate
% update the GUI for the retinotopy model viewer.
mv = get(gcf, 'UserData');

Expand Down
Loading

0 comments on commit d2bc88a

Please sign in to comment.