DefaultPopupMenu(AtomisticView v) {

		super("Default");
		this.view = v;

		JMenuItem mi = new JMenuItem(view.getActionMap().get(AtomisticView.PASTE));
		String s = MDView.getInternationalText("Paste");
		if (s != null)
			mi.setText(s);
		add(mi);
		addSeparator();

		mi = new JMenuItem(view.getActionMap().get("Model Reader"));
		s = MDView.getInternationalText("OpenModel");
		if (s != null)
			mi.setText(s);
		add(mi);

		mi = new JMenuItem(view.getActionMap().get("Model Writer"));
		s = MDView.getInternationalText("SaveModel");
		if (s != null)
			mi.setText(s);
		add(mi);
		addSeparator();

		mi = new JMenuItem(view.getActionMap().get("Properties"));
		s = MDView.getInternationalText("Properties");
		if (s != null)
			mi.setText(s);
		add(mi);

		mi = new JMenuItem(view.getActionMap().get("Snapshot"));
		s = MDView.getInternationalText("Snapshot");
		if (s != null)
			mi.setText(s);
		add(mi);

		mi = new JMenuItem(view.getActionMap().get("View Options"));
		s = MDView.getInternationalText("ViewOption");
		if (s != null)
			mi.setText(s);
		add(mi);

		s = MDView.getInternationalText("TaskManager");
		mi = new JMenuItem(s != null ? s : "Task Manager", IconPool.getIcon("taskmanager"));
		mi.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				view.showTaskManager();
			}
		});
		add(mi);

		pack();

	}