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