added SuppressWarnings("unlikely-arg-type")
This commit is contained in:
parent
02fc213887
commit
a6e4899854
@ -1,5 +1,6 @@
|
|||||||
eclipse.preferences.version=1
|
eclipse.preferences.version=1
|
||||||
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
|
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
|
||||||
|
org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
|
||||||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
|
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
|
||||||
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
|
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
|
||||||
org.eclipse.jdt.core.compiler.compliance=1.8
|
org.eclipse.jdt.core.compiler.compliance=1.8
|
||||||
|
2
bin/.gitignore
vendored
2
bin/.gitignore
vendored
@ -1,3 +1 @@
|
|||||||
/application/
|
/application/
|
||||||
/datatypes/
|
|
||||||
/resources/
|
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
bin/resources/icons/close_black_2048x2048.png
Normal file
BIN
bin/resources/icons/close_black_2048x2048.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 9.3 KiB |
@ -329,6 +329,7 @@ public class MainWindowController {
|
|||||||
});
|
});
|
||||||
|
|
||||||
remove.setOnAction(new EventHandler<ActionEvent>() {
|
remove.setOnAction(new EventHandler<ActionEvent>() {
|
||||||
|
@SuppressWarnings("unlikely-arg-type") //FIXME SuppressWarnings("unlikely-arg-type")
|
||||||
@Override
|
@Override
|
||||||
public void handle(ActionEvent event) {
|
public void handle(ActionEvent event) {
|
||||||
System.out.println("remove "+selectedGameTitleID);
|
System.out.println("remove "+selectedGameTitleID);
|
||||||
@ -359,12 +360,13 @@ public class MainWindowController {
|
|||||||
//remove game from database
|
//remove game from database
|
||||||
games.remove(selectedUIDataIndex);
|
games.remove(selectedUIDataIndex);
|
||||||
dbController.removeRom(selectedGameTitleID);
|
dbController.removeRom(selectedGameTitleID);
|
||||||
|
//remove all games form gamesAnchorPane (UI)
|
||||||
gamesAnchorPane.getChildren().removeAll(games);
|
gamesAnchorPane.getChildren().removeAll(games);
|
||||||
//reset position
|
//reset position
|
||||||
xPos = -200;
|
xPos = -200;
|
||||||
yPos = 17;
|
yPos = 17;
|
||||||
xPosHelper = 0;
|
xPosHelper = 0;
|
||||||
//add all games to gamesAnchorPane
|
//add all games to gamesAnchorPane (UI)
|
||||||
for(int i=0; i< games.size(); i++){
|
for(int i=0; i< games.size(); i++){
|
||||||
generatePosition();
|
generatePosition();
|
||||||
games.get(i).getVBox().setLayoutX(getxPos());
|
games.get(i).getVBox().setLayoutX(getxPos());
|
||||||
|
Loading…
Reference in New Issue
Block a user