Java Code Examples for javafx.stage.StageStyle#DECORATED

The following examples show how to use javafx.stage.StageStyle#DECORATED . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: DesignerApplication.java    From OEE-Designer with MIT License 6 votes vote down vote up
HttpSource showHttpServerEditor() throws Exception {
	FXMLLoader loader = FXMLLoaderFactory.httpServerLoader();
	AnchorPane page = (AnchorPane) loader.getRoot();

	// Create the dialog Stage.
	Stage dialogStage = new Stage(StageStyle.DECORATED);
	dialogStage.setTitle(DesignerLocalizer.instance().getLangString("http.servers.title"));
	dialogStage.initModality(Modality.WINDOW_MODAL);
	Scene scene = new Scene(page);
	dialogStage.setScene(scene);

	// get the controller
	HttpServerController httpServerController = loader.getController();
	httpServerController.setDialogStage(dialogStage);
	httpServerController.initializeServer();

	// Show the dialog and wait until the user closes it
	httpServerController.getDialogStage().showAndWait();

	return httpServerController.getSource();
}
 
Example 2
Source File: DesignerApplication.java    From OEE-Designer with MIT License 6 votes vote down vote up
ModbusSource showModbusEditor() throws Exception {
	if (modbusController == null) {
		FXMLLoader loader = FXMLLoaderFactory.modbusLoader();
		AnchorPane page = (AnchorPane) loader.getRoot();
		Stage dialogStage = new Stage(StageStyle.DECORATED);

		dialogStage.setTitle(DesignerLocalizer.instance().getLangString("modbus.editor.title"));

		dialogStage.initModality(Modality.WINDOW_MODAL);
		Scene scene = new Scene(page);
		dialogStage.setScene(scene);

		// get the controller
		modbusController = loader.getController();
		modbusController.setDialogStage(dialogStage);
		modbusController.initialize(this);
	}

	// Show the dialog and wait until the user closes it
	if (!modbusController.getDialogStage().isShowing()) {
		modbusController.getDialogStage().showAndWait();
	}

	modbusController.setRegisterData();
	return modbusController.getSource();
}
 
Example 3
Source File: DashboardController.java    From OEE-Designer with MIT License 6 votes vote down vote up
private OeeEventTrendController getOeeEventTrendController() throws Exception {
	FXMLLoader loader = FXMLLoaderFactory.oeeEventTrendLoader();
	AnchorPane page = (AnchorPane) loader.getRoot();

	Stage dialogStage = new Stage(StageStyle.DECORATED);
	dialogStage.setTitle(DesignerLocalizer.instance().getLangString("oee.event.trend"));
	dialogStage.initModality(Modality.NONE);
	Scene scene = new Scene(page);
	dialogStage.setScene(scene);

	// get the controller
	OeeEventTrendController oeeEventTrendController = loader.getController();
	oeeEventTrendController.setDialogStage(dialogStage);

	return oeeEventTrendController;
}
 
Example 4
Source File: DesignerApplication.java    From OEE-Designer with MIT License 6 votes vote down vote up
public Material showMaterialEditor() throws Exception {
	if (this.materialController == null) {
		FXMLLoader loader = FXMLLoaderFactory.materialEditorLoader();
		AnchorPane pane = (AnchorPane) loader.getRoot();

		// Create the dialog Stage.
		Stage dialogStage = new Stage(StageStyle.DECORATED);
		dialogStage.setTitle(DesignerLocalizer.instance().getLangString("material.editor.title"));
		dialogStage.initModality(Modality.NONE);

		Scene scene = new Scene(pane);
		dialogStage.setScene(scene);

		// get the controller
		materialController = loader.getController();
		materialController.setDialogStage(dialogStage);
		materialController.initialize(this);
	}

	// Show the dialog and wait until the user closes it
	if (!materialController.getDialogStage().isShowing()) {
		materialController.getDialogStage().showAndWait();
	}

	return materialController.getSelectedMaterial();
}
 
