Author: bobtarling Date: 2012-04-23 19:52:54-0700 New Revision: 19877 Modified: trunk/src/argouml-app/src/org/argouml/ui/ProgressMonitorWindow.java trunk/src/argouml-app/src/org/argouml/ui/SaveSwingWorker.java
Log: Reduce scope of classes Modified: trunk/src/argouml-app/src/org/argouml/ui/ProgressMonitorWindow.java Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/ui/ProgressMonitorWindow.java?view=diff&pathrev=19877&r1=19876&r2=19877 ============================================================================== --- trunk/src/argouml-app/src/org/argouml/ui/ProgressMonitorWindow.java (original) +++ trunk/src/argouml-app/src/org/argouml/ui/ProgressMonitorWindow.java 2012-04-23 19:52:54-0700 @@ -1,13 +1,13 @@ /* $Id$ ***************************************************************************** - * Copyright (c) 2009 Contributors - see below + * Copyright (c) 2009-2012 Contributors - see below * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: - * bobtarling + * Bob Tarling ***************************************************************************** * * Some portions of this file was previously release using the BSD License: @@ -57,14 +57,12 @@ * maintain GUI independence. * * @author [email protected] - * @deprecated in 0.29.1 This is only a helper class for save/load and will - * become package scope. It is not designed for reuse outside this package. * * TODO: Bob says: I don't like the naming of this class. Its confusing that * its called ...Window and yet it is not a window. Lets rename once we have * it hidden. */ -public class ProgressMonitorWindow implements +class ProgressMonitorWindow implements org.argouml.taskmgmt.ProgressMonitor { private ProgressMonitor pbar; Modified: trunk/src/argouml-app/src/org/argouml/ui/SaveSwingWorker.java Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/ui/SaveSwingWorker.java?view=diff&pathrev=19877&r1=19876&r2=19877 ============================================================================== --- trunk/src/argouml-app/src/org/argouml/ui/SaveSwingWorker.java (original) +++ trunk/src/argouml-app/src/org/argouml/ui/SaveSwingWorker.java 2012-04-23 19:52:54-0700 @@ -1,13 +1,13 @@ /* $Id$ ***************************************************************************** - * Copyright (c) 2009 Contributors - see below + * Copyright (c) 2009-2012 Contributors - see below * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: - * bobtarling + * Bob Tarling ***************************************************************************** * * Some portions of this file was previously release using the BSD License: @@ -50,12 +50,10 @@ import org.tigris.gef.undo.UndoManager; /** - * The specialized SwingWorker used for saving projects - * @deprecated in 0.29.1 by Bob Tarling. This will not be deleted but reduced - * in visibility to package visibility only. It is currently only used by + * The specialized SwingWorker used for saving projects. + * This is currently only used by * ProjectBrowser and any client calling should use methods there for save. */ -@Deprecated class SaveSwingWorker extends SwingWorker { private final boolean overwrite; @@ -65,19 +63,6 @@ private boolean exitAfterSave; /** - * Deprecated constructor for SaveSwingWorker. - * - * @param aFile the file that's going to be saved - * @param aOverwrite whether to show the UI or not - * @deprecated in 0.29.1 Use constructor taking a Project - */ - public SaveSwingWorker(boolean aOverwrite, File aFile) { - super("ArgoSaveProjectThread"); - overwrite = aOverwrite; - file = aFile; - } - - /** * This is the only constructor for SaveSwingWorker. * * @param project the project to save ------------------------------------------------------ http://argouml.tigris.org/ds/viewMessage.do?dsForumId=5905&dsMessageId=2951331 To unsubscribe from this discussion, e-mail: [[email protected]].
