svn commit: r16288 - trunk/src/argouml-app/src/org/argouml/uml/reveng
Tom Morris <[email protected]>
| Newsgroups | gmane.comp.lang.uml.argouml.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: tfmorris
Date: 2008-12-07 13:03:21-0800
New Revision: 16288
Modified:
trunk/src/argouml-app/src/org/argouml/uml/reveng/FileImportUtils.java
trunk/src/argouml-app/src/org/argouml/uml/reveng/ImportCommon.java
trunk/src/argouml-app/src/org/argouml/uml/reveng/ImportSettings.java
Log:
Remove deprecated import methods
Modified: trunk/src/argouml-app/src/org/argouml/uml/reveng/FileImportUtils.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/uml/reveng/FileImportUtils.java?view=diff&pathrev=16288&r1=16287&r2=16288
==============================================================================
--- trunk/src/argouml-app/src/org/argouml/uml/reveng/FileImportUtils.java (original)
+++ trunk/src/argouml-app/src/org/argouml/uml/reveng/FileImportUtils.java 2008-12-07 13:03:21-0800
@@ -40,24 +40,6 @@
*/
public class FileImportUtils {
- /**
- * Return a List of source files to import.<p>
- *
- * Processing each file in turn is equivalent to a breadth first
- * search through the directory structure.
- *
- * @param file file or directory to import
- * @param recurse if true, descend directory tree recursively
- * @param filters array of file suffixes to match for filtering
- * @return a list of files to be imported
- * @deprecated for 0.25.4 by tfmorris. Use
- * {@link #getList(File, boolean, SuffixFilter[], ProgressMonitor)}.
- */
- @Deprecated
- public static List<File> getList(File file, boolean recurse,
- SuffixFilter[] filters) {
- return getList(file, recurse, filters, null);
- }
/**
* This method returns a List of source files to import.
Modified: trunk/src/argouml-app/src/org/argouml/uml/reveng/ImportCommon.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/uml/reveng/ImportCommon.java?view=diff&pathrev=16288&r1=16287&r2=16288
==============================================================================
--- trunk/src/argouml-app/src/org/argouml/uml/reveng/ImportCommon.java (original)
+++ trunk/src/argouml-app/src/org/argouml/uml/reveng/ImportCommon.java 2008-12-07 13:03:21-0800
@@ -261,24 +261,6 @@
return modules;
}
- /**
- * @param file the selected file
- * @deprecated for 0.25.5 by tfmorris. Use
- * {@link #setSelectedFiles(File[])}.
- */
- @Deprecated
- protected void setSelectedFile(File file) {
- selectedFiles = new File[] {file};
- }
-
- /**
- * @return the first selected file.
- * @deprecated for 0.25.4 by tfmorris. Use {@link #getSelectedFiles()}.
- */
- @Deprecated
- protected File getSelectedFile() {
- return selectedFiles[0];
- }
protected void setSelectedFiles(final File[] files) {
selectedFiles = files;
@@ -437,24 +419,6 @@
return enc;
}
- /**
- * Gets the import classpaths. This should be asked by the GUI for
- * initialization.
- *
- * @return a list with Strings representing the classpaths
- * @deprecated for 0.25.7 by tfmorris. This is a Java importer specific
- * method.
- */
- public List<String> getImportClasspath() {
- List<String> list = new ArrayList<String>();
- URL[] urls = ImportClassLoader.getURLs(Configuration.getString(
- Argo.KEY_USER_IMPORT_CLASSPATH, "")); //$NON-NLS-1$
- for (URL url : urls) {
- list.add(url.getFile());
- }
- return list;
- }
-
/**
* Layouts the diagrams.
Modified: trunk/src/argouml-app/src/org/argouml/uml/reveng/ImportSettings.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/uml/reveng/ImportSettings.java?view=diff&pathrev=16288&r1=16287&r2=16288
==============================================================================
--- trunk/src/argouml-app/src/org/argouml/uml/reveng/ImportSettings.java (original)
+++ trunk/src/argouml-app/src/org/argouml/uml/reveng/ImportSettings.java 2008-12-07 13:03:21-0800
@@ -58,53 +58,5 @@
*/
public String getInputSourceEncoding();
- /**
- * @return always returns false.
- * @deprecated for 0.25.6 by tfmorris. This is a Java-specific setting
- * that was inadvertantly included in the interface for 0.24. Not
- * intended for public use. Instead use the Settings interface to
- * importer-specific settings.
- */
- @Deprecated
- public boolean isAttributeSelected();
-
- /**
- * @return always returns false.
- * @deprecated for 0.25.6 by tfmorris. This is a Java-specific setting
- * that was inadvertantly included in the interface for 0.24. Not
- * intended for public use. Instead use the Settings interface to
- * importer-specific settings.
- */
- @Deprecated
- public boolean isDatatypeSelected();
-
- /**
- * @return true if the user has request diagrams to be created for packages
- * contained in the imported source code.
- * @deprecated for 0.25.6 by tfmorris. This is handled by the import
- * framework so specific importers don't need to worry about it.
- */
- /*
- * NOTE: When this is removed from here, it should NOT be removed from
- * ImportSettingsInternal to guarantee that GUI implementations are forced
- * to implement it.
- */
- @Deprecated
- public boolean isCreateDiagramsSelected();
-
- /**
- * @return true, if user has requested that new figures placed in diagrams
- * should be minimized so they don't show internal compartments.
- * @deprecated for 0.25.6 by tfmorris. This is handled by the import
- * framework so specific importers don't need to worry about it.
- */
- /*
- * NOTE: When this is removed from here, it should NOT be removed from
- * ImportSettingsInternal to guarantee that GUI implementations are forced
- * to implement it.
- */
- @Deprecated
- public boolean isMinimizeFigsSelected();
-
}
------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=5905&dsMessageId=980894
To unsubscribe from this discussion, e-mail: [[email protected]].