Example 5
Source File: WorkScheduleEditorController.java    From OEE-Designer with MIT License 5 votes vote down vote up
@FXML
private void onViewShifts() {
	try {
		if (getSelectedSchedule() == null) {
			throw new Exception(DesignerLocalizer.instance().getErrorString("choose.schedule"));
		}

		if (shiftsController == null) {
			FXMLLoader loader = FXMLLoaderFactory.scheduleShiftsLoader();
			AnchorPane page = (AnchorPane) loader.getRoot();

			Stage dialogStage = new Stage(StageStyle.DECORATED);
			dialogStage.setTitle("Work Schedule Shift Instances");
			dialogStage.initModality(Modality.NONE);
			Scene scene = new Scene(page);
			dialogStage.setScene(scene);

			// get the controller
			shiftsController = loader.getController();
			shiftsController.setDialogStage(dialogStage);
			shiftsController.initializeApp(getApp());
		}

		shiftsController.setCurrentSchedule(getSelectedSchedule());

		if (!shiftsController.getDialogStage().isShowing()) {
			shiftsController.getDialogStage().showAndWait();
		}
	} catch (Exception e) {
		AppUtils.showErrorDialog(e);
	}
}
 
Example 6
Source File: DesignerApplication.java    From OEE-Designer with MIT License 5 votes vote down vote up
String showScriptEditor(EventResolver eventResolver) throws Exception {
	// Load the fxml file and create a new stage for the pop-up dialog.
	if (scriptController == null) {
		FXMLLoader loader = FXMLLoaderFactory.eventResolverLoader();
		AnchorPane page = (AnchorPane) loader.getRoot();

		// Create the dialog Stage.
		Stage dialogStage = new Stage(StageStyle.DECORATED);
		dialogStage.setTitle(DesignerLocalizer.instance().getLangString("script.editor.title"));
		dialogStage.initModality(Modality.NONE);

		Scene scene = new Scene(page);
		dialogStage.setScene(scene);

		// get the controller
		scriptController = loader.getController();
		scriptController.setDialogStage(dialogStage);
		scriptController.initialize(this, eventResolver);
	}

	// display current script
	scriptController.showFunctionScript(eventResolver);

	// Show the dialog and wait until the user closes it
	if (!scriptController.getDialogStage().isShowing()) {
		scriptController.getDialogStage().showAndWait();
	}

	return scriptController.getResolver().getScript();
}
 
Example 7
Source File: DesignerApplication.java    From OEE-Designer with MIT License 5 votes vote down vote up
OpcUaTreeNode showOpcUaDataSourceBrowser() throws Exception {
	if (opcUaBrowserController == null) {
		// Load the fxml file and create a new stage for the pop-up dialog.
		FXMLLoader loader = FXMLLoaderFactory.opdUaBrowserLoader();
		AnchorPane page = (AnchorPane) loader.getRoot();

		// Create the dialog Stage.
		Stage dialogStage = new Stage(StageStyle.DECORATED);
		dialogStage.setTitle(DesignerLocalizer.instance().getLangString("opc.ua.title"));
		dialogStage.initModality(Modality.NONE);

		Scene scene = new Scene(page);
		dialogStage.setScene(scene);

		// get the controller
		opcUaBrowserController = loader.getController();
		opcUaBrowserController.setDialogStage(dialogStage);
		opcUaBrowserController.initialize(this);
	}

	// Show the dialog and wait until the user closes it
	if (!opcUaBrowserController.getDialogStage().isShowing()) {
		opcUaBrowserController.getDialogStage().showAndWait();
	}

	return opcUaBrowserController.getSelectedNodeId();
}
 
Example 8
Source File: DesignerApplication.java    From OEE-Designer with MIT License 5 votes vote down vote up
OpcDaBrowserLeaf showOpcDaDataSourceBrowser() throws Exception {
	if (opcDaBrowserController == null) {
		// Load the fxml file and create a new stage for the pop-up dialog.
		FXMLLoader loader = FXMLLoaderFactory.opdDaBrowserLoader();
		AnchorPane page = (AnchorPane) loader.getRoot();

		// Create the dialog Stage.
		Stage dialogStage = new Stage(StageStyle.DECORATED);
		dialogStage.setTitle(DesignerLocalizer.instance().getLangString("opc.da.title"));
		dialogStage.initModality(Modality.NONE);

		Scene scene = new Scene(page);
		dialogStage.setScene(scene);

		// get the controller
		opcDaBrowserController = loader.getController();
		opcDaBrowserController.setDialogStage(dialogStage);
		opcDaBrowserController.initialize(this);
	}

	// Show the dialog and wait until the user closes it
	if (!opcDaBrowserController.getDialogStage().isShowing()) {
		opcDaBrowserController.getDialogStage().showAndWait();
	}

	return opcDaBrowserController.getSelectedTag();
}
 
