@Override
	public void valueRecived(SlotInterface s, Value v) {
		if (s.getLabel().equals(_trigger)) {
			try {
				FileDialogMode mode = (FileDialogMode) getNodeSetting(_mode)
						.getValue().getEnum();
				JFileChooser fc = new JFileChooser();

				// In response to a button click:
				int returnVal = JFileChooser.CANCEL_OPTION;
				if (mode == FileDialogMode.OPEN) {
					returnVal = fc.showOpenDialog(OVFileDialog.this);
				} else {
					returnVal = fc.showSaveDialog(OVFileDialog.this);
				}
				if (returnVal == JFileChooser.APPROVE_OPTION) {
					File f = fc.getSelectedFile();
					if (f != null) {
						output_.trigger(new Value(f));
					}
				}
			} catch (Exception e) {
				e.printStackTrace();
			}
		}
	}