@Override
	public synchronized void posted() {
		// TODO Auto-generated method stub
		try {
			if (item.getStep().equals("Rename Method")) {
				item.setParameter("sourcefilename",
						"/home/xiang/MethodRefactoringExample/Main.java");
				System.out.println("Parameter Set");
				item.start();
			} else
				super.posted();
		} catch (AMSException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (UnknownParameter e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (IllegalTransition e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}