Example 9
Source File: MemberListController.java    From Library-Assistant with Apache License 2.0 5 votes vote down vote up
@FXML
private void handleMemberEdit(ActionEvent event) {
    //Fetch the selected row
    Member selectedForEdit = tableView.getSelectionModel().getSelectedItem();
    if (selectedForEdit == null) {
        AlertMaker.showErrorMessage("No member selected", "Please select a member for edit.");
        return;
    }
    try {
        FXMLLoader loader = new FXMLLoader(getClass().getResource("/library/assistant/ui/addmember/member_add.fxml"));
        Parent parent = loader.load();

        MemberAddController controller = (MemberAddController) loader.getController();
        controller.infalteUI(selectedForEdit);

        Stage stage = new Stage(StageStyle.DECORATED);
        stage.setTitle("Edit Member");
        stage.setScene(new Scene(parent));
        stage.show();
        LibraryAssistantUtil.setStageIcon(stage);

        stage.setOnHiding((e) -> {
            handleRefresh(new ActionEvent());
        });

    } catch (IOException ex) {
        Logger.getLogger(MainController.class.getName()).log(Level.SEVERE, null, ex);
    }
}
 
Example 10
Source File: DesignerApplication.java    From OEE-Designer with MIT License 5 votes vote down vote up
void showFileTrendDialog(EventResolver eventResolver) throws Exception {
	// Load the fxml file and create a new stage for the pop-up dialog.
	FXMLLoader loader = FXMLLoaderFactory.fileTrendLoader();
	AnchorPane page = (AnchorPane) loader.getRoot();

	// Create the dialog Stage.
	Stage dialogStage = new Stage(StageStyle.DECORATED);
	dialogStage.setTitle(DesignerLocalizer.instance().getLangString("file.event.trend"));
	dialogStage.initModality(Modality.NONE);
	Scene scene = new Scene(page);
	dialogStage.setScene(scene);

	// get the controller
	FileTrendController fileTrendController = loader.getController();
	fileTrendController.setDialogStage(dialogStage);
	fileTrendController.setApp(this);

	// add the trend chart
	SplitPane chartPane = fileTrendController.initializeTrend();

	AnchorPane.setBottomAnchor(chartPane, 50.0);
	AnchorPane.setLeftAnchor(chartPane, 5.0);
	AnchorPane.setRightAnchor(chartPane, 5.0);
	AnchorPane.setTopAnchor(chartPane, 50.0);

	page.getChildren().add(0, chartPane);

	// set the script resolver
	fileTrendController.setEventResolver(eventResolver);

	// connect to the file server
	fileTrendController.subscribeToDataSource();

	// show the window
	fileTrendController.getDialogStage().show();
}
 
Example 11
Source File: DesignerApplication.java    From OEE-Designer with MIT License 5 votes vote down vote up
void showMQTTTrendDialog(EventResolver eventResolver) throws Exception {
	// Load the fxml file
	FXMLLoader loader = FXMLLoaderFactory.mqttTrendLoader();
	AnchorPane page = (AnchorPane) loader.getRoot();

	// Create the dialog Stage.
	Stage dialogStage = new Stage(StageStyle.DECORATED);
	dialogStage.setTitle(DesignerLocalizer.instance().getLangString("mqtt.event.trend"));
	dialogStage.initModality(Modality.NONE);
	Scene scene = new Scene(page);
	dialogStage.setScene(scene);

	// get the controller
	MqttTrendController mqttTrendController = loader.getController();
	mqttTrendController.setDialogStage(dialogStage);
	mqttTrendController.setApp(this);

	// add the trend chart
	SplitPane chartPane = mqttTrendController.initializeTrend();

	AnchorPane.setBottomAnchor(chartPane, 50.0);
	AnchorPane.setLeftAnchor(chartPane, 5.0);
	AnchorPane.setRightAnchor(chartPane, 5.0);
	AnchorPane.setTopAnchor(chartPane, 50.0);

	page.getChildren().add(0, chartPane);

	// set the script resolver
	mqttTrendController.setEventResolver(eventResolver);

	// subscribe to broker
	mqttTrendController.subscribeToDataSource();

	// show the window
	mqttTrendController.getDialogStage().show();
}
 
