throws SemanticException
	protected static Command getNewCommand( String commandType,			Object transferSource, Object newContainer, int position )	{		boolean isCut = TYPE_CUT.equals( commandType );		if ( newContainer instanceof ParameterGroupHandle				&& ( transferSource instanceof ParameterGroupHandle || DEUtil.isParameterGroup( transferSource ) ) )		{			return pasteParameterGroup( commandType,					transferSource,					(ParameterGroupHandle) newContainer );		}		else if ( transferSource instanceof DesignElementHandle )		{			return new PasteCommand( (DesignElementHandle) transferSource,					newContainer,					position,					isCut );		}		else if ( transferSource instanceof IDesignElement )		{			return new PasteCommand( (IDesignElement) transferSource,					newContainer,					position );		}		return null;	}