Author tag fix (removed colon) and fixed some 'yellow' warnings.
This commit is contained in:
parent
712f53bc2a
commit
6151356de6
|
@ -42,7 +42,7 @@ import com.webcodepro.applecommander.util.ApplesoftTokens;
|
|||
* sophisticated.
|
||||
* <p>
|
||||
* Date created: Nov 2, 2002 10:04:10 PM
|
||||
* @author: Rob Greene
|
||||
* @author Rob Greene
|
||||
*/
|
||||
public class ApplesoftCompiler implements ApplesoftTokens {
|
||||
/**
|
||||
|
|
|
@ -49,7 +49,7 @@ import com.webcodepro.applecommander.util.AppleUtil;
|
|||
* Abstract representation of an Apple2 disk (floppy, 800k, hard disk).
|
||||
* <p>
|
||||
* Date created: Oct 3, 2002 10:59:47 PM
|
||||
* @author: Rob Greene
|
||||
* @author Rob Greene
|
||||
*/
|
||||
public class Disk {
|
||||
/**
|
||||
|
|
|
@ -25,7 +25,7 @@ import java.util.List;
|
|||
* Represents a file entry on disk - not the data.
|
||||
* <p>
|
||||
* Date created: Oct 4, 2002 4:46:42 PM
|
||||
* @author: Rob Greene
|
||||
* @author Rob Greene
|
||||
*/
|
||||
public interface FileEntry {
|
||||
/**
|
||||
|
|
|
@ -27,7 +27,7 @@ import java.util.Comparator;
|
|||
* is done (instead of a String).
|
||||
* <p>
|
||||
* Date created: Oct 27, 2002 8:24:39 PM
|
||||
* @author: Rob Greene
|
||||
* @author Rob Greene
|
||||
*/
|
||||
public class FileEntryComparator implements Comparator {
|
||||
private int columnIndex;
|
||||
|
|
|
@ -27,7 +27,7 @@ package com.webcodepro.applecommander.storage;
|
|||
* as that signified either the end of a file or filler space.
|
||||
* <p>
|
||||
* Date created: Nov 2, 2002 9:02:47 PM
|
||||
* @author: Rob Greene
|
||||
* @author Rob Greene
|
||||
*/
|
||||
public interface FileFilter {
|
||||
/**
|
||||
|
|
|
@ -32,7 +32,7 @@ import com.webcodepro.applecommander.storage.physical.ImageOrder;
|
|||
* Abstract representation of a formatted Apple2 disk (floppy, 800k, hard disk).
|
||||
* <p>
|
||||
* Date created: Oct 5, 2002 3:51:44 PM
|
||||
* @author: Rob Greene
|
||||
* @author Rob Greene
|
||||
*/
|
||||
public abstract class FormattedDisk extends Disk implements DirectoryEntry {
|
||||
/**
|
||||
|
|
|
@ -42,7 +42,7 @@ import com.webcodepro.applecommander.util.AppleUtil;
|
|||
* http://www.gno.org/pub/apple2/doc/apple/filetypes/ftn.1a.xxxx
|
||||
* <p>
|
||||
* Date created: Nov 15, 2002 3:55:21 PM
|
||||
* @author: Rob Greene
|
||||
* @author Rob Greene
|
||||
*/
|
||||
public class AppleWorksWordProcessorFileFilter implements FileFilter {
|
||||
/*
|
||||
|
|
|
@ -31,7 +31,7 @@ import com.webcodepro.applecommander.util.ApplesoftTokenizer;
|
|||
* Filter the given file as an Applesoft file.
|
||||
* <p>
|
||||
* Date created: Nov 2, 2002 10:04:10 PM
|
||||
* @author: Rob Greene
|
||||
* @author Rob Greene
|
||||
*/
|
||||
public class ApplesoftFileFilter implements FileFilter {
|
||||
/**
|
||||
|
|
|
@ -26,7 +26,7 @@ import com.webcodepro.applecommander.storage.FileFilter;
|
|||
* Filter the given file data to be the appropriate length.
|
||||
* <p>
|
||||
* Date created: Nov 2, 2002 9:07:52 PM
|
||||
* @author: Rob Greene
|
||||
* @author Rob Greene
|
||||
*/
|
||||
public class BinaryFileFilter implements FileFilter {
|
||||
/**
|
||||
|
|
|
@ -52,7 +52,7 @@ import com.webcodepro.applecommander.util.AppleUtil;
|
|||
* subclass is needed to interpret the various graphic image or some such redesign.
|
||||
* <p>
|
||||
* Date created: Nov 3, 2002 12:06:36 PM
|
||||
* @author: Rob Greene
|
||||
* @author Rob Greene
|
||||
*/
|
||||
public class GraphicsFileFilter implements FileFilter {
|
||||
public static final int MODE_HGR_BLACK_AND_WHITE = 1;
|
||||
|
|
|
@ -27,7 +27,7 @@ import com.webcodepro.applecommander.util.AppleUtil;
|
|||
* Filter the given file data to be the appropriate length.
|
||||
* <p>
|
||||
* Date created: Nov 2, 2002 9:07:52 PM
|
||||
* @author: Rob Greene
|
||||
* @author Rob Greene
|
||||
*/
|
||||
public class HexDumpFileFilter implements FileFilter {
|
||||
/**
|
||||
|
|
|
@ -43,7 +43,7 @@ import com.webcodepro.applecommander.util.AppleUtil;
|
|||
* $B0 - $B9 = signifies a number stored in a word.<br>
|
||||
* <p>
|
||||
* Date created: Nov 3, 2002 1:14:47 AM
|
||||
* @author: Rob Greene
|
||||
* @author Rob Greene
|
||||
*/
|
||||
public class IntegerBasicFileFilter implements FileFilter {
|
||||
private static String[] tokens = {
|
||||
|
|
|
@ -59,7 +59,7 @@ import com.webcodepro.applecommander.storage.FileFilter;
|
|||
* </quote>
|
||||
* (Thanks to Hans Otten for sending in this information.)
|
||||
*
|
||||
* @author: Rob Greene
|
||||
* @author Rob Greene
|
||||
*/
|
||||
public class PascalTextFileFilter implements FileFilter {
|
||||
private static final char NUL = 0x00;
|
||||
|
|
|
@ -29,7 +29,7 @@ import com.webcodepro.applecommander.storage.FileFilter;
|
|||
* Filter the given file data for text.
|
||||
* <p>
|
||||
* Date created: Nov 2, 2002 9:11:27 PM
|
||||
* @author: Rob Greene
|
||||
* @author Rob Greene
|
||||
*/
|
||||
public class TextFileFilter implements FileFilter {
|
||||
/**
|
||||
|
|
|
@ -40,7 +40,7 @@ import com.webcodepro.applecommander.util.AppleUtil;
|
|||
* Represents a DOS file entry on disk.
|
||||
* <p>
|
||||
* Date created: Oct 4, 2002 5:15:25 PM
|
||||
* @author: Rob Greene
|
||||
* @author Rob Greene
|
||||
*/
|
||||
public class DosFileEntry implements FileEntry {
|
||||
/**
|
||||
|
|
|
@ -32,7 +32,7 @@ import com.webcodepro.applecommander.util.AppleUtil;
|
|||
* Manages a disk that is in Apple DOS 3.3 format.
|
||||
* <p>
|
||||
* Date created: Oct 4, 2002 12:29:23 AM
|
||||
* @author: Rob Greene
|
||||
* @author Rob Greene
|
||||
*/
|
||||
public class DosFormatDisk extends FormattedDisk {
|
||||
/**
|
||||
|
|
|
@ -25,7 +25,7 @@ import com.webcodepro.applecommander.util.AppleUtil;
|
|||
* Provide common directory header attributes.
|
||||
* <p>
|
||||
* Date created: Oct 5, 2002 11:17:00 PM
|
||||
* @author: Rob Greene
|
||||
* @author Rob Greene
|
||||
*/
|
||||
public class ProdosCommonDirectoryHeader extends ProdosCommonEntry {
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ import com.webcodepro.applecommander.util.AppleUtil;
|
|||
* Represents the common Prodos entry behavior.
|
||||
* <p>
|
||||
* Date created: Oct 5, 2002 10:55:41 PM
|
||||
* @author: Rob Greene
|
||||
* @author Rob Greene
|
||||
*/
|
||||
public class ProdosCommonEntry {
|
||||
/**
|
||||
|
|
|
@ -44,7 +44,7 @@ import com.webcodepro.applecommander.util.AppleUtil;
|
|||
* Represents a ProDOS file entry on disk.
|
||||
* <p>
|
||||
* Date created: Oct 5, 2002 6:01:15 PM
|
||||
* @author: Rob Greene
|
||||
* @author Rob Greene
|
||||
*/
|
||||
public class ProdosFileEntry extends ProdosCommonEntry implements FileEntry {
|
||||
/**
|
||||
|
|
|
@ -36,7 +36,7 @@ import com.webcodepro.applecommander.util.AppleUtil;
|
|||
* Manages a disk that is in the ProDOS format.
|
||||
* <p>
|
||||
* Date created: Oct 3, 2002 11:45:25 PM
|
||||
* @author: Rob Greene
|
||||
* @author Rob Greene
|
||||
*/
|
||||
public class ProdosFormatDisk extends FormattedDisk {
|
||||
/**
|
||||
|
|
|
@ -25,7 +25,7 @@ import com.webcodepro.applecommander.util.AppleUtil;
|
|||
* Provides commone subdirectory attributes.
|
||||
* <p>
|
||||
* Date created: Oct 5, 2002 11:17:57 PM
|
||||
* @author: Rob Greene
|
||||
* @author Rob Greene
|
||||
*/
|
||||
public class ProdosSubdirectoryHeader extends ProdosCommonDirectoryHeader {
|
||||
private ProdosDirectoryEntry directoryEntry;
|
||||
|
|
|
@ -25,7 +25,7 @@ import com.webcodepro.applecommander.util.AppleUtil;
|
|||
* Represents the ProDOS volume directory header.
|
||||
* <p>
|
||||
* Date created: Oct 5, 2002 10:58:24 PM
|
||||
* @author: Rob Greene
|
||||
* @author Rob Greene
|
||||
*/
|
||||
public class ProdosVolumeDirectoryHeader extends ProdosCommonDirectoryHeader {
|
||||
|
||||
|
|
|
@ -51,7 +51,7 @@ import com.webcodepro.applecommander.util.AppleUtil;
|
|||
* </tt>
|
||||
* <p>
|
||||
* Date created: Oct 7, 2002 1:36:56 PM
|
||||
* @author: Rob Greene
|
||||
* @author Rob Greene
|
||||
*/
|
||||
public class RdosFileEntry implements FileEntry {
|
||||
private byte[] fileEntry;
|
||||
|
|
|
@ -44,7 +44,7 @@ import com.webcodepro.applecommander.util.AppleUtil;
|
|||
* to 455. It also may also cause incompatibilities with other formats and other cracks.
|
||||
* <p>
|
||||
* Date created: Oct 7, 2002 2:03:58 PM
|
||||
* @author: Rob Greene
|
||||
* @author Rob Greene
|
||||
*/
|
||||
public class RdosFormatDisk extends FormattedDisk {
|
||||
/**
|
||||
|
|
|
@ -36,7 +36,7 @@ import java.lang.reflect.Method;
|
|||
* are referenced in various places, it may well be worth it.
|
||||
* <p>
|
||||
* Date created: Nov 16, 2002 9:13:25 PM
|
||||
* @author: Rob Greene
|
||||
* @author Rob Greene
|
||||
*/
|
||||
public class AppleCommander {
|
||||
public static final String VERSION = "1.3.3pre";
|
||||
|
|
|
@ -28,7 +28,7 @@ import java.util.Properties;
|
|||
* all AppleCommander user interfaces.
|
||||
* <p>
|
||||
* Date created: Nov 18, 2002 10:08:34 PM
|
||||
* @author: Rob Greene
|
||||
* @author Rob Greene
|
||||
*/
|
||||
public class UserPreferences {
|
||||
private static final String FILENAME = "AppleCommander.preferences";
|
||||
|
|
|
@ -106,7 +106,7 @@ import com.webcodepro.applecommander.util.AppleUtil;
|
|||
* Build the Disk File tab for the Disk Window.
|
||||
* <p>
|
||||
* Date created: Nov 17, 2002 9:46:53 PM
|
||||
* @author: Rob Greene
|
||||
* @author Rob Greene
|
||||
*/
|
||||
public class DiskExplorerTab {
|
||||
private static final char CTRL_C = 'C' - '@';
|
||||
|
|
|
@ -42,7 +42,7 @@ import com.webcodepro.applecommander.storage.FormattedDisk.DiskInformation;
|
|||
* Build the Disk Info tab for the Disk Window.
|
||||
* <p>
|
||||
* Date created: Nov 17, 2002 9:15:29 PM
|
||||
* @author: Rob Greene
|
||||
* @author Rob Greene
|
||||
*/
|
||||
public class DiskInfoTab {
|
||||
private Table infoTable;
|
||||
|
|
|
@ -42,7 +42,7 @@ import com.webcodepro.applecommander.storage.FormattedDisk.DiskUsage;
|
|||
* Build the Disk Map tab for the Disk Window.
|
||||
* <p>
|
||||
* Date created: Nov 17, 2002 9:27:44 PM
|
||||
* @author: Rob Greene
|
||||
* @author Rob Greene
|
||||
*/
|
||||
public class DiskMapTab {
|
||||
private FormattedDisk disk;
|
||||
|
|
|
@ -33,7 +33,7 @@ import com.webcodepro.applecommander.ui.swt.util.ImageManager;
|
|||
* Displays disk information on the screen.
|
||||
* <p>
|
||||
* Date created: Oct 12, 2002 3:28:41 PM
|
||||
* @author: Rob Greene
|
||||
* @author Rob Greene
|
||||
*/
|
||||
public class DiskWindow {
|
||||
private Shell parentShell;
|
||||
|
|
|
@ -65,7 +65,7 @@ import com.webcodepro.applecommander.ui.swt.util.contentadapter.ContentTypeAdapt
|
|||
* View a particular files content.
|
||||
* <p>
|
||||
* Date created: Dec 7, 2003
|
||||
* @author: Rob Greene
|
||||
* @author Rob Greene
|
||||
*/
|
||||
public class FileViewerWindow {
|
||||
private static final char CTRL_A = 'A' - '@';
|
||||
|
|
|
@ -284,7 +284,7 @@ void refreshAll () {
|
|||
|
||||
void layout () {
|
||||
Rectangle rect = shell.getClientArea ();
|
||||
String [] strings = new String [objects.length];
|
||||
// String [] strings = new String [objects.length];
|
||||
int width = 0;
|
||||
String [] items = list.getItems ();
|
||||
GC gc = new GC (list);
|
||||
|
|
|
@ -50,7 +50,7 @@ import com.webcodepro.applecommander.ui.swt.wizard.diskimage.DiskImageWizard;
|
|||
* Main class for the SwtAppleCommander interface.
|
||||
* <p>
|
||||
* Date created: Oct 7, 2002 9:43:37 PM
|
||||
* @author: Rob Greene
|
||||
* @author Rob Greene
|
||||
*/
|
||||
public class SwtAppleCommander implements Listener {
|
||||
private Display display;
|
||||
|
|
|
@ -35,7 +35,7 @@ import org.eclipse.swt.widgets.ToolItem;
|
|||
* Code taken and modified from SWT examples to be more generic.
|
||||
* <p>
|
||||
* Date created: Nov 2, 2002 8:25:11 PM
|
||||
* @author: Rob Greene
|
||||
* @author Rob Greene
|
||||
*/
|
||||
public class DropDownSelectionListener extends SelectionAdapter {
|
||||
private Menu menu = null;
|
||||
|
|
|
@ -32,7 +32,7 @@ import org.eclipse.swt.widgets.Composite;
|
|||
* Displays an image.
|
||||
* <p>
|
||||
* Date created: Nov 7, 2002 9:28:21 PM
|
||||
* @author: Rob Greene
|
||||
* @author Rob Greene
|
||||
*/
|
||||
public class ImageCanvas extends Canvas implements PaintListener {
|
||||
private Image image;
|
||||
|
|
|
@ -37,7 +37,7 @@ import org.eclipse.swt.widgets.Display;
|
|||
* constructor.
|
||||
* <p>
|
||||
* Date created: Nov 17, 2002 6:53:08 PM
|
||||
* @author: Rob Greene
|
||||
* @author Rob Greene
|
||||
*/
|
||||
public class ImageManager {
|
||||
public static final String ICON_DISK = "diskicon.gif";
|
||||
|
|
|
@ -37,8 +37,8 @@ import com.webcodepro.applecommander.ui.swt.util.ImageCanvas;
|
|||
import com.webcodepro.applecommander.ui.swt.util.SwtUtil;
|
||||
|
||||
/**
|
||||
* A frame work for displaying a wizard-like user interface.
|
||||
* @author: Rob Greene
|
||||
* A framework for displaying a wizard-like user interface.
|
||||
* @author Rob Greene
|
||||
*/
|
||||
public abstract class Wizard {
|
||||
private Shell parent;
|
||||
|
|
|
@ -23,7 +23,7 @@ package com.webcodepro.applecommander.ui.swt.wizard;
|
|||
* Represents a pane of a wizard.
|
||||
* <p>
|
||||
* Date created: Nov 7, 2002 8:40:44 PM
|
||||
* @author: Rob Greene
|
||||
* @author Rob Greene
|
||||
*/
|
||||
public abstract class WizardPane {
|
||||
/**
|
||||
|
|
|
@ -23,7 +23,6 @@ import org.eclipse.swt.SWT;
|
|||
import org.eclipse.swt.layout.RowLayout;
|
||||
import org.eclipse.swt.widgets.Composite;
|
||||
import org.eclipse.swt.widgets.Label;
|
||||
import org.eclipse.swt.widgets.Text;
|
||||
|
||||
import com.webcodepro.applecommander.storage.Disk;
|
||||
import com.webcodepro.applecommander.storage.FormattedDisk;
|
||||
|
@ -33,15 +32,13 @@ import com.webcodepro.applecommander.util.AppleUtil;
|
|||
/**
|
||||
* Shows the result of the disk image comparison.
|
||||
* <p>
|
||||
* @author: Rob Greene
|
||||
* @author Rob Greene
|
||||
*/
|
||||
public class CompareDisksResultsPane extends WizardPane {
|
||||
private Composite parent;
|
||||
private Object layoutData;
|
||||
private Composite control;
|
||||
private CompareDisksWizard wizard;
|
||||
private Text diskname1Text;
|
||||
private Text diskname2Text;
|
||||
/**
|
||||
* Constructor for ExportFileStartPane.
|
||||
*/
|
||||
|
|
|
@ -38,7 +38,7 @@ import com.webcodepro.applecommander.ui.swt.wizard.WizardPane;
|
|||
/**
|
||||
* Provides the wizard pane which gets the disks to compare.
|
||||
* <p>
|
||||
* @author: Rob Greene
|
||||
* @author Rob Greene
|
||||
*/
|
||||
public class CompareDisksStartPane extends WizardPane {
|
||||
private Composite parent;
|
||||
|
|
|
@ -28,7 +28,7 @@ import com.webcodepro.applecommander.ui.swt.wizard.WizardPane;
|
|||
/**
|
||||
* Compare disks wizard.
|
||||
* <p>
|
||||
* @author: Rob Greene
|
||||
* @author Rob Greene
|
||||
*/
|
||||
public class CompareDisksWizard extends Wizard {
|
||||
private String diskname1;
|
||||
|
|
|
@ -39,7 +39,7 @@ import com.webcodepro.applecommander.ui.swt.wizard.WizardPane;
|
|||
* Provides the wizard pane which gets the export filter.
|
||||
* <p>
|
||||
* Date created: Nov 7, 2002 8:43:27 PM
|
||||
* @author: Rob Greene
|
||||
* @author Rob Greene
|
||||
*/
|
||||
public class CompileFileStartPane extends WizardPane {
|
||||
private Composite parent;
|
||||
|
|
|
@ -30,7 +30,7 @@ import com.webcodepro.applecommander.ui.swt.wizard.WizardPane;
|
|||
* Compile wizard.
|
||||
* <p>
|
||||
* Date created: Nov 7, 2002 9:22:35 PM
|
||||
* @author: Rob Greene
|
||||
* @author Rob Greene
|
||||
*/
|
||||
public class CompileWizard extends Wizard {
|
||||
private FormattedDisk disk;
|
||||
|
|
|
@ -34,7 +34,7 @@ import com.webcodepro.applecommander.ui.swt.wizard.WizardPane;
|
|||
* Choose format for AppleWorks Word Processor export.
|
||||
* <p>
|
||||
* Date created: Nov 15, 2002 11:31:15 PM
|
||||
* @author: Rob Greene
|
||||
* @author Rob Greene
|
||||
*/
|
||||
public class AppleWorksWordProcessorPane extends WizardPane {
|
||||
private Composite parent;
|
||||
|
|
|
@ -39,7 +39,7 @@ import com.webcodepro.applecommander.ui.swt.wizard.WizardPane;
|
|||
* Set locations and file names for the export.
|
||||
* <p>
|
||||
* Date created: Nov 8, 2002 11:18:47 PM
|
||||
* @author: Rob Greene
|
||||
* @author Rob Greene
|
||||
*/
|
||||
public class ExportFileDestinationPane extends WizardPane {
|
||||
private Composite parent;
|
||||
|
|
|
@ -43,7 +43,7 @@ import com.webcodepro.applecommander.ui.swt.wizard.WizardPane;
|
|||
* Provides the wizard pane which gets the export filter.
|
||||
* <p>
|
||||
* Date created: Nov 7, 2002 8:43:27 PM
|
||||
* @author: Rob Greene
|
||||
* @author Rob Greene
|
||||
*/
|
||||
public class ExportFileStartPane extends WizardPane {
|
||||
private Composite parent;
|
||||
|
|
|
@ -34,7 +34,7 @@ import com.webcodepro.applecommander.ui.swt.wizard.WizardPane;
|
|||
* Choose graphics options for file export.
|
||||
* <p>
|
||||
* Date created: Nov 7, 2002 10:25:43 PM
|
||||
* @author: Rob Greene
|
||||
* @author Rob Greene
|
||||
*/
|
||||
public class ExportGraphicsTypePane extends WizardPane {
|
||||
private Composite parent;
|
||||
|
|
|
@ -31,7 +31,7 @@ import com.webcodepro.applecommander.ui.swt.wizard.WizardPane;
|
|||
* File export wizard.
|
||||
* <p>
|
||||
* Date created: Nov 7, 2002 9:22:35 PM
|
||||
* @author: Rob Greene
|
||||
* @author Rob Greene
|
||||
*/
|
||||
public class ExportWizard extends Wizard {
|
||||
private FormattedDisk disk;
|
||||
|
|
|
@ -36,7 +36,7 @@ import com.webcodepro.applecommander.storage.FileEntry;
|
|||
* [End-of-line marker: $00 bytes]
|
||||
* <p>
|
||||
* Date created: May 26, 2003 10:36:04 PM
|
||||
* @author: Rob Greene
|
||||
* @author Rob Greene
|
||||
*/
|
||||
public class ApplesoftTokenizer {
|
||||
private static String tokens[] = { // starts at $80
|
||||
|
|
|
@ -35,7 +35,7 @@ import junit.framework.TestCase;
|
|||
* Test Disk and FormattedDisk for read.
|
||||
* <p>
|
||||
* Date created: Oct 3, 2002 11:35:26 PM
|
||||
* @author: Rob Greene
|
||||
* @author Rob Greene
|
||||
*/
|
||||
public class DiskHelperTest extends TestCase {
|
||||
|
||||
|
|
|
@ -39,7 +39,7 @@ import com.webcodepro.applecommander.storage.physical.ProdosOrder;
|
|||
* Test Disk and FormattedDisk for write.
|
||||
* <p>
|
||||
* Date created: Oct 3, 2002 11:35:26 PM
|
||||
* @author: Rob Greene
|
||||
* @author Rob Greene
|
||||
*/
|
||||
public class DiskWriterTest extends TestCase {
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue