? vcsgeneric/.nbintdb Index: vcsgeneric/profiles/cvsprofiles/src/org/netbeans/modules/vcs/profiles/cvsprofiles/commands/CvsAnnotate.java =================================================================== RCS file: /cvs/vcsgeneric/profiles/cvsprofiles/src/org/netbeans/modules/vcs/profiles/cvsprofiles/commands/CvsAnnotate.java,v retrieving revision 1.6 diff -u -r1.6 CvsAnnotate.java --- vcsgeneric/profiles/cvsprofiles/src/org/netbeans/modules/vcs/profiles/cvsprofiles/commands/CvsAnnotate.java 4 Aug 2003 14:07:48 -0000 1.6 +++ vcsgeneric/profiles/cvsprofiles/src/org/netbeans/modules/vcs/profiles/cvsprofiles/commands/CvsAnnotate.java 7 Oct 2003 14:05:09 -0000 @@ -152,14 +152,6 @@ tc.add(panel, java.awt.BorderLayout.CENTER); tc.setName(title); tc.getAccessibleContext().setAccessibleDescription(panel.getAccessibleContext().getAccessibleDescription()); - Workspace workspace = WindowManager.getDefault().getCurrentWorkspace(); - Mode myMode = workspace.findMode(CommandOutputVisualizer.MODE_NAME); - if (myMode == null) { - // create new mode for CI and set the bounds properly - String modeName = org.openide.util.NbBundle.getBundle(CommandOutputVisualizer.class).getString("CommandOutputVisualizer.modeName"); - myMode = workspace.createMode(CommandOutputVisualizer.MODE_NAME, modeName, null); //NOI18N - } - myMode.dockInto(tc); tc.open(); tc.requestFocus(); }