String profile = appManager.getPlatform();
if (profile.contains("mobile")) {
device = devices.get(1);
-
} else if (profile.contains("wearable")) {
device = devices.get(0);
}
- currentScreen =
- new ScreenSize(device.getDeviceWidth(), device.getDeviceHeight(),
- device.getDisplayName());
nscreen = new NScreenHistory();
nscreen.setLastResolution(device.getDisplayName());
nscreen.setScale(1f);
+ currentScreen = resolution.getScreenSize(device.getDisplayName());
screenSizeText.setText(currentScreen.getScreenSize());
}
}
public void LinkCutAction() {
- Command command = new NScreenLinkCutCommand(this);
- parent.getNScreenPageModel().getPageDesigner().getCommandStack().execute(command);
+// Command command = new NScreenLinkCutCommand(this);
+// parent.getNScreenPageModel().getPageDesigner().getCommandStack().execute(command);
}
public void LinkUpAction() {
- Command command = new NScreenLinkUpCommand(this);
- parent.getNScreenPageModel().getPageDesigner().getCommandStack().execute(command);
+// Command command = new NScreenLinkUpCommand(this);
+// parent.getNScreenPageModel().getPageDesigner().getCommandStack().execute(command);
}
public void LinkDownAction() {
- Command command = new NScreenLinkDownCommand(this);
- parent.getNScreenPageModel().getPageDesigner().getCommandStack().execute(command);
+// Command command = new NScreenLinkDownCommand(this);
+// parent.getNScreenPageModel().getPageDesigner().getCommandStack().execute(command);
}
public void redrawItem() {