44 | | |
| 44 | * Implementation will follow the following class diagram: |
| 45 | [[Image(source:/branches/private/sveto/sophie2-platform/modules/org.sophie2.base.commons/doc/FILL_PATTERN_Class_Diagram.jpg)]] |
| 46 | * The following classes will be created: |
| 47 | * org.sophie2.base.commons.util.ImmPattern |
| 48 | * org.sophie2.main.app.halos.huds.BackgroundPatternField |
| 49 | * The following enumerations will be extended: |
| 50 | * org.sophie2.main.dialogs.input.FileDialogInput.Kind |
| 51 | * org.sophie2.main.dialogs.input.BackgroundType |
| 52 | * Class ImmPattern will be immutable. |
| 53 | * The TexturePaint class from the standard Java library will be used, initialized with the image from ImmPattern. This |
| 54 | allows us to use the preexisting algorithm for tiling. |
| 55 | * An ImmPatternTest JUnit test case will be created that will test for immutability. |