Example 12
Source File: DesignerApplication.java    From OEE-Designer with MIT License 5 votes vote down vote up
void showHttpTrendDialog(EventResolver eventResolver) throws Exception {
	// Load the fxml file and create a new stage for the pop-up dialog.
	FXMLLoader loader = FXMLLoaderFactory.httpTrendLoader();
	AnchorPane page = (AnchorPane) loader.getRoot();

	// Create the dialog Stage.
	Stage dialogStage = new Stage(StageStyle.DECORATED);
	dialogStage.setTitle(DesignerLocalizer.instance().getLangString("http.trend.title"));
	dialogStage.initModality(Modality.NONE);
	Scene scene = new Scene(page);
	dialogStage.setScene(scene);

	// get the controller
	HttpTrendController httpTrendController = loader.getController();
	httpTrendController.setDialogStage(dialogStage);
	httpTrendController.setApp(this);

	// add the trend chart
	SplitPane chartPane = httpTrendController.initializeTrend();

	AnchorPane.setBottomAnchor(chartPane, 50.0);
	AnchorPane.setLeftAnchor(chartPane, 5.0);
	AnchorPane.setRightAnchor(chartPane, 5.0);
	AnchorPane.setTopAnchor(chartPane, 50.0);

	page.getChildren().add(0, chartPane);

	// set the script resolver
	httpTrendController.setScriptResolver(eventResolver);

	// start HTTP server
	httpTrendController.onStartServer();

	// show the trend
	httpTrendController.getDialogStage().show();
}
 
Example 13
Source File: DesignerApplication.java    From OEE-Designer with MIT License 5 votes vote down vote up
void showModbusTrendDialog(EventResolver eventResolver) throws Exception {
	FXMLLoader loader = FXMLLoaderFactory.modbusTrendLoader();
	AnchorPane page = (AnchorPane) loader.getRoot();

	// Create the dialog Stage.
	Stage dialogStage = new Stage(StageStyle.DECORATED);
	dialogStage.setTitle(DesignerLocalizer.instance().getLangString("modbus.event.trend"));
	dialogStage.initModality(Modality.NONE);
	Scene scene = new Scene(page);
	dialogStage.setScene(scene);

	// get the controller
	ModbusTrendController modbusTrendController = loader.getController();
	modbusTrendController.setDialogStage(dialogStage);
	modbusTrendController.setApp(this);

	// add the trend chart
	SplitPane chartPane = modbusTrendController.initializeTrend();

	AnchorPane.setBottomAnchor(chartPane, 50.0);
	AnchorPane.setLeftAnchor(chartPane, 5.0);
	AnchorPane.setRightAnchor(chartPane, 5.0);
	AnchorPane.setTopAnchor(chartPane, 50.0);

	page.getChildren().add(0, chartPane);

	// set the script resolver
	modbusTrendController.setEventResolver(eventResolver);

	// connect to the database server
	modbusTrendController.createModbusMaster();

	// show the window
	modbusTrendController.getDialogStage().show();
}
 
Example 14
Source File: DesignerApplication.java    From OEE-Designer with MIT License 5 votes vote down vote up
void showCronTrendDialog(EventResolver eventResolver) throws Exception {
	// Load the fxml file and create a new stage for the pop-up dialog.
	FXMLLoader loader = FXMLLoaderFactory.cronTrendLoader();
	AnchorPane page = (AnchorPane) loader.getRoot();

	// Create the dialog Stage.
	Stage dialogStage = new Stage(StageStyle.DECORATED);
	dialogStage.setTitle(DesignerLocalizer.instance().getLangString("cron.event.trend"));
	dialogStage.initModality(Modality.NONE);
	Scene scene = new Scene(page);
	dialogStage.setScene(scene);

	// get the controller
	CronTrendController cronTrendController = loader.getController();
	cronTrendController.setDialogStage(dialogStage);
	cronTrendController.setApp(this);

	// add the trend chart
	SplitPane chartPane = cronTrendController.initializeTrend();

	AnchorPane.setBottomAnchor(chartPane, 50.0);
	AnchorPane.setLeftAnchor(chartPane, 5.0);
	AnchorPane.setRightAnchor(chartPane, 5.0);
	AnchorPane.setTopAnchor(chartPane, 50.0);

	page.getChildren().add(0, chartPane);

	// set the script resolver
	cronTrendController.setEventResolver(eventResolver);

	// start the job
	cronTrendController.subscribeToDataSource();

	// show the window
	cronTrendController.getDialogStage().show();
}
 
