mirror of
https://github.com/AppleCommander/AppleCommander.git
synced 2026-11-22 18:25:20 +00:00
Restructuring a bit.
This commit is contained in:
1 parent
09d0997d62
commit
3f7446ecee
9 files changed
+29
-10
No files matched your search
@@ -14,4 +14,7 @@ module org.applecommander.javafx {
|
||||
opens org.applecommander.javafx.settings to javafx.graphics;
|
||||
opens org.applecommander.javafx.wizard to javafx.graphics;
|
||||
opens org.applecommander.javafx.filter to javafx.graphics;
|
||||
opens org.applecommander.javafx.filestore to javafx.graphics;
|
||||
opens org.applecommander.javafx.filestore.view to javafx.graphics;
|
||||
opens org.applecommander.javafx.content to javafx.graphics;
|
||||
}
|
||||
@@ -23,6 +23,7 @@ import com.webcodepro.applecommander.ui.AppleCommander;
|
||||
import javafx.application.Application;
|
||||
import javafx.application.Platform;
|
||||
import javafx.stage.Stage;
|
||||
import org.applecommander.javafx.filestore.FileStoreWindow;
|
||||
import org.applecommander.javafx.settings.Settings;
|
||||
import org.applecommander.javafx.settings.ThemeSelection;
|
||||
|
||||
|
||||
+2
-1
@@ -17,7 +17,7 @@
|
||||
* with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
package org.applecommander.javafx;
|
||||
package org.applecommander.javafx.content;
|
||||
|
||||
import atlantafx.base.controls.SelectableTextFlow;
|
||||
import com.webcodepro.applecommander.util.AppleUtil;
|
||||
@@ -44,6 +44,7 @@ import org.applecommander.converter.ConverterRepository;
|
||||
import org.applecommander.filestore.ContentType;
|
||||
import org.applecommander.filestore.ContentType.Subtype;
|
||||
import org.applecommander.filestore.FileEntry;
|
||||
import org.applecommander.javafx.FxUtils;
|
||||
|
||||
import java.io.PrintWriter;
|
||||
import java.io.StringWriter;
|
||||
+4
-4
@@ -17,7 +17,7 @@
|
||||
* with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
package org.applecommander.javafx;
|
||||
package org.applecommander.javafx.filestore;
|
||||
|
||||
import javafx.beans.property.IntegerProperty;
|
||||
import javafx.beans.property.ReadOnlyIntegerProperty;
|
||||
@@ -47,11 +47,11 @@ public class FileStoreSelectionModel extends SingleSelectionModel<FileStore> {
|
||||
public void clearFileStores() {
|
||||
this.clearSelection();
|
||||
this.fileStores.clear();
|
||||
this.sizeProperty.set(fileStores.size());
|
||||
this.sizeProperty.set(0);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected FileStore getModelItem(int index) {
|
||||
public FileStore getModelItem(int index) {
|
||||
if (index >= 0 && index < fileStores.size()) {
|
||||
return fileStores.get(index);
|
||||
}
|
||||
@@ -59,7 +59,7 @@ public class FileStoreSelectionModel extends SingleSelectionModel<FileStore> {
|
||||
}
|
||||
|
||||
@Override
|
||||
protected int getItemCount() {
|
||||
public int getItemCount() {
|
||||
return fileStores.size();
|
||||
}
|
||||
|
||||
+7
-1
@@ -17,7 +17,7 @@
|
||||
* with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
package org.applecommander.javafx;
|
||||
package org.applecommander.javafx.filestore;
|
||||
|
||||
import com.webcodepro.applecommander.ui.AppleCommander;
|
||||
import javafx.beans.property.*;
|
||||
@@ -45,6 +45,12 @@ import org.applecommander.capability.Capability;
|
||||
import org.applecommander.disassembler.api.Disassembler;
|
||||
import org.applecommander.filestore.FileStore;
|
||||
import org.applecommander.filestore.FileStores;
|
||||
import org.applecommander.javafx.AppleCommanderFX;
|
||||
import org.applecommander.javafx.FXControls;
|
||||
import org.applecommander.javafx.content.FileContentWindow;
|
||||
import org.applecommander.javafx.filestore.view.DiskUsageView;
|
||||
import org.applecommander.javafx.filestore.view.FileView;
|
||||
import org.applecommander.javafx.filestore.view.InformationView;
|
||||
import org.applecommander.javafx.settings.Settings;
|
||||
import org.applecommander.javafx.settings.SettingsDialog;
|
||||
import org.applecommander.javafx.wizard.CreateFileStoreWizard;
|
||||
+1
-1
@@ -17,7 +17,7 @@
|
||||
* with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
package org.applecommander.javafx;
|
||||
package org.applecommander.javafx.filestore;
|
||||
|
||||
public enum ViewMode {
|
||||
LANDING,
|
||||
+3
-1
@@ -17,7 +17,7 @@
|
||||
* with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
package org.applecommander.javafx;
|
||||
package org.applecommander.javafx.filestore.view;
|
||||
|
||||
import javafx.beans.property.BooleanProperty;
|
||||
import javafx.beans.property.ObjectProperty;
|
||||
@@ -38,6 +38,8 @@ import javafx.scene.layout.VBox;
|
||||
import javafx.scene.paint.Color;
|
||||
import javafx.scene.shape.Rectangle;
|
||||
import org.applecommander.filestore.FileStore;
|
||||
import org.applecommander.javafx.filestore.FileStoreWindow;
|
||||
import org.applecommander.javafx.filestore.ViewMode;
|
||||
import org.applecommander.usage.ComputedBlockUsage;
|
||||
import org.applecommander.usage.DiskUsage;
|
||||
import org.applecommander.usage.SectorUsage;
|
||||
+5
-1
@@ -17,7 +17,7 @@
|
||||
* with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
package org.applecommander.javafx;
|
||||
package org.applecommander.javafx.filestore.view;
|
||||
|
||||
import javafx.beans.binding.Bindings;
|
||||
import javafx.beans.binding.BooleanBinding;
|
||||
@@ -50,6 +50,10 @@ import org.applecommander.change.ChangeListener;
|
||||
import org.applecommander.filestore.ConfigurationOption.StringConfigurationOption;
|
||||
import org.applecommander.filestore.*;
|
||||
import org.applecommander.filestore.FileStore.FileStoreChangeEvent;
|
||||
import org.applecommander.javafx.FxUtils;
|
||||
import org.applecommander.javafx.content.FileContentWindow;
|
||||
import org.applecommander.javafx.filestore.FileStoreWindow;
|
||||
import org.applecommander.javafx.filestore.ViewMode;
|
||||
import org.applecommander.javafx.filter.CharacterRestrictionFilter;
|
||||
import org.applecommander.javafx.filter.CompositeFilter;
|
||||
import org.applecommander.javafx.filter.FixedLengthFilter;
|
||||
+3
-1
@@ -17,7 +17,7 @@
|
||||
* with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
package org.applecommander.javafx;
|
||||
package org.applecommander.javafx.filestore.view;
|
||||
|
||||
import javafx.geometry.HPos;
|
||||
import javafx.geometry.Insets;
|
||||
@@ -28,6 +28,8 @@ import javafx.scene.layout.GridPane;
|
||||
import javafx.scene.layout.TilePane;
|
||||
import javafx.scene.paint.Color;
|
||||
import org.applecommander.filestore.FileStore;
|
||||
import org.applecommander.javafx.filestore.FileStoreWindow;
|
||||
import org.applecommander.javafx.filestore.ViewMode;
|
||||
|
||||
public class InformationView extends ScrollPane {
|
||||
private final TilePane tilePane;
|
||||
Reference in new issue
Block a user