public Object execute() throws NotImplementedException { try { scopeViewModel.addItem(scopeObject, eventArgs.getLocation()); } catch (Exception e) { ExceptionLogger.Log(e); } return null; }
public Object execute() throws NotImplementedException { try { scopeViewModel.addVariable( ILanguageVariableFactory.getCopy(scopeObject), eventArgs.getLocation()); } catch (Exception e) { ExceptionLogger.Log(e); } return null; }