Example 15
Source File: DesignerApplication.java    From OEE-Designer with MIT License 5 votes vote down vote up
void showOpcUaTrendDialog(EventResolver eventResolver) throws Exception {
	// Load the fxml file and create a new stage for the pop-up dialog.
	FXMLLoader loader = FXMLLoaderFactory.opcUaTrendLoader();
	AnchorPane page = (AnchorPane) loader.getRoot();

	// Create the dialog Stage.
	Stage dialogStage = new Stage(StageStyle.DECORATED);
	dialogStage.setTitle(DesignerLocalizer.instance().getLangString("opc.ua.trend"));
	dialogStage.initModality(Modality.NONE);
	// dialogStage.initOwner(primaryStage);
	Scene scene = new Scene(page);
	dialogStage.setScene(scene);

	// get the controller
	OpcUaTrendController opcUaTrendController = loader.getController();
	opcUaTrendController.setDialogStage(dialogStage);
	opcUaTrendController.setApp(this);

	// add the trend chart
	SplitPane chartPane = opcUaTrendController.initializeTrend();

	opcUaTrendController.setUpdatePeriodMsec(eventResolver.getUpdatePeriod());

	AnchorPane.setBottomAnchor(chartPane, 50.0);
	AnchorPane.setLeftAnchor(chartPane, 5.0);
	AnchorPane.setRightAnchor(chartPane, 5.0);
	AnchorPane.setTopAnchor(chartPane, 50.0);

	page.getChildren().add(0, chartPane);

	// set the script resolver
	opcUaTrendController.setScriptResolver(eventResolver);

	// show the window
	opcUaTrendController.getDialogStage().show();
}
 
Example 16
Source File: AlertDialog.java    From javafx-TKMapEditor with GNU General Public License v3.0 5 votes vote down vote up
public static void showAlertDialog(String message, String title) {
		newAlertDialog = new Stage(StageStyle.DECORATED);
		newAlertDialog.setResizable(false);
		wiAlertDialog = new AlertDialog(message, title);
		newAlertDialog.setTitle("提示");
		newAlertDialog.setScene(new Scene(wiAlertDialog));
		newAlertDialog.show();
}
 
Example 17
Source File: DesignerApplication.java    From OEE-Designer with MIT License 5 votes vote down vote up
void showOpcDaTrendDialog(EventResolver eventResolver) throws Exception {
	// Load the fxml file and create a new stage for the pop-up dialog.
	FXMLLoader loader = FXMLLoaderFactory.opcDaTrendLoader();
	AnchorPane page = (AnchorPane) loader.getRoot();

	// Create the dialog Stage.
	Stage dialogStage = new Stage(StageStyle.DECORATED);
	dialogStage.setTitle(DesignerLocalizer.instance().getLangString("opc.da.trend"));
	dialogStage.initModality(Modality.NONE);
	Scene scene = new Scene(page);
	dialogStage.setScene(scene);

	// get the controller
	OpcDaTrendController opcDaTrendController = loader.getController();
	opcDaTrendController.setDialogStage(dialogStage);
	opcDaTrendController.setApp(this);

	// add the trend chart
	SplitPane chartPane = opcDaTrendController.initializeTrend();

	AnchorPane.setBottomAnchor(chartPane, 50.0);
	AnchorPane.setLeftAnchor(chartPane, 5.0);
	AnchorPane.setRightAnchor(chartPane, 5.0);
	AnchorPane.setTopAnchor(chartPane, 50.0);

	page.getChildren().add(0, chartPane);

	// set the script resolver
	opcDaTrendController.setScriptResolver(eventResolver);

	// show the window
	opcDaTrendController.getDialogStage().show();
}
 
Example 18
Source File: AvailabilityEditorController.java    From OEE-Designer with MIT License 5 votes vote down vote up
@FXML
private void onShowReasonEditor() {
	try {
		// display the reason editor as a dialog
		if (reasonController == null) {
			FXMLLoader loader = FXMLLoaderFactory.reasonEditorLoader();
			AnchorPane page = (AnchorPane) loader.getRoot();

			// Create the dialog Stage.
			Stage dialogStage = new Stage(StageStyle.DECORATED);
			dialogStage.setTitle(DesignerLocalizer.instance().getLangString("reason.editor"));
			dialogStage.initModality(Modality.APPLICATION_MODAL);
			Scene scene = new Scene(page);
			dialogStage.setScene(scene);

			// get the controller
			reasonController = loader.getController();
			reasonController.setDialogStage(dialogStage);
			reasonController.initialize(null);
		}

		// Show the dialog and wait until the user closes it
		reasonController.getDialogStage().showAndWait();

		Reason reason = reasonController.getSelectedReason();

		if (reason != null) {
			availabilityEvent.setReason(reason);
			availabilityEvent.setInputValue(reason.getName());
			displayReason();
		}
	} catch (Exception e) {
		AppUtils.showErrorDialog(e);
	}
}
 
Example 19
Source File: DesignerApplication.java    From OEE-Designer with MIT License 5 votes vote down vote up
void showDashboard() throws Exception {
	PlantEntity entity = getPhysicalModelController().getSelectedEntity();

	FXMLLoader dialogLoader = FXMLLoaderFactory.dashboardDialogLoader();
	AnchorPane pane = (AnchorPane) dialogLoader.getRoot();

	// Create the dialog Stage.
	Stage dialogStage = new Stage(StageStyle.DECORATED);
	dialogStage.setTitle(DesignerLocalizer.instance().getLangString("oee.dashboard", entity.getDisplayString()));
	dialogStage.initModality(Modality.NONE);
	Scene scene = new Scene(pane);
	dialogStage.setScene(scene);

	// get the controller
	DashboardDialogController dashboardDialogController = dialogLoader.getController();
	dashboardDialogController.setDialogStage(dialogStage);

	// load the content
	FXMLLoader dashboardLoader = FXMLLoaderFactory.dashboardLoader();
	DashboardController dashboardController = dashboardLoader.getController();

	SplitPane spDashboard = (SplitPane) dashboardLoader.getRoot();

	pane.getChildren().add(0, spDashboard);

	AnchorPane.setTopAnchor(spDashboard, 0.0);
	AnchorPane.setBottomAnchor(spDashboard, 50.0);
	AnchorPane.setLeftAnchor(spDashboard, 0.0);
	AnchorPane.setRightAnchor(spDashboard, 0.0);

	dashboardController.enableRefresh(true);

	dashboardDialogController.setDashboardController(dashboardController);

	dashboardController.setupEquipmentLoss((Equipment) entity);

	// Show the dialog and wait until the user closes it
	dashboardDialogController.getDialogStage().showAndWait();
}
 
Example 20
Source File: UomEditorController.java    From OEE-Designer with MIT License 4 votes vote down vote up
@FXML
private void onImportUom() throws Exception {
	try {
		if (uomImportController == null) {
			FXMLLoader loader = FXMLLoaderFactory.uomImporterLoader();
			AnchorPane pane = (AnchorPane) loader.getRoot();

			// Create the dialog Stage.
			Stage dialogStage = new Stage(StageStyle.DECORATED);
			dialogStage.setTitle(DesignerLocalizer.instance().getLangString("import.uom.title"));
			dialogStage.initModality(Modality.NONE);
			Scene scene = new Scene(pane);
			dialogStage.setScene(scene);

			// get the controller
			uomImportController = loader.getController();
			uomImportController.setDialogStage(dialogStage);
		}

		// Show the dialog and wait until the user closes it
		uomImportController.getDialogStage().showAndWait();

		if (uomImportController.isCancelled()) {
			return;
		}

		UnitOfMeasure uom = uomImportController.getSelectedUom();

		if (uom == null) {
			throw new Exception(DesignerLocalizer.instance().getErrorString("unit.cannot.be.null"));
		}

		// make sure that there is a non-null category
		uom.getCategory();

		PersistenceService.instance().fetchReferencedUnits(uom);

		PersistenceService.instance().save(uom);

		onRefreshAllUoms();
	} catch (Exception e) {
		AppUtils.showErrorDialog(e);
